Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify and improve accuracy for subnormals in hypot() #102785

Merged
merged 3 commits into from
Mar 17, 2023

Conversation

rhettinger
Copy link
Contributor

  • Eliminate duplicate logic be using a recursive call.
  • Use lossless scaling rather than triggering a rounding for every input.

@rhettinger rhettinger merged commit 72186aa into python:main Mar 17, 2023
@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora 3.x has failed when building commit 72186aa.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/223/builds/3469) and take a look at the build logs.
  4. Check if the failure is related to this commit (72186aa) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/223/builds/3469

Failed tests:

  • test_tools

Failed subtests:

  • test_coverageresults_update - test.test_trace.TestCoverage.test_coverageresults_update
  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script

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

== Tests result: FAILURE then FAILURE ==

414 tests OK.

10 slowest tests:

  • test_compile: 3 min 2 sec
  • test_multiprocessing_spawn: 2 min 51 sec
  • test_concurrent_futures: 2 min 37 sec
  • test_math: 2 min 14 sec
  • test_multiprocessing_forkserver: 1 min 32 sec
  • test_asyncio: 1 min 25 sec
  • test_multiprocessing_fork: 1 min 12 sec
  • test_tokenize: 1 min 3 sec
  • test_capi: 1 min 2 sec
  • test_gdb: 1 min 1 sec

1 test failed:
test_tools

18 tests skipped:
test_devpoll test_ioctl test_kqueue test_launcher test_msilib
test_nis test_peg_generator test_perf_profiler test_readline
test_startfile test_tix test_tkinter test_ttk test_winconsoleio
test_winreg test_winsound test_wmi test_zipfile64

2 re-run tests:
test_tools test_trace

Total duration: 6 min 43 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/test_trace.py", line 419, in test_coverageresults_update
    with open(infile, 'wb') as f:
         ^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: '@test_467932_tmpæ-infile'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/shutil.py", line 559, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/shutil.py", line 513, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/_bootstrap_python', '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/_bootstrap_python', "[Errno 28] No space left on device: '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/_bootstrap_python' -> '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/_bootstrap_python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/libpython3.12d.a', '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/libpython3.12d.a', "[Errno 28] No space left on device: '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/libpython3.12d.a'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/python', '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/python', "[Errno 28] No space left on device: '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/pybuilddir.txt', '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/pybuilddir.txt', "[Errno 28] No space left on device: '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/pybuilddir.txt'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/platform', '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/platform', "[Errno 28] No space left on device: '/tmp/test_python_tm1i708c/tmp1m0c4u22/cpython/platform'")]


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/shutil.py", line 559, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/shutil.py", line 513, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/_bootstrap_python', '/tmp/tmppg1x2mx4/cpython/_bootstrap_python', "[Errno 28] No space left on device: '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/_bootstrap_python' -> '/tmp/tmppg1x2mx4/cpython/_bootstrap_python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/libpython3.12d.a', '/tmp/tmppg1x2mx4/cpython/libpython3.12d.a', "[Errno 28] No space left on device: '/tmp/tmppg1x2mx4/cpython/libpython3.12d.a'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/python', '/tmp/tmppg1x2mx4/cpython/python', "[Errno 28] No space left on device: '/tmp/tmppg1x2mx4/cpython/python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/pybuilddir.txt', '/tmp/tmppg1x2mx4/cpython/pybuilddir.txt', "[Errno 28] No space left on device: '/tmp/tmppg1x2mx4/cpython/pybuilddir.txt'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/platform', '/tmp/tmppg1x2mx4/cpython/platform', "[Errno 28] No space left on device: '/tmp/tmppg1x2mx4/cpython/platform'")]

@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora Clang 3.x has failed when building commit 72186aa.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/3/builds/3588) and take a look at the build logs.
  4. Check if the failure is related to this commit (72186aa) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/3/builds/3588

Failed tests:

  • test_tools

Failed subtests:

  • test_walk_prune - test.test_os.WalkTests.test_walk_prune
  • test_cover_files_written_with_highlight - test.test_trace.TestCoverageCommandLineOutput.test_cover_files_written_with_highlight
  • test_walk_symlink - test.test_os.WalkTests.test_walk_symlink
  • test_walk_topdown - test.test_os.WalkTests.test_walk_topdown
  • test_freeze_simple_script - test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script
  • test_all - test.test_eintr.EINTRTests.test_all
  • test_lockf - main.FNTLEINTRTest.test_lockf

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

