DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_spdx
DEBUG: Scanning 0 patches for CVEs
DEBUG: Generated ecosystem PURL for boolean_py-5.0.tar.gz: pkg:pypi/boolean-py@5.0
DEBUG: Fetching SPDX for dependency gcc-cross-riscv64
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: Collecting Dependency sources files
DEBUG: Fetching Sources for dependency recipe-gcc-runtime
DEBUG: Fetching Sources for dependency recipe-glibc
DEBUG: Fetching Sources for dependency recipe-python3
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Creating SPDX for package python3-booleanpy-dbg
DEBUG: Adding package files to SPDX for package python3-booleanpy-dbg
DEBUG: Added 0 files to http://spdx.org/spdxdocs/python3-booleanpy-c7db155a-d550-53f4-8c4f-5b736a295c98/6f3af49582161ec82f4bdb7838bc70568e27792e21e31beb98f9739f3c595764/document/package-python3-booleanpy-dbg
DEBUG: Creating SPDX for package python3-booleanpy-dev
DEBUG: Adding package files to SPDX for package python3-booleanpy-dev
DEBUG: Added 0 files to http://spdx.org/spdxdocs/python3-booleanpy-c7db155a-d550-53f4-8c4f-5b736a295c98/6f3af49582161ec82f4bdb7838bc70568e27792e21e31beb98f9739f3c595764/document/package-python3-booleanpy-dev
DEBUG: Creating SPDX for package python3-booleanpy
DEBUG: Adding package files to SPDX for package python3-booleanpy
DEBUG: Added 12 files to http://spdx.org/spdxdocs/python3-booleanpy-c7db155a-d550-53f4-8c4f-5b736a295c98/6f3af49582161ec82f4bdb7838bc70568e27792e21e31beb98f9739f3c595764/document/package-python3-booleanpy
DEBUG: Python function do_create_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/sstate-build-create_spdx/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/riscv64imafdc-poky-linux/python3-booleanpy/5.0/sstate-build-create_spdx/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/recipe-sysroot' -e 'TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/riscv64imafdc-poky-linux/python3-booleanpy/5.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 6f3af49582161ec82f4bdb7838bc70568e27792e21e31beb98f9739f3c595764 as unihash 6f3af49582161ec82f4bdb7838bc70568e27792e21e31beb98f9739f3c595764 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
DEBUG: Python function sstate_create_and_sign_package finished
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_task_postfunc(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 781, function: sstate_task_postfunc
     0777:    shared_umask = bb.utils.to_filemode(d.getVar("OE_SHARED_UMASK"))
     0778:    omask = os.umask(shared_umask)
     0779:    if omask != shared_umask:
     0780:       bb.note("Using umask %0o (not %0o) for sstate packaging" % (shared_umask, omask))
 *** 0781:    sstate_package(shared_state, d)
     0782:    os.umask(omask)
     0783:
     0784:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0785:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 699, function: sstate_package
     0695:
     0696:    # SSTATE_PKG may have been changed by sstate_report_unihash
     0697:    siginfo = d.getVar('SSTATE_PKG') + ".siginfo"
     0698:    if not os.path.exists(siginfo):
 *** 0699:        bb.siggen.dump_this_task(siginfo, d)
     0700:    else:
     0701:        try:
     0702:            os.utime(siginfo, None)
     0703:        except PermissionError:
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/bitbake/lib/bb/siggen.py', lineno: 888, function: dump_this_task
     0884:    import bb.parse
     0885:    mcfn = d.getVar("BB_FILENAME")
     0886:    task = "do_" + d.getVar("BB_CURRENTTASK")
     0887:    referencestamp = bb.parse.siggen.stampfile_base(mcfn)
 *** 0888:    bb.parse.siggen.dump_sigtask(mcfn, task, outfile, "customfile:" + referencestamp)
     0889:
     0890:def init_colors(enable_color):
     0891:    """Initialise colour dict for passing to compare_sigfiles()"""
     0892:    # First set up the colours
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/openembedded-core/meta/lib/oe/sstatesig.py', lineno: 237, function: dump_sigtask
     0233:    def dump_sigtask(self, fn, task, stampbase, runtime):
     0234:        tid = fn + ":" + task
     0235:        if tid in self.lockedhashes and self.lockedhashes[tid]:
     0236:            return
 *** 0237:        super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
     0238:
     0239:    def dump_lockedsigs(self, sigfile, taskfilter=None):
     0240:        types = {}
     0241:        unihashmap = {}
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/bitbake/lib/bb/siggen.py', lineno: 479, function: dump_sigtask
     0475:            if computed_taskhash != self.taskhash[tid]:
     0476:                bb.error("Taskhash mismatch %s versus %s for %s" % (computed_taskhash, self.taskhash[tid], tid))
     0477:                sigfile = sigfile.replace(self.taskhash[tid], computed_taskhash)
     0478:
 *** 0479:        fd, tmpfile = bb.utils.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
     0480:        try:
     0481:            with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
     0482:                json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder)
     0483:                f.flush()
File: '/srv/pokybuild/yocto-worker/qemuriscv64-ptest/build/layers/bitbake/lib/bb/utils.py', lineno: 2194, function: mkstemp
     2190:    if prefix:
     2191:        prefix = prefix + entropy
     2192:    else:
     2193:        prefix = tempfile.gettempprefix() + entropy
 *** 2194:    return tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir, text=text)
     2195:
     2196:def path_is_descendant(descendant, ancestor):
     2197:    """
     2198:    Returns ``True`` if the path ``descendant`` is a descendant of ``ancestor``
File: '/usr/lib/python3.12/tempfile.py', lineno: 496, function: mkstemp
     0492:        flags = _text_openflags
     0493:    else:
     0494:        flags = _bin_openflags
     0495:
 *** 0496:    return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
     0497:
     0498:
     0499:def mkdtemp(suffix=None, prefix=None, dir=None):
     0500:    """User-callable function to create and return a unique temporary
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/6f/3a/sigtask.eW1PuLLaehH9pdv3QXEEoim3fd6h'

DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
07/03/26 01:51
Error type:
Recipe
Task:
do_create_spdx
Recipe:
python3-booleanpy
Recipe version:
5.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:
0
Open a bug