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 pkg:github PURL: pkg:github/ninja-build/ninja@3441b633c2fe2c494e958780ba0f4227b1327634@1.13.2
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 ninja-native
DEBUG: Fetching SPDX for dependency re2c-native
DEBUG: Collecting Dependency sources files
DEBUG: Fetching Sources for dependency recipe-gcc-runtime
DEBUG: Fetching Sources for dependency recipe-glibc
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Creating SPDX for package ninja-src
DEBUG: Adding package files to SPDX for package ninja-src
DEBUG: Added 74 files to http://spdx.org/spdxdocs/ninja-643022c7-f20d-557b-9362-4d7432ca8f43/4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9/document/package-ninja-src
DEBUG: Creating SPDX for package ninja-dbg
DEBUG: Adding package files to SPDX for package ninja-dbg
DEBUG: Added 1 files to http://spdx.org/spdxdocs/ninja-643022c7-f20d-557b-9362-4d7432ca8f43/4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9/document/package-ninja-dbg
DEBUG: Creating SPDX for package ninja-dev
DEBUG: Adding package files to SPDX for package ninja-dev
DEBUG: Added 0 files to http://spdx.org/spdxdocs/ninja-643022c7-f20d-557b-9362-4d7432ca8f43/4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9/document/package-ninja-dev
DEBUG: Creating SPDX for package ninja
DEBUG: Adding package files to SPDX for package ninja
DEBUG: Added 1 files to http://spdx.org/spdxdocs/ninja-643022c7-f20d-557b-9362-4d7432ca8f43/4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9/document/package-ninja
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/x86-64-v3-poky-linux/ninja/1.13.2/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/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/x86-64-v3-poky-linux/ninja/1.13.2/sstate-build-create_spdx/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/recipe-sysroot' -e 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/x86-64-v3-poky-linux/ninja/1.13.2/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 4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9 as unihash 4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9 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/qemux86-64-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.11/tempfile.py', lineno: 718, function: NamedTemporaryFile
0714: nonlocal name
0715: fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
0716: return fd
0717: try:
*** 0718: file = _io.open(dir, mode, buffering=buffering,
0719: newline=newline, encoding=encoding, errors=errors,
0720: opener=opener)
0721: try:
0722: raw = getattr(file, 'buffer', file)
File: '/usr/lib/python3.11/tempfile.py', lineno: 715, function: opener
0711:
0712: name = None
0713: def opener(*args):
0714: nonlocal name
*** 0715: fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
0716: return fd
0717: try:
0718: file = _io.open(dir, mode, buffering=buffering,
0719: newline=newline, encoding=encoding, errors=errors,
File: '/usr/lib/python3.11/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/4e/cf/sstate:ninja:x86-64-v3-poky-linux:1.13.2:r0:x86-64-v3:14:4ecf2a869d8d04982233f10c337db592eeb6414204650bb61d36bdf1bf0a5fe9_create_spdx.tar.zst5c2698l2'
DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished