Closed
Description
s390x SLES 3.x:
test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script) ... ERROR
Stdout:
creating the script to be frozen at /tmp/test_python_3vf4i07o/tmp7pw_cxg6/app.py
copying the source tree into /tmp/test_python_3vf4i07o/tmp7pw_cxg6/cpython...
(...)
======================================================================
ERROR: test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 146, in prepare
copy_source_tree(srcdir, SRCDIR)
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-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-sles-z/build/Lib/shutil.py", line 588, in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/shutil.py", line 542, in _copytree
raise Error(errors)
shutil.Error: [('/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_29475æ', '/tmp/test_python_3vf4i07o/tmp7pw_cxg6/cpython/build/test_python_29475æ', "[Errno 2] No such file or directory: '/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/build/test_python_29475æ'")]
Stdout:
creating the script to be frozen at /tmp/test_python_3vf4i07o/tmp7pw_cxg6/app.py
copying the source tree into /tmp/test_python_3vf4i07o/tmp7pw_cxg6/cpython...
----------------------------------------------------------------------
Ran 36 tests in 7.203s
FAILED (errors=1)
test test_tools failed
build: https://buildbot.python.org/all/#/builders/540/builds/6583
Linked PRs
- gh-109615: Fix test_tools.test_freeze SRCDIR #109935
- [3.12] gh-109615: Fix test_tools.test_freeze SRCDIR (#109935) #109950
- [3.11] gh-109615: Fix test_tools.test_freeze SRCDIR (#109935) #109951
- gh-109615: Fix support test_copy_python_src_ignore() #109958
- [3.11] gh-109615: Fix support test_copy_python_src_ignore() (#109958) #109962
- gh-109615: Fix support test_copy_python_src_ignore() on WASM #109970
- [3.11] gh-109615: Fix support test_copy_python_src_ignore() on WASM (GH-109970) #109976
- gh-109615: Look for 'Modules' as landmark for test_copy_python_src_ignore #110108
- [3.11] gh-109615: Look for 'Modules' as landmark for test_copy_python_src_ignore (GH-110108) #110110
- [3.12] gh-109615: Fix support test_copy_python_src_ignore() (#109958) #110340