Skip to content

gh-156060: Do not scan every process four times in remote_debugging.get_child_pids() on macOS - #156061

Merged
pablogsal merged 1 commit into
python:mainfrom
maurycy:listpids
Aug 19, 2026
Merged

gh-156060: Do not scan every process four times in remote_debugging.get_child_pids() on macOS#156061
pablogsal merged 1 commit into
python:mainfrom
maurycy:listpids

Conversation

@maurycy

@maurycy maurycy commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Closes #156060

Please see #156060 for more details.

Basically, proc_listpids() returns the number of bytes, not the number of PIDs.

This reduces the number of reads:

2026-08-19T19:00:30.252314000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (listpids fb54f37?) % cat repro.py
import _remote_debugging, os
_remote_debugging.get_child_pids(os.getpid(), recursive=True)
2026-08-19T19:00:30.557830000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (listpids fb54f37?) % ps axlww | wc -l
     996
2026-08-19T19:00:31.930414000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (listpids fb54f37?) % sudo dtrace -q -n 'pid$target::proc_pidinfo:entry { @ = count(); }' -c "./python.exe repro.py"

              998

I don't think it's newsworthy, and I'm not sure how to provide a test for this.

Perhaps a better approach would be just sysctl(KERN_PROC, KERN_PROC_ALL). I believe it's also available since forever.

@maurycy

maurycy commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

cc @jmroot @sergey-miryanov

@sergey-miryanov sergey-miryanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@pablogsal pablogsal added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 19, 2026
@pablogsal

Copy link
Copy Markdown
Member

Great catch!

@pablogsal
pablogsal enabled auto-merge (squash) August 19, 2026 20:15
@pablogsal
pablogsal merged commit a2c9a3b into python:main Aug 19, 2026
106 of 108 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @maurycy for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-app

bedevere-app Bot commented Aug 19, 2026

Copy link
Copy Markdown

GH-156069 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 19, 2026
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable 3.x (tier-1) has failed when building commit a2c9a3b.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/543/builds/10315) and take a look at the build logs.
  4. Check if the failure is related to this commit (a2c9a3b) 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/#/builders/543/builds/10315

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

Click to see traceback logs
Note: switching to 'a2c9a3b0aad0aca332197ac5eed41eb41442fb0c'.

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 a2c9a3b0aad0a gh-156060: Do not scan every process four times in `remote_debugging.get_child_pids()` on macOS (#156061)
Switched to and reset branch 'main'

configure: WARNING: unrecognized options: --with-system-libmpdec
configure: WARNING: unrecognized options: --with-system-libmpdec

/usr/bin/ld.bfd: final link failed: No space left on device
collect2: error: ld returned 1 exit status
make: *** [Makefile:1892: Programs/_freeze_module] Error 1

@maurycy
maurycy deleted the listpids branch August 19, 2026 20:30
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Fedora Stable Clang 3.x (tier-2) has failed when building commit a2c9a3b.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/441/builds/10281) and take a look at the build logs.
  4. Check if the failure is related to this commit (a2c9a3b) 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/#/builders/441/builds/10281

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

Click to see traceback logs
Note: switching to 'a2c9a3b0aad0aca332197ac5eed41eb41442fb0c'.

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 a2c9a3b0aad0a gh-156060: Do not scan every process four times in `remote_debugging.get_child_pids()` on macOS (#156061)
Switched to and reset branch 'main'

/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:1892: Programs/_freeze_module] Error 1
make: *** Waiting for unfinished jobs....

pablogsal pushed a commit that referenced this pull request Aug 19, 2026
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot s390x Fedora Stable Clang 3.15 (tier-3) has failed when building commit 47724d8.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/2119/builds/324) and take a look at the build logs.
  4. Check if the failure is related to this commit (47724d8) 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/#/builders/2119/builds/324

Failed tests:

  • test_peg_generator
  • test_cppext
  • test_zipfile
  • test_shutil
  • test.test_io.test_bufferedio
  • test_zipimport

