DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_recipe_spdx
DEBUG: Fetching SPDX for dependency gcc-cross-x86_64
DEBUG: Fetching SPDX for dependency gcc-runtime
DEBUG: Fetching SPDX for dependency glibc
DEBUG: Fetching SPDX for dependency python3
DEBUG: Fetching SPDX for dependency python3-build-native
DEBUG: Fetching SPDX for dependency python3-installer-native
DEBUG: Fetching SPDX for dependency python3-native
DEBUG: Fetching SPDX for dependency python3-setuptools-native
DEBUG: Fetching SPDX for dependency python3-wheel-native
DEBUG: Searching for run-ptest in paths:
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile-2024.8.26/poky-altcfg
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/poky-altcfg
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/files/poky-altcfg
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile-2024.8.26/poky
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/poky
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/files/poky
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile-2024.8.26/genericx86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/genericx86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/files/genericx86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile-2024.8.26/x86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/x86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/files/x86-64
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile-2024.8.26/
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/
    /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/files/
DEBUG: Using /srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/recipes-devtools/python/python3-pefile/run-ptest for run-ptest
DEBUG: Scanning 0 patches for CVEs
DEBUG: Python function do_create_recipe_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/spdx/3.0.1/recipe-deploy for packaging at TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/sstate-build-create_recipe_spdx/recipe-deploy
DEBUG: Executing python function target_add_sysroot_deps
DEBUG: Python function target_add_sysroot_deps finished
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'find TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/sstate-build-create_recipe_spdx/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/recipe-sysroot' -e 'TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/sstate-build-create_recipe_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/core2-64-poky-linux/python3-pefile/2024.8.26/recipe-sysroot:FIXMESTAGINGDIRTARGET:g' -e 's:TOPDIR/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Reported task 59e2d513abfb939c0b5e0becf755ba267fdbf43e06cd2fda603484069a9f9350 as unihash 59e2d513abfb939c0b5e0becf755ba267fdbf43e06cd2fda603484069a9f9350 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_create_and_sign_package(d)
     0003:
File: '/srv/pokybuild/yocto-worker/genericx86-64-alt/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 862, function: sstate_create_and_sign_package
     0858:            # be updated.
     0859:            update_file(tmp_pkg, sstate_pkg, force=True)
     0860:    else:
     0861:        from tempfile import NamedTemporaryFile
 *** 0862:        with NamedTemporaryFile(prefix=sstate_pkg.name, dir=sstate_pkg.parent) as tmp_pkg_fd:
     0863:            tmp_pkg = tmp_pkg_fd.name
     0864:            sstate_archive_package(tmp_pkg, d)
     0865:            update_file(tmp_pkg, sstate_pkg)
     0866:            # update_file() may have renamed tmp_pkg, which must exist when the
File: '/usr/lib/python3.10/tempfile.py', lineno: 714, function: NamedTemporaryFile
     0710:        nonlocal name
     0711:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0712:        return fd
     0713:    try:
 *** 0714:        file = _io.open(dir, mode, buffering=buffering,
     0715:                        newline=newline, encoding=encoding, errors=errors,
     0716:                        opener=opener)
     0717:        try:
     0718:            raw = getattr(file, 'buffer', file)
File: '/usr/lib/python3.10/tempfile.py', lineno: 711, function: opener
     0707:
     0708:    name = None
     0709:    def opener(*args):
     0710:        nonlocal name
 *** 0711:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0712:        return fd
     0713:    try:
     0714:        file = _io.open(dir, mode, buffering=buffering,
     0715:                        newline=newline, encoding=encoding, errors=errors,
File: '/usr/lib/python3.10/tempfile.py', lineno: 395, function: _mkstemp_inner
     0391:        name = next(names)
     0392:        file = _os.path.join(dir, pre + name + suf)
     0393:        _sys.audit("tempfile.mkstemp", file)
     0394:        try:
 *** 0395:            fd = _os.open(file, flags, 0o600)
     0396:        except FileExistsError:
     0397:            continue    # try again
     0398:        except PermissionError:
     0399:            # This exception is thrown when a directory with the chosen name
Exception: OSError: [Errno 121] Remote I/O error: '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/59/e2/sstate:python3-pefile:core2-64-poky-linux:2024.8.26:r0:core2-64:14:59e2d513abfb939c0b5e0becf755ba267fdbf43e06cd2fda603484069a9f9350_create_recipe_spdx.tar.zstric7od78'

DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
23/03/26 12:32
Error type:
Recipe
Task:
do_create_recipe_spdx
Recipe:
python3-pefile
Recipe version:
2024.8.26-r0
Machine:
genericx86-64
Distro:
poky-altcfg
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
master-next
Commit:
c0ae0213b29b7bf0ed968eedfd58b8a5ac833668
Build:
#233023
Submitter:
yp-ab-ubuntu2204-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/93/builds/3424
Similar errors:
7
Open a bug