Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

typing: Add more tests for TypeVar#104571

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JelleZijlstra merged 2 commits intopython:mainfromJelleZijlstra:typevartests
May 17, 2023

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstraJelleZijlstra commentedMay 17, 2023
edited
Loading

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 madeTypeVar.__name__ return garbage, and all of test_typing passed.So I decided to add a few more tests. In the process I discovereda minor incompatibility from the C implementation of TypeVar:empty constraints were returned as None instead of an empty tuple.
@JelleZijlstraJelleZijlstra merged commit2693194 intopython:mainMay 17, 2023
@JelleZijlstraJelleZijlstra deleted the typevartests branchMay 17, 2023 13:08
@JelleZijlstraJelleZijlstra added the needs backport to 3.11only security fixes labelMay 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 to3.11 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker 26931944dd8abd6554249239344fa62b789b9028 3.11

@bedevere-bot
Copy link

GH-104577 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelMay 17, 2023
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull requestMay 17, 2023
During the PEP 695 implementation at one point I madeTypeVar.__name__ return garbage, and all of test_typing passed.So I decided to add a few more tests. In the process I discovereda minor incompatibility from the C implementation of TypeVar:empty constraints were returned as None instead of an empty tuple..(cherry picked from commit2693194)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit that referenced this pull requestMay 17, 2023
During the PEP 695 implementation at one point I madeTypeVar.__name__ return garbage, and all of test_typing passed.So I decided to add a few more tests.(cherry picked from commit2693194)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
carljm added a commit to carljm/cpython that referenced this pull requestMay 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 buildbots390x Fedora 3.11 has failed when building commitf106aef.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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", line27, intest_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", line184, inprepare    _run_quiet([MAKE,'-C', builddir,'install'])  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line25, in_run_quietreturn subprocess.run(^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/subprocess.py", line571, inrunraise 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", line209, inmain    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", line209, inmain    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", line129, intest_allself.check_all(modname)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/test___all__.py", line43, incheck_allwith warnings_helper.check_warnings(  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/contextlib.py", line144, in__exit__next(self.gen)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/test/support/warnings_helper.py", line185, 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>", line1, in<module>  File"/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line715, inget_config_varreturn get_config_vars().get(name)^^^^^^^^^^^^^^^^^  File"/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line670, inget_config_vars    _init_posix(_CONFIG_VARS)  File"/tmp/tmpms_1kyjl/cpython/Lib/sysconfig.py", line531, 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", line209, inmain    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", line27, intest_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", line184, inprepare    _run_quiet([MAKE,'-C', builddir,'install'])  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line25, in_run_quietreturn subprocess.run(^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z/build/Lib/subprocess.py", line571, inrunraise 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>", line1, in<module>  File"/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line715, inget_config_varreturn get_config_vars().get(name)^^^^^^^^^^^^^^^^^  File"/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line670, inget_config_vars    _init_posix(_CONFIG_VARS)  File"/tmp/tmp9zdlurqb/cpython/Lib/sysconfig.py", line531, 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

AlexWaygood reacted with thumbs up emoji

@bedevere-bot
Copy link

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

Hi! The buildbots390x Fedora Clang 3.11 has failed when building commitf106aef.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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", line4108, intest_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", line166, inassert_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", line151, 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", line76, infailraiseAssertionError("Process return code is%d\n"AssertionError:Process return code is 1command 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", line1170, intest_no_import_lock_contentionwith os_helper.temp_cwd():  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/os_helper.py", line529, intemp_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", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/support/os_helper.py", line467, intemp_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", line314, in_bootstrapself.run()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line592, 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", line1280, in__init__    Server.__init__(self,*args,**kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line156, 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", line447, in__init__self._listener= SocketListener(address, family, backlog)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line590, in__init__self._socket.bind(address)OSError:[Errno 28] No space left on deviceProcess SharedMemoryManager-322:Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line314, in_bootstrapself.run()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line592, 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", line1280, in__init__    Server.__init__(self,*args,**kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line156, 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", line447, in__init__self._listener= SocketListener(address, family, backlog)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line590, in__init__self._socket.bind(address)OSError:[Errno 28] No space left on deviceTraceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/resource_tracker.py", line209, inmain    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", line314, in_bootstrapself.run()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line889, 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", line314, in_bootstrapself.run()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line896, 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", line27, intest_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", line184, inprepare    _run_quiet([MAKE,'-C', builddir,'install'])  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line25, in_run_quietreturn subprocess.run(^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/subprocess.py", line571, inrunraise 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", line209, inmain    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", line314, in_bootstrapself.run()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/process.py", line108, inrunself._target(*self._args,**self._kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line592, 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", line1280, in__init__    Server.__init__(self,*args,**kwargs)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line156, 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", line441, in__init__    address= addressor arbitrary_address(family)^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line76, inarbitrary_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", line146, inget_temp_dir    tempdir= tempfile.mkdtemp(prefix='pymp-')^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line357, inmkdtemp    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", line126, in_sanitize_paramsdir= gettempdir()^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line299, ingettempdirreturn _os.fsdecode(_gettempdir())^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line292, in_gettempdir    tempdir= _get_default_tempdir()^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/tempfile.py", line223, 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>", line6, in<module>  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line567, instartself._address= reader.recv()^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line249, inrecv    buf=self._recv_bytes()^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line413, in_recv_bytes    buf=self._recv(4)^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line382, in_recvraiseEOFErrorEOFError---Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/test_tools/test_freeze.py", line27, intest_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", line184, inprepare    _run_quiet([MAKE,'-C', builddir,'install'])  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line25, in_run_quietreturn subprocess.run(^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/subprocess.py", line571, inrunraise 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", line4120, intest_shared_memory_SharedMemoryManager_basics    smm1.start()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line567, instartself._address= reader.recv()^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line249, inrecv    buf=self._recv_bytes()^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line413, in_recv_bytes    buf=self._recv(4)^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line382, in_recvraiseEOFErrorEOFErrorTraceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/test/_test_multiprocessing.py", line918, intest_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", line4076, intest_shared_memory_SharedMemoryServer_ignores_sigint    smm.start()  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/managers.py", line567, instartself._address= reader.recv()^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line249, inrecv    buf=self._recv_bytes()^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line413, in_recv_bytes    buf=self._recv(4)^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.clang/build/Lib/multiprocessing/connection.py", line382, in_recvraiseEOFErrorEOFErrorTraceback (most recent call last):  File"<string>", line1, in<module>  File"/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line715, inget_config_varreturn get_config_vars().get(name)^^^^^^^^^^^^^^^^^  File"/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line670, inget_config_vars    _init_posix(_CONFIG_VARS)  File"/tmp/tmprpvc68pb/cpython/Lib/sysconfig.py", line531, 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", line209, inmain    cache[rtype].remove(name)KeyError:'/psm_be42f02a'Traceback (most recent call last):  File"<string>", line1, in<module>  File"/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line715, inget_config_varreturn get_config_vars().get(name)^^^^^^^^^^^^^^^^^  File"/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line670, inget_config_vars    _init_posix(_CONFIG_VARS)  File"/tmp/tmpc03jtvya/cpython/Lib/sysconfig.py", line531, 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", line880, intest_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 buildbots390x Fedora LTO 3.11 has failed when building commitf106aef.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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", line27, intest_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", line146, inprepare    copy_source_tree(srcdir,SRCDIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line95, incopy_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", line561, incopytreereturn _copytree(entries=entries,src=src,dst=dst,symlinks=symlinks,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line515, 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/fcntlmodTraceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3053, intest_extractall_none_modewithself.extract_with_none('mode')asDIR:  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line3079, intest_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", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line27, intest_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", line146, inprepare    copy_source_tree(srcdir,SRCDIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line95, incopy_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", line561, incopytreereturn _copytree(entries=entries,src=src,dst=dst,symlinks=symlinks,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/shutil.py", line515, 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-buildareTraceback (most recent call last):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3034, intest_extractall_none_mtimewithself.extract_with_none('mtime')asDIR:  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line209, inmain    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", line3067, intest_extractall_none_gidwithself.extract_with_none('gid'):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line3063, intest_extractall_none_uidwithself.extract_with_none('uid'):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line3075, intest_extractall_none_gnamewithself.extract_with_none('gname'):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line209, inmain    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", line3071, intest_extractall_none_unamewithself.extract_with_none('uname'):  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/contextlib.py", line137, in__enter__returnnext(self.gen)^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3027, inextract_with_noneself.check_files_present(DIR)  File"/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tarfile.py", line3016, incheck_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", line209, inmain    cache[rtype].remove(name)KeyError:'/psm_14e85bdf'

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull requestMay 18, 2023
During the PEP 695 implementation at one point I madeTypeVar.__name__ return garbage, and all of test_typing passed.So I decided to add a few more tests. In the process I discovereda 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 requestMay 21, 2023
I started out trying to backportpython/cpython#104571, butrealized that it makes sense to backport CPython's whole TypeVarTestsclass since we now have our own implementation of TypeVar.I dropped test_var_substitution and test_bad_var_substitutionsince they rely on the internal __typing_subst__ method, and thetype substitution logic is generally very hard to get preciselythe same across versions.
JelleZijlstra added a commit to python/typing_extensions that referenced this pull requestMay 21, 2023
I started out trying to backportpython/cpython#104571, butrealized that it makes sense to backport CPython's whole TypeVarTestsclass since we now have our own implementation of TypeVar.I dropped test_var_substitution and test_bad_var_substitutionsince they rely on the internal __typing_subst__ method, and thetype substitution logic is generally very hard to get preciselythe same across versions.
@JelleZijlstraJelleZijlstra restored the typevartests branchSeptember 10, 2024 23:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

@gvanrossumgvanrossumAwaiting requested review from gvanrossum

@Fidget-SpinnerFidget-SpinnerAwaiting requested review from Fidget-Spinner

@markshannonmarkshannonAwaiting requested review from markshannon

Assignees

@JelleZijlstraJelleZijlstra

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

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

[8]ページ先頭

©2009-2025 Movatter.jp