== Tests result: FAILURE then FAILURE ==

414 tests OK.

10 slowest tests:

  • test_compile: 4 min 37 sec
  • test_concurrent_futures: 2 min 25 sec
  • test_multiprocessing_spawn: 1 min 55 sec
  • test_asyncio: 1 min 27 sec
  • test_multiprocessing_forkserver: 1 min 26 sec
  • test_math: 1 min 18 sec
  • test_signal: 1 min 10 sec
  • test_multiprocessing_fork: 1 min 10 sec
  • test_gdb: 1 min 4 sec
  • test_capi: 52.4 sec

1 test failed:
test_tools

18 tests skipped:
test_devpoll test_ioctl test_kqueue test_launcher test_msilib
test_nis test_peg_generator test_perf_profiler test_readline
test_startfile test_tix test_tkinter test_ttk test_winconsoleio
test_winreg test_winsound test_wmi test_zipfile64

4 re-run tests:
test_eintr test_os test_tools test_trace

Total duration: 7 min 2 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_eintr.py", line 16, in test_all
    script_helper.run_test_script(script)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/support/script_helper.py", line 300, in run_test_script
    raise AssertionError(f"{name} failed")
AssertionError: script _test_eintr.py failed


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/_test_eintr.py", line 523, in test_lockf
    self._lock(fcntl.lockf, "lockf")
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/_test_eintr.py", line 515, in _lock
    self.assertGreaterEqual(dt, self.sleep_time)
AssertionError: 0.1977278720587492 not greater than or equal to 0.2


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/shutil.py", line 559, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/shutil.py", line 513, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_curses.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_curses.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_curses.cpython-312d-s390x-linux-gnu.so' -> '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_curses.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_curses_panel.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_curses_panel.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_curses_panel.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_sqlite3.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_sqlite3.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_sqlite3.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_ssl.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_ssl.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_ssl.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_hashlib.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_hashlib.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_hashlib.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_uuid.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_uuid.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_uuid.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_tkinter.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_tkinter.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_tkinter.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/xxsubtype.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/xxsubtype.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/xxsubtype.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build/lib.linux-s390x-3.12-pydebug/_xxtestfuzz.cpython-312d-s390x-linux-gnu.so', '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_xxtestfuzz.cpython-312d-s390x-linux-gnu.so', "[Errno 28] No space left on device: '/tmp/test_python_z7fkr058/tmpvpfnhit_/cpython/build/lib.linux-s390x-3.12-pydebug/_xxtestfuzz.cpython-312d-s390x-linux-gnu.so'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clan


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_os.py", line 1336, in setUp
    os.makedirs(self.sub11_path)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [Errno 28] No space left on device: '@test_498999_tmpæ'


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_tools/test_freeze.py", line 27, in test_freeze_simple_script
    outdir, scriptfile, python = helper.prepare(script, outdir)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 146, in prepare
    copy_source_tree(srcdir, SRCDIR)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/freeze/test/freeze.py", line 95, in copy_source_tree
    shutil.copytree(oldroot, newroot, ignore=ignore_non_src)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/shutil.py", line 559, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/shutil.py", line 513, in _copytree
    raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/unicode/mkstringprep.py', '/tmp/tmp5gzzhkiw/cpython/Tools/unicode/mkstringprep.py', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/Tools/unicode/mkstringprep.py'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/unicode/python-mappings', '/tmp/tmp5gzzhkiw/cpython/Tools/unicode/python-mappings', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/Tools/unicode/python-mappings'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/unittestgui', '/tmp/tmp5gzzhkiw/cpython/Tools/unittestgui', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/Tools/unittestgui'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Tools/wasm', '/tmp/tmp5gzzhkiw/cpython/Tools/wasm', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/Tools/wasm'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/aclocal.m4', '/tmp/tmp5gzzhkiw/cpython/aclocal.m4', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/aclocal.m4'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/config.guess', '/tmp/tmp5gzzhkiw/cpython/config.guess', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/config.guess'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/config.sub', '/tmp/tmp5gzzhkiw/cpython/config.sub', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/config.sub'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/install-sh', '/tmp/tmp5gzzhkiw/cpython/install-sh', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/install-sh'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/netlify.toml', '/tmp/tmp5gzzhkiw/cpython/netlify.toml', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/netlify.toml'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/pyconfig.h.in', '/tmp/tmp5gzzhkiw/cpython/pyconfig.h.in', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/pyconfig.h.in'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/configure', '/tmp/tmp5gzzhkiw/cpython/configure', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/configure'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/configure.ac', '/tmp/tmp5gzzhkiw/cpython/configure.ac', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/configure.ac'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/README.rst', '/tmp/tmp5gzzhkiw/cpython/README.rst', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpytho
