| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The pure-Python _parse_isoformat_date read each fixed-width field with int() on a slice, which silently accepts a leading sign or whitespace, or a short slice that runs off the end of the string. Malformed basic-format inputs such as '2020+12' or '2020061' were therefore parsed into a wrong-but-plausible date instead of raising, while the C accelerator rejects them via parse_digits(). Validate that each field slice is exactly N ASCII digits before converting.
There was a problem hiding this comment.
This change has significant impact on performance.
Would not it be simpler to use .isascii() at the beginning and .isdigit() for each fragment?
Sorry, something went wrong.
|
Done in 46f6881: one dtstr.isascii() up front (also covers the datetime path, which lacked it) + s.isdigit() per fragment — ~10x faster than the per-character check, and the same rejection. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. 👍
Sorry, something went wrong.
|
Done in a025467: moved the reader to a module-level _read_isoformat_component, added the same isascii()+isdigit() guard to the time path (fixes the T0102٣٤ case), and fixed the missing comma. Kept isdigit() per Serhiy. |
Sorry, something went wrong.
|
There are conflicts now. |
Sorry, something went wrong.
|
Done in aed8e2d: merged main (conflicts resolved) and removed the duplicate 7-char cases. |
Sorry, something went wrong.
There was a problem hiding this comment.
Replace this with more efficient .isacii() and .isdigits() checks.
Sorry, something went wrong.
…op the redundant length check, and add per-component tests
|
Done in 154340c: re-merged main (restores the dropped tests), the fraction now uses .isdigit(), dropped the redundant length check (_read_isoformat_component covers it), and added per-component non-ASCII/non-digit tests for the time fields. |
Sorry, something went wrong.
There was a problem hiding this comment.
One little nit, otherwise LGTM.
This will unfortunately introduce a bit of a perf hit, although it's fine as anyone looking for performance should be using the C accelerator anyway.
Sorry, something went wrong.
|
Thanks @tonghuaroot for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
|
Thanks @tonghuaroot for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
Thanks @tonghuaroot for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
|
Sorry, @tonghuaroot and @StanFromIreland, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker e81960fb82977df7ace77f3c03a3b2d9a0559075 3.13 |
Sorry, something went wrong.
|
Sorry, @tonghuaroot and @StanFromIreland, I could not cleanly backport this to 3.14 due to a conflict. cherry_picker e81960fb82977df7ace77f3c03a3b2d9a0559075 3.14 |
Sorry, something went wrong.
|
GH-156359 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
Merged, thanks! @tonghuaroot can you please do the backports? TiA! |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 CentOS9 LTO 3.x (tier-1) has failed when building commit e81960f. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/831/builds/9322 Summary of the results of the build (if available): == Click to see traceback logsNote: switching to 'e81960fb82977df7ace77f3c03a3b2d9a0559075'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at e81960fb8297 gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (#152205)
Switched to and reset branch 'main'
Python/ceval.c: In function ‘_Py_BuildMap_StackRefSteal’:
Python/ceval.c:943:11: warning: ‘args_o_temp’ may be used uninitialized [-Wmaybe-uninitialized]
943 | res = _PyDict_FromItems(
| ^~~~~~~~~~~~~~~~~~
944 | args_o, 2,
| ~~~~~~~~~~
945 | args_o+1, 2,
| ~~~~~~~~~~~~
946 | half_args
| ~~~~~~~~~
947 | );
| ~
In file included from Python/ceval.h:11,
from Python/ceval.c:3:
./Include/internal/pycore_dict.h:333:23: note: by argument 3 of type ‘struct PyObject * const *’ to ‘_PyDict_FromItems’ declared here
333 | PyAPI_FUNC(PyObject *)_PyDict_FromItems(
| ^~~~~~~~~~~~~~~~~
In file included from Python/ceval.c:702:
Python/ceval.c:938:52: note: ‘args_o_temp’ declared here
938 | STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
| ^~~~~~
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 85 LTRANS jobs
lto-wrapper: warning: using serial compilation of 90 LTRANS jobs
lto-wrapper: warning: using serial compilation of 90 LTRANS jobs
make: *** [Makefile:2476: buildbottest] Error 3 |
Sorry, something went wrong.
|
GH-156367 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-156368 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
Backports up: 3.14 GH-156367, 3.13 GH-156368. miss-islington couldn't cherry-pick cleanly because of unrelated context in datetimetester.py (3.13 has no '٢025-03-09' case yet, and comment alignment differs), so I applied it by hand. FWIW the AMD64 CentOS9 LTO buildbot failure looks unrelated to this change, which is pure-Python (_pydatetime.py + tests). |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Fedora Stable 3.14 (tier-3) has failed when building commit b885859. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1797/builds/1323 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3443, in test_file2file_not_supported
shutil.copyfile(TESTFN, TESTFN2)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 344, in copyfile
copyfileobj(fsrc, fdst)
~~~~~~~~~~~^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 257, in copyfileobj
fdst_write(buf)
~~~~~~~~~~^^^^^
OSError: [Errno 28] No space left on device
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 142, in test_build
self.check_build('_testcppext_internal', **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 36, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited,
^^^^^^^^^^^^^^^^^^^^^^^^^
extra_cflags=extra_cflags)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 78, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 59, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/pkg', '-v']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 142, in test_build
self.check_build('_testcppext_internal', **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2580, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/python', '-X', 'dev', '-m', 'venv', 'env']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 99, in write_test_file
f.write(chunk)
~~~~~~~^^^^^^^
OSError: [Errno 28] No space left on device
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3382, in test_small_chunks
self.zerocopy_fun(src, dst)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3425, in zerocopy_fun
return shutil._fastcopy_sendfile(fsrc, fdst)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
raise err from None
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 203, in _fastcopy_sendfile
sent = os.sendfile(outfd, infd, offset, blocksize)
OSError: [Errno 28] No space left on device: '@test_787579_tmpæ' -> '@test_787579_tmpæ2'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2059, in test_truncate_after_write
with self.open(os_helper.TESTFN, "wb") as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_787585_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 107, in test_build_limited
self.check_build('_testcppext_limited', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_read.py", line 24, in setUp
self.root = self.ground.setup()
~~~~~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/support/local_path.py", line 35, in setup
os.mkdir(root)
~~~~~~~~^^^^^^
FileExistsError: [Errno 17] File exists: '@test_774779_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2093, in test_threads
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 233, in open
raw = FileIO(file,
(creating and "x" or "") +
...<3 lines>...
(updating and "+" or ""),
closefd, opener=opener)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 1578, in __init__
fd = os.open(file, flags, 0o666)
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 103, in test_build_limited_cpp03
self.check_build('_test_limited_cpp03ext', std='c++03', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787583æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3332, in test_non_regular_file_src
shutil.copyfileobj(src, dst)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 257, in copyfileobj
fdst_write(buf)
~~~~~~~~~~^^^^^
OSError: [Errno 28] No space left on device
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_pathlib.py", line 1144, in setUp
os.mkdir(self.base)
~~~~~~~~^^^^^^^^^^^
FileExistsError: [Errno 17] File exists: '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_774779æ/@test_774779_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 1682, in test_threads
with self.open(os_helper.TESTFN, "wb") as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 233, in open
raw = FileIO(file,
(creating and "x" or "") +
...<3 lines>...
(updating and "+" or ""),
closefd, opener=opener)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 1578, in __init__
fd = os.open(file, flags, 0o666)
OSError: [Errno 28] No space left on device: '@test_787585_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 117, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787583æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_write.py", line 24, in setUp
self.root = self.ground.setup()
~~~~~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/support/local_path.py", line 35, in setup
os.mkdir(root)
~~~~~~~~^^^^^^
FileExistsError: [Errno 17] File exists: '@test_774779_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2059, in test_truncate_after_write
with self.open(os_helper.TESTFN, "wb") as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_pathlib.py", line 1144, in setUp
os.mkdir(self.base)
~~~~~~~~^^^^^^^^^^^
FileExistsError: [Errno 17] File exists: '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787580æ/@test_787580_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 113, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 36, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited,
^^^^^^^^^^^^^^^^^^^^^^^^^
extra_cflags=extra_cflags)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 78, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 59, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/pkg', '-v']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3233, in setUpClass
write_test_file(TESTFN, cls.FILESIZE)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 97, in write_test_file
with open(path, 'wb') as f:
~~~~^^^^^^^^^^^^
OSError: [Errno 28] No space left on device
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2046, in test_truncate
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_787585_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3395, in test_big_chunk
self.zerocopy_fun(src, dst)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3425, in zerocopy_fun
return shutil._fastcopy_sendfile(fsrc, fdst)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
raise err from None
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 203, in _fastcopy_sendfile
sent = os.sendfile(outfd, infd, offset, blocksize)
OSError: [Errno 28] No space left on device: '@test_787579_tmpæ' -> '@test_787579_tmpæ2'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_write.py", line 24, in setUp
self.root = self.ground.setup()
~~~~~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/support/local_path.py", line 35, in setup
os.mkdir(root)
~~~~~~~~^^^^^^
FileExistsError: [Errno 17] File exists: '@test_787580_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2093, in test_threads
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3264, in test_regular_copy
self.zerocopy_fun(src, dst)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3425, in zerocopy_fun
return shutil._fastcopy_sendfile(fsrc, fdst)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
raise err from None
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 203, in _fastcopy_sendfile
sent = os.sendfile(outfd, infd, offset, blocksize)
OSError: [Errno 28] No space left on device: '@test_787579_tmpæ' -> '@test_787579_tmpæ2'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 107, in test_build_limited
self.check_build('_testcppext_limited', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787583æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2046, in test_truncate
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cext/__init__.py", line 119, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cext/__init__.py", line 42, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_760860æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2093, in test_threads
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_787585_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 103, in test_build_limited_cpp03
self.check_build('_test_limited_cpp03ext', std='c++03', limited=True)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2510, in test_threads
BufferedReaderTest.test_threads(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 1682, in test_threads
with self.open(os_helper.TESTFN, "wb") as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 113, in test_build_cpp03
self.check_build('_testcpp03ext', std='c++03')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787583æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2671, in test_garbage_collection
CBufferedReaderTest.test_garbage_collection(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 1828, in test_garbage_collection
rawio = self.FileIO(os_helper.TESTFN, "w+b")
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2046, in test_truncate
with self.open(os_helper.TESTFN, self.write_mode, buffering=0) as raw:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 233, in open
raw = FileIO(file,
(creating and "x" or "") +
...<3 lines>...
(updating and "+" or ""),
closefd, opener=opener)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 1578, in __init__
fd = os.open(file, flags, 0o666)
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3332, in test_non_regular_file_src
shutil.copyfileobj(src, dst)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 257, in copyfileobj
fdst_write(buf)
~~~~~~~~~~^^^^^
OSError: [Errno 28] No space left on device
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_read.py", line 24, in setUp
self.root = self.ground.setup()
~~~~~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/support/local_path.py", line 35, in setup
os.mkdir(root)
~~~~~~~~^^^^^^
FileExistsError: [Errno 17] File exists: '@test_787580_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 99, in test_build
self.check_build('_testcppext')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 35, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2595, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787583æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/wheeldata/setuptools-79.0.1-py3-none-any.whl')' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_pathlib.py", line 1165, in setUp
os.symlink('dirB',
~~~~~~~~~~^^^^^^^^
os.path.join(self.base, 'linkB'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
target_is_directory=True)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: 'dirB' -> '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_787580æ/@test_787580_tmpæ/linkB'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2177, in test_garbage_collection
rawio = self.FileIO(os_helper.TESTFN, "w+b")
OSError: [Errno 28] No space left on device: '@test_787585_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_io.py", line 2059, in test_truncate_after_write
with self.open(os_helper.TESTFN, "wb") as f:
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 233, in open
raw = FileIO(file,
(creating and "x" or "") +
...<3 lines>...
(updating and "+" or ""),
closefd, opener=opener)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/_pyio.py", line 1578, in __init__
fd = os.open(file, flags, 0o666)
OSError: [Errno 28] No space left on device: '@test_775069_tmpæ'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 117, in test_build_cpp11
self.check_build('_testcpp11ext', std='c++11')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 36, in check_build
self._check_build(extension_name, python_exe,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
std=std, limited=limited,
^^^^^^^^^^^^^^^^^^^^^^^^^
extra_cflags=extra_cflags)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 78, in _check_build
run_cmd('Install', cmd)
~~~~~~~^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cppext/__init__.py", line 59, in run_cmd
subprocess.run(cmd, check=True, env=env)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '--no-build-isolation', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_770286æ/tempcwd/pkg', '-v']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_pathlib/test_pathlib.py", line 1156, in setUp
with open(os.path.join(self.base, 'dirC', 'novel.txt'), 'wb') as f:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/build/test_python_774779æ/@test_774779_tmpæ/dirC/novel.txt'
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cext/__init__.py", line 119, in test_build_c99
self.check_build('_test_c99_cext', std='c99')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_cext/__init__.py", line 42, in check_build
with support.setup_venv_with_pip_setuptools(venv_dir) as python_exe:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2580, in setup_venv_with_pip_setuptools
run_command(cmd)
~~~~~~~~~~~^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/support/__init__.py", line 2570, in run_command
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/python', '-X', 'dev', '-m', 'venv', 'env']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/unittest/mock.py", line 1439, in patched
return func(*newargs, **newkeywargs)
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3369, in test_cant_get_size
self.zerocopy_fun(src, dst)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/test/test_shutil.py", line 3425, in zerocopy_fun
return shutil._fastcopy_sendfile(fsrc, fdst)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
raise err from None
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.14.cstratak-fedora-stable-s390x/build/Lib/shutil.py", line 203, in _fastcopy_sendfile
sent = os.sendfile(outfd, infd, offset, blocksize)
OSError: [Errno 28] No space left on device: '@test_787579_tmpæ' -> '@test_787579_tmpæ2'
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Fedora Stable Clang Installed 3.14 (tier-3) has failed when building commit b885859. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1693/builds/1304 Summary of the results of the build (if available): Click to see traceback logsNote: switching to 'b885859d097390d26764e956e4491539084d0d56'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b885859d09739 [3.14] gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (GH-152205) (#156367)
Switched to and reset branch '3.14'
configure: WARNING: s390x-ibm-linux-gnu/clang is not supported
configure: WARNING:
Platform "s390x-ibm-linux-gnu" with compiler "clang" is not supported by the
CPython core team, see https://peps.python.org/pep-0011/ for more information.
Objects/unicodeobject.c:5081:1: warning: unused function 'ctz' [-Wunused-function]
5081 | ctz(size_t v)
| ^~~
1 warning generated.
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:285:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
285 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:292:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
292 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:438:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
438 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:445:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
445 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:551:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
551 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:560:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
560 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:582:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
582 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:593:9: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
593 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:690:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
690 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:735:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
735 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:761:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
761 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:772:9: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
772 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:785:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
785 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:930:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
930 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:943:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
943 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:960:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
960 | CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:118:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
118 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:967:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
967 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:1202:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
1202 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
In file included from ./Modules/expat/xmltok.c:312:
./Modules/expat/xmltok_impl.c:1222:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
1222 | CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
| ^
./Modules/expat/xmltok_impl.c:89:5: note: expanded from macro 'CHECK_NAME_CASES'
89 | EXPAT_FALLTHROUGH; \
| ^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
47 | # define EXPAT_FALLTHROUGH __attribute__((fallthrough))
| ^
19 warnings generated.
/usr/bin/ld.bfd: final link failed: No space left on device
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:1846: _bootstrap_python] Error 1
chmod: cannot access 'target/': No such file or directory |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Fedora Stable LTO 3.13 (tier-3) has failed when building commit b97bfb0. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1637/builds/1078 Summary of the results of the build (if available): Click to see traceback logsNote: switching to 'b97bfb0cf8243845ce2b02f2f26629a1abf39a61'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b97bfb0cf8243 [3.13] gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (GH-152205) (#156368)
Switched to and reset branch '3.13'
In function ‘hashtable_key_from_2_strings’,
inlined from ‘_extensions_cache_find_unlocked’ at Python/import.c:1284:17:
Python/import.c:1197:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
1197 | strncpy(key, str1_data, str1_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/import.c:1183:27: note: length computed here
1183 | Py_ssize_t str1_len = strlen(str1_data);
| ^~~~~~~~~~~~~~~~~
In file included from ./Include/Python.h:14,
from ./Modules/_testexternalinspection.c:53:
./pyconfig.h:1985:9: warning: ‘_POSIX_C_SOURCE’ redefined
1985 | #define _POSIX_C_SOURCE 200809L
| ^~~~~~~~~~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdint.h:26,
from /usr/lib/gcc/s390x-redhat-linux/16/include/stdint.h:11,
from /usr/include/elf.h:24,
from ./Modules/_testexternalinspection.c:4:
/usr/include/features.h:319:10: note: this is the location of the previous definition
319 | # define _POSIX_C_SOURCE 202405L
| ^~~~~~~~~~~~~~~
./pyconfig.h:2006:9: warning: ‘_XOPEN_SOURCE’ redefined
2006 | #define _XOPEN_SOURCE 700
| ^~~~~~~~~~~~~
/usr/include/features.h:234:10: note: this is the location of the previous definition
234 | # define _XOPEN_SOURCE 800
| ^~~~~~~~~~~~~
ar: unable to copy file 'libpython3.13.a'; reason: No space left on device
make: *** [Makefile:1065: libpython3.13.a] Error 1 |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora Stable LTO + PGO 3.14 (tier-2) has failed when building commit b885859. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1805/builds/915 Summary of the results of the build (if available): Click to see traceback logsNote: switching to 'b885859d097390d26764e956e4491539084d0d56'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b885859d09739 [3.14] gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (GH-152205) (#156367)
Switched to and reset branch '3.14'
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [Makefile:3398: clean-retain-profile] Error 1 (ignored)
./Modules/socketmodule.c: In function ‘getsockaddrarg’:
./Modules/socketmodule.c:2646:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
2646 | strncpy((char *)sa->salg_name, name, sizeof(sa->salg_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/Python-ast.c: In function ‘add_ast_annotations’:
Python/Python-ast.c:817:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
817 | add_ast_annotations(struct ast_state *state)
| ^~~~~~~~~~~~~~~~~~~
./Modules/_testlimitedcapi/unicode.c: In function ‘test_string_from_format’:
./Modules/_testlimitedcapi/unicode.c:1416:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
1416 | test_string_from_format(PyObject *self, PyObject *Py_UNUSED(ignored))
| ^~~~~~~~~~~~~~~~~~~~~~~
Python/Python-ast.c: In function ‘add_ast_annotations’:
Python/Python-ast.c:817:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
817 | add_ast_annotations(struct ast_state *state)
| ^
ar: unable to copy file 'libpython3.14.a'; reason: No space left on device
make[2]: *** [Makefile:1180: libpython3.14.a] Error 1
make[2]: *** Waiting for unfinished jobs....
./Modules/_testlimitedcapi/unicode.c: In function ‘test_string_from_format’:
./Modules/_testlimitedcapi/unicode.c:1416:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
1416 | test_string_from_format(PyObject *self, PyObject *Py_UNUSED(ignored))
| ^
make[1]: *** [Makefile:1012: profile-gen-stamp] Error 2
make: *** [Makefile:1024: profile-run-stamp] Error 2 |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora Stable LTO 3.14 (tier-2) has failed when building commit b885859. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1724/builds/913 Summary of the results of the build (if available): Click to see traceback logsNote: switching to 'b885859d097390d26764e956e4491539084d0d56'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b885859d0973 [3.14] gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (GH-152205) (#156367)
Switched to and reset branch '3.14'
ar: unable to copy file 'libpython3.14.a'; reason: No space left on device
make: *** [Makefile:1180: libpython3.14.a] Error 1 |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora Stable Clang 3.13 (tier-3) has failed when building commit b97bfb0. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1395/builds/1328 Summary of the results of the build (if available): Click to see traceback logsNote: switching to 'b97bfb0cf8243845ce2b02f2f26629a1abf39a61'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at b97bfb0cf82 [3.13] gh-152204: Validate date and time fields in `_pydatetime.date{time}.fromisoformat` (GH-152205) (#156368)
Switched to and reset branch '3.13'
In file included from ./Modules/_testexternalinspection.c:53:
In file included from ./Include/Python.h:14:
./pyconfig.h:1985:9: warning: '_POSIX_C_SOURCE' macro redefined [-Wmacro-redefined]
1985 | #define _POSIX_C_SOURCE 200809L
| ^
/usr/include/features.h:319:10: note: previous definition is here
319 | # define _POSIX_C_SOURCE 202405L
| ^
In file included from ./Modules/_testexternalinspection.c:53:
In file included from ./Include/Python.h:14:
./pyconfig.h:2006:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
2006 | #define _XOPEN_SOURCE 700
| ^
/usr/include/features.h:234:10: note: previous definition is here
234 | # define _XOPEN_SOURCE 800
| ^
2 warnings generated.
ERROR: collect_support_os_helper() failed
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/pythoninfo.py", line 1348, in collect_info
collect_func(info_add)
~~~~~~~~~~~~^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/pythoninfo.py", line 846, in collect_support_os_helper
info_add(f'support_os_helper.{name}', func())
~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/support/os_helper.py", line 234, in can_xattr
with open(TESTFN, "wb") as fp:
~~~~^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_319257_tmpæ'
Collection failed: exit with error
make: *** [Makefile:2264: pythoninfo] Error 1
ln: failed to create symbolic link 'build/lib.linux-ppc64le-3.13-pydebug/array.cpython-313d-powerpc64le-linux-gnu.so': No space left on device
make: *** [Makefile:1520: sharedmods] Error 1
Cannot open file '/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.clang/build/test-results.xml' for upload |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
_pydatetime._parse_isoformat_date reads each fixed-width field with int() on a slice, without checking that the slice is exactly N ASCII digits. int() accepts a leading +/-/whitespace and a short string, so several malformed ISO 8601 basic-format dates are silently parsed into a wrong-but-plausible date instead of raising ValueError:
The C accelerator rejects all of these via parse_digits() (which requires the exact field width and digit-only content), so this is a C-vs-pure-Python divergence. The pure-Python path is used when the _datetime C extension is unavailable, and directly via _pydatetime.
This validates each field slice (year / month / day / weekno / weekday) to be exactly N ASCII digits before converting, mirroring the C parse_digits(), and extends datetimetester's test_fromisoformat_fails with the affected inputs (the new cases now reject on both implementations).
Fixes #152204.
Prepared with AI assistance (Claude Code) and verified by hand against a debug build, against both the C and pure-Python implementations.