Failed subtests:

  • setUpClass - test.test_shutil.TestZeroCopySendfile
  • test_non_regular_file_src - test.test_shutil.TestZeroCopySendfile.test_non_regular_file_src
  • test_big_chunk - test.test_shutil.TestZeroCopySendfile.test_big_chunk
  • testZip64 - test.test_zipimport.ZStdCompressedZipImportTestCase.testZip64
  • setUpClass - test.test_shutil.TestZeroCopyCopyFileRange
  • test_build_limited_cpp03 - test.test_cppext.TestPublicCAPI.test_build_limited_cpp03
  • setUpClass - test.test_peg_generator.test_c_parser.TestCParser
  • test_read1_error_does_not_cause_reentrant_failure - test.test_io.test_bufferedio.CBufferedReaderTest.test_read1_error_does_not_cause_reentrant_failure
  • test_garbage_collection - test.test_io.test_bufferedio.CBufferedReaderTest.test_garbage_collection
  • test_threads - test.test_io.test_bufferedio.CBufferedRandomTest.test_threads
  • test_non_regular_file_src - test.test_shutil.TestZeroCopyCopyFileRange.test_non_regular_file_src
  • test_truncate - test.test_io.test_bufferedio.CBufferedRandomTest.test_truncate
  • testZip64 - test.test_zipimport.DeflateCompressedZipImportTestCase.testZip64
  • test_small_chunks - test.test_shutil.TestZeroCopySendfile.test_small_chunks
  • testZip64 - test.test_zipimport.UncompressedZipImportTestCase.testZip64
  • test_append_to_concatenated_zip_file - test.test_zipfile.test_core.StoredTestsWithSourceFile.test_append_to_concatenated_zip_file
  • test_build_limited - test.test_cppext.TestPublicCAPI.test_build_limited
  • test_threads - test.test_io.test_bufferedio.CBufferedReaderTest.test_threads
  • test_build - test.test_cppext.TestPublicCAPI.test_build
  • test_file2file_not_supported - test.test_shutil.TestZeroCopySendfile.test_file2file_not_supported
  • test_truncate_after_write - test.test_io.test_bufferedio.CBufferedRandomTest.test_truncate_after_write
  • test_garbage_collection - test.test_io.test_bufferedio.CBufferedWriterTest.test_garbage_collection
  • test_cant_get_size - test.test_shutil.TestZeroCopySendfile.test_cant_get_size
  • test_regular_copy - test.test_shutil.TestZeroCopySendfile.test_regular_copy
  • test_build - test.test_cppext.TestInteralCAPI.test_build

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

==