je/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/build', '/tmp/tmp5gzzhkiw/cpython/build', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/build'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/python-config.py', '/tmp/tmp5gzzhkiw/cpython/python-config.py', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/python-config.py'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/python-config', '/tmp/tmp5gzzhkiw/cpython/python-config', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/python-config'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/_bootstrap_python', '/tmp/tmp5gzzhkiw/cpython/_bootstrap_python', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/_bootstrap_python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/libpython3.12d.a', '/tmp/tmp5gzzhkiw/cpython/libpython3.12d.a', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/libpython3.12d.a'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/python', '/tmp/tmp5gzzhkiw/cpython/python', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/python'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/pybuilddir.txt', '/tmp/tmp5gzzhkiw/cpython/pybuilddir.txt', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/pybuilddir.txt'"), ('/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/platform', '/tmp/tmp5gzzhkiw/cpython/platform', "[Errno 28] No space left on device: '/tmp/tmp5gzzhkiw/cpython/platform'")]


Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/test/test_trace.py", line 447, in setUp
    with open(self.codefile, 'w', encoding='iso-8859-15') as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 28] No space left on device: 'tmp.py'

@bedevere-bot
Copy link

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

Hi! The buildbot s390x Fedora Clang Installed 3.x has failed when building commit 72186aa.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/531/builds/3487) and take a look at the build logs.
  4. Check if the failure is related to this commit (72186aa) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/531/builds/3487

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

Click to see traceback logs
remote: Enumerating objects: 7, done.        
remote: Counting objects:  14% (1/7)        
remote: Counting objects:  28% (2/7)        
remote: Counting objects:  42% (3/7)        
remote: Counting objects:  57% (4/7)        
remote: Counting objects:  71% (5/7)        
remote: Counting objects:  85% (6/7)        
remote: Counting objects: 100% (7/7)        
remote: Counting objects: 100% (7/7), done.        
remote: Compressing objects:  25% (1/4)        
remote: Compressing objects:  50% (2/4)        
remote: Compressing objects:  75% (3/4)        
remote: Compressing objects: 100% (4/4)        
remote: Compressing objects: 100% (4/4), done.        
remote: Total 4 (delta 3), reused 0 (delta 0), pack-reused 0        
From https://github.com/python/cpython
 * branch                  main       -> FETCH_HEAD
Note: switching to '72186aa637bc88cd5f5e234803af64acab25994c'.

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 72186aa637 Simplify and improve accuracy for subnormals in hypot() (GH-102785)
Switched to and reset branch 'main'

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.


./Modules/expat/xmlparse.c:3116:9: warning: code will never be executed [-Wunreachable-code]
        parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,
        ^~~~~~
./Modules/expat/xmlparse.c:3115:16: note: silence by adding parentheses to mark code as explicitly dead
      else if (0 && parser->m_characterDataHandler)
               ^
               /* DISABLES CODE */ ( )
./Modules/expat/xmlparse.c:4059:9: warning: code will never be executed [-Wunreachable-code]
        parser->m_characterDataHandler(parser->m_handlerArg, parser->m_dataBuf,
        ^~~~~~
./Modules/expat/xmlparse.c:4058:16: note: silence by adding parentheses to mark code as explicitly dead
      else if (0 && parser->m_characterDataHandler)
               ^
               /* DISABLES CODE */ ( )
2 warnings generated.

ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device: '/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/target/lib/python3.12/site-packages/pip/_vendor/distlib/w64-arm.exe'

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
             ^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__init__.py", line 286, in _main
    return _bootstrap(
           ^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__init__.py", line 202, in _bootstrap
    return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/ensurepip/__init__.py", line 103, in _run_pip
    return subprocess.run(cmd, check=True).returncode
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/Lib/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang-installed/build/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmp9kvauop9/setuptools-65.5.0-py3-none-any.whl\', \'/tmp/tmp9kvauop9/pip-23.0.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmp9kvauop9\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:1975: install] Error 1

Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request Mar 27, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
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.

2 participants