DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_package_spdx
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Python function do_create_package_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/spdx/3.0.1/runtime-deploy for packaging at TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/sstate-build-create_package_spdx/runtime-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/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/sstate-build-create_package_spdx/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/recipe-sysroot' -e 'TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/sstate-build-create_package_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/qemuriscv64-poky-linux/core-image-ptest-json-c/1.0/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 a9ba55ce984a8b7da734a7eb003ac913b96b425b0e2860372a32c006af785888 as unihash a9ba55ce984a8b7da734a7eb003ac913b96b425b0e2860372a32c006af785888 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/qemuriscv64-ptest/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 871, function: sstate_create_and_sign_package
     0867:            # be updated.
     0868:            update_file(tmp_pkg, sstate_pkg, force=True)
     0869:    else:
     0870:        from tempfile import NamedTemporaryFile
 *** 0871:        with NamedTemporaryFile(prefix=sstate_pkg.name, dir=sstate_pkg.parent) as tmp_pkg_fd:
     0872:            tmp_pkg = tmp_pkg_fd.name
     0873:            sstate_archive_package(tmp_pkg, d)
     0874:            update_file(tmp_pkg, sstate_pkg)
     0875:            # update_file() may have renamed tmp_pkg, which must exist when the
File: '/usr/lib/python3.12/tempfile.py', lineno: 721, function: NamedTemporaryFile
     0717:        nonlocal name
     0718:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0719:        return fd
     0720:    try:
 *** 0721:        file = _io.open(dir, mode, buffering=buffering,
     0722:                        newline=newline, encoding=encoding, errors=errors,
     0723:                        opener=opener)
     0724:        try:
     0725:            raw = getattr(file, 'buffer', file)
File: '/usr/lib/python3.12/tempfile.py', lineno: 718, function: opener
     0714:
     0715:    name = None
     0716:    def opener(*args):
     0717:        nonlocal name
 *** 0718:        fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0719:        return fd
     0720:    try:
     0721:        file = _io.open(dir, mode, buffering=buffering,
     0722:                        newline=newline, encoding=encoding, errors=errors,
File: '/usr/lib/python3.12/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/a9/ba/sstate:core-image-ptest-json-c:qemuriscv64-poky-linux:1.0:r0:qemuriscv64:14:a9ba55ce984a8b7da734a7eb003ac913b96b425b0e2860372a32c006af785888_create_package_spdx.tar.zstefica74e'

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

Error details

Submitted on:
07/03/26 01:51
Error type:
Recipe
Task:
do_create_package_spdx
Recipe:
core-image-ptest-json-c
Recipe version:
1.0-r0
Machine:
qemuriscv64
Distro:
poky
Build system:
x86_64-linux
Target system:
riscv64-poky-linux
Host distro:
ubuntu-24.04/ubuntu-24.04
Branch:
mathieu/master-next
Commit:
2a7ecf1841a3cc234ce6acdfedba36ee545b56ff
Build:
#229539
Submitter:
yp-ab-ubuntu2404-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1191
Similar errors:
9
Open a bug