Click to see traceback logs
Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 834, 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_2575444_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 146, in test_build
    self.check_build('_testcppext_internal', **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2639, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3408, in test_small_chunks
    self.zerocopy_fun(src, dst)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3451, in zerocopy_fun
    return shutil._fastcopy_sendfile(fsrc, fdst)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
    raise err from None
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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_2561538_tmpæ' -> '@test_2561538_tmpæ2'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipimport.py", line 121, in makeZip
    self.writeZip(z, files, file_comment=file_comment, prefix=prefix)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipimport.py", line 149, in writeZip
    z.writestr(zinfo, data)
    ~~~~~~~~~~^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2038, in writestr
    with self.open(zinfo, mode='w') as dest:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 1380, in close
    self._fileobj.seek(self._zinfo.header_offset)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 597, in test_garbage_collection
    rawio = self.FileIO(os_helper.TESTFN, "w+b")
OSError: [Errno 28] No space left on device: '@test_2575444_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 847, in test_truncate_after_write
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2575444_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipimport.py", line 896, in testZip64
    self.doTest(".py", files, "f6")
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipimport.py", line 158, in doTest
    self.makeZip(files, **kw)
    ~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipimport.py", line 120, in makeZip
    with ZipFile(zipName, "w", compression=self.compression) as z:
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 1523, in __exit__
    self.close()
    ~~~~~~~~~~^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2100, in close
    self._fpclose(fp)
    ~~~~~~~~~~~~~^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2202, in _fpclose
    fp.close()
    ~~~~~~~~^^
OSError: [Errno 28] No space left on device


Traceback (test.test_zipimport.DeflateCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 847, in test_truncate_after_write
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 103, in test_build
    self.check_build('_testcppext')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2639, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 107, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2639, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3259, in setUpClass
    write_test_file(TESTFN, cls.FILESIZE)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 99, in write_test_file
    f.write(chunk)
    ~~~~~~~^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (test.test_zipimport.ZStdCompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 103, in test_build
    self.check_build('_testcppext')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2654, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/build/test_python_2544088æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 102, in setUpClass
    python_exe = stack.enter_context(support.setup_venv_with_pip_setuptools("venv"))
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 594, in enter_context
    result = _enter()
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2654, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/build/test_python_2544876æ/tempcwd/venv/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2096, in close
    self._write_end_record()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2196, in _write_end_record
    self.fp.flush()
    ~~~~~~~~~~~~~^^
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3395, in test_cant_get_size
    self.zerocopy_fun(src, dst)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3451, in zerocopy_fun
    return shutil._fastcopy_sendfile(fsrc, fdst)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
    raise err from None
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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_2561538_tmpæ' -> '@test_2561538_tmpæ2'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 111, in test_build_limited
    self.check_build('_testcppext_limited', limited=True)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2639, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3469, in test_file2file_not_supported
    shutil.copyfile(TESTFN, TESTFN2)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/shutil.py", line 344, in copyfile
    copyfileobj(fsrc, fdst)
    ~~~~~~~~~~~^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 107, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2654, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/build/test_python_2544088æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3358, in test_non_regular_file_src
    shutil.copyfileobj(src, dst)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3259, in setUpClass
    write_test_file(TESTFN, cls.FILESIZE)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3358, in test_non_regular_file_src
    shutil.copyfileobj(src, dst)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 1327, in test_threads
    BufferedReaderTest.test_threads(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 447, in test_threads
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 1327, in test_threads
    BufferedReaderTest.test_threads(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 447, in test_threads
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2575444_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3421, in test_big_chunk
    self.zerocopy_fun(src, dst)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3451, in zerocopy_fun
    return shutil._fastcopy_sendfile(fsrc, fdst)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
    raise err from None
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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_2561538_tmpæ' -> '@test_2561538_tmpæ2'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2096, in close
    self._write_end_record()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2153, in _write_end_record
    self.fp.write(centdir)
    ~~~~~~~~~~~~~^^^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_peg_generator/test_c_parser.py", line 102, in setUpClass
    python_exe = stack.enter_context(support.setup_venv_with_pip_setuptools("venv"))
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 594, in enter_context
    result = _enter()
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2639, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/python', '-X', 'dev', '-m', 'venv', 'venv']' returned non-zero exit status 1.


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_zipfile/test_core.py", line 570, in test_append_to_concatenated_zip_file
    f.write(data)
    ~~~~~~~^^^^^^
OSError: [Errno 28] No space left on device


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 447, in test_threads
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 597, in test_garbage_collection
    rawio = self.FileIO(os_helper.TESTFN, "w+b")
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 631, in test_read1_error_does_not_cause_reentrant_failure
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 111, in test_build_limited
    self.check_build('_testcppext_limited', limited=True)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_cppext/__init__.py", line 36, 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.15.cstratak-fedora-stable-s390x.clang/build/Lib/contextlib.py", line 203, in __enter__
    return next(self.gen)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2654, in setup_venv_with_pip_setuptools
    run_command(cmd)
    ~~~~~~~~~~~^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/support/__init__.py", line 2629, in run_command
    subprocess.run(cmd, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/subprocess.py", line 692, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/build/test_python_2544088æ/tempcwd/env/bin/python', '-X', 'dev', '-m', 'pip', 'install', '/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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.15.cstratak-fedora-stable-s390x.clang/build/Lib/unittest/mock.py", line 1439, in patched
    return func(*newargs, **newkeywargs)
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3290, in test_regular_copy
    self.zerocopy_fun(src, dst)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_shutil.py", line 3451, in zerocopy_fun
    return shutil._fastcopy_sendfile(fsrc, fdst)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/shutil.py", line 217, in _fastcopy_sendfile
    raise err from None
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/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_2561538_tmpæ' -> '@test_2561538_tmpæ2'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 968, in test_garbage_collection
    rawio = self.FileIO(os_helper.TESTFN, "w+b")
OSError: [Errno 28] No space left on device: '@test_2545292_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 631, in test_read1_error_does_not_cause_reentrant_failure
    with self.open(os_helper.TESTFN, "wb") as f:
         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_2575444_tmpæ'


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/zipfile/__init__.py", line 2095, in close
    self.fp.seek(self.start_dir)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device


Traceback (test.test_zipimport.UncompressedZipImportTestCase.testTraceback) ... ok


Traceback (most recent call last):
  File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.15.cstratak-fedora-stable-s390x.clang/build/Lib/test/test_io/test_bufferedio.py", line 834, 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_2545292_tmpæ'

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot s390x Fedora Stable Clang Installed 3.15 (tier-3) has failed when building commit 47724d8.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/2046/builds/314) and take a look at the build logs.
  4. Check if the failure is related to this commit (47724d8) 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/#/builders/2046/builds/314

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

Click to see traceback logs
Note: switching to '47724d8edfd1e9aaa1872a563729665f50d02ac3'.

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 47724d8edfd1e [3.15] gh-156060: Do not scan every process four times in `remote_debugging.get_child_pids()` on macOS (GH-156061) (#156069)
Switched to and reset branch '3.15'

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:4902:1: warning: unused function 'ctz' [-Wunused-function]
 4902 | 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.
ar: unable to copy file 'libpython3.15.a'; reason: No space left on device
make: *** [Makefile:1199: libpython3.15.a] Error 1

chmod: cannot access 'target/': No such file or directory

@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot s390x Fedora Stable LTO + PGO 3.15 (tier-3) has failed when building commit 47724d8.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/2117/builds/306) and take a look at the build logs.
  4. Check if the failure is related to this commit (47724d8) 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/#/builders/2117/builds/306

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

Click to see traceback logs
Note: switching to '47724d8edfd1e9aaa1872a563729665f50d02ac3'.

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 47724d8edfd1e [3.15] gh-156060: Do not scan every process four times in `remote_debugging.get_child_pids()` on macOS (GH-156061) (#156069)
Switched to and reset branch '3.15'

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:3524: clean-retain-profile] Error 1 (ignored)
/tmp/cc2QbClf.s: Assembler messages:
/tmp/cc2QbClf.s: Fatal error: Objects/typeobject.o: No space left on device
/tmp/cct9XM4z.s: /tmp/ccpzHsrD.s: Assembler messages:
/tmp/ccpzHsrD.s: Fatal error: can't write 3951 bytes to section .gnu.debuglto_.debug_info of Parser/parser.o: 'No space left on device'
Assembler messages:
/tmp/cct9XM4z.s: Fatal error: can't write 204 bytes to section .text of Python/gc.o: 'No space left on device'
/tmp/cct9XM4z.s: Fatal error: Python/gc.o: No such file or directory
make[2]: *** [Makefile:3430: Python/gc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/ccpzHsrD.s: Fatal error: Parser/parser.o: No such file or directory
make[2]: *** [Makefile:3430: Objects/typeobject.o] Error 1
make[2]: *** [Makefile:3430: Parser/parser.o] Error 1
/tmp/ccctoW5B.s: Assembler messages:
/tmp/ccctoW5B.s: Fatal error: Python/codegen.o: No space left on device
make[2]: *** [Makefile:3430: Python/codegen.o] Error 1
Assembler messages:
Fatal error: can't create Objects/unicodeobject.o: No space left on device
make[2]: *** [Makefile:3430: Objects/unicodeobject.o] Error 1
Assembler messages:
Fatal error: can't create Python/ceval.o: No space left on device
make[2]: *** [Makefile:3440: Python/ceval.o] Error 1
Assembler messages:
Fatal error: can't create Python/Python-ast.o: No space left on device
make[2]: *** [Makefile:3430: Python/Python-ast.o] Error 1
make[1]: *** [Makefile:1031: profile-gen-stamp] Error 2
make: *** [Makefile:1043: profile-run-stamp] Error 2

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: [Makefile:3524: clean-retain-profile] Error 1 (ignored)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_remote_debugging: get_child_pids() iterates all processes four times

4 participants