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 python3-build-native
DEBUG: Fetching SPDX for dependency python3-hatchling-native
DEBUG: Fetching SPDX for dependency python3-installer-native
DEBUG: Fetching SPDX for dependency python3-native
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/x86_64-linux/wic-native/0.3.1/spdx/3.0.1/recipe-deploy for packaging at TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/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: 'grep -Irl -e TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/recipe-sysroot -e TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/recipe-sysroot-native -e TOPDIR/tmp/hosttools TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/sstate-build-create_recipe_spdx/ | xargs grep -l -e 'TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/sstate-build-create_recipe_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-linux/wic-native/0.3.1/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function native_add_do_populate_sysroot_deps
DEBUG: Python function native_add_do_populate_sysroot_deps finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Reported task 99f245d1f2e6f705bab0f749087801a229a88bb6c2bb00c5e0973b20eee0d834 as unihash 99f245d1f2e6f705bab0f749087801a229a88bb6c2bb00c5e0973b20eee0d834 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/meta-virt/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 852, function: sstate_create_and_sign_package
     0848:    # Create the required sstate directory if it is not present.
     0849:    if not sstate_pkg.parent.is_dir():
     0850:        shared_umask = bb.utils.to_filemode(d.getVar("OE_SHARED_UMASK"))
     0851:        with bb.utils.umask(shared_umask):
 *** 0852:            bb.utils.mkdirhier(str(sstate_pkg.parent))
     0853:
     0854:    if sign_pkg:
     0855:        from tempfile import TemporaryDirectory
     0856:        with TemporaryDirectory(dir=sstate_pkg.parent) as tmp_dir:
File: '/srv/pokybuild/yocto-worker/meta-virt/build/layers/bitbake/lib/bb/utils.py', lineno: 948, function: mkdirhier
     0944:    try:
     0945:        os.makedirs(directory)
     0946:    except OSError as e:
     0947:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
 *** 0948:            raise e
     0949:
     0950:def movefile(src, dest, newmtime = None, sstat = None):
     0951:    """Moves a file from ``src`` to ``dest``, preserving all permissions and
     0952:    attributes; mtime will be preserved even when moving across
File: '/srv/pokybuild/yocto-worker/meta-virt/build/layers/bitbake/lib/bb/utils.py', lineno: 945, function: mkdirhier
     0941:    """
     0942:    if '${' in str(directory):
     0943:        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR polution.".format(directory))
     0944:    try:
 *** 0945:        os.makedirs(directory)
     0946:    except OSError as e:
     0947:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
     0948:            raise e
     0949:
File: '<frozen os>', lineno: 228, function: makedirs
  File "<frozen os>", line 228, in makedirs

Exception: FileExistsError: [Errno 17] File exists: '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/universal/99/f2'

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

Error details

Submitted on:
07/07/26 12:01
Error type:
Recipe
Task:
do_create_recipe_spdx
Recipe:
wic-native
Recipe version:
0.3.1-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
ubuntu-25.10/ubuntu-25.10
Branch:
mathieu/master-next-tests
Commit:
990682e97afc3ef42ae61a091086336bb533d521
Build:
#242187
Submitter:
yp-ab-ubuntu2510-vk-1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/3927
Similar errors:
6
Open a bug