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: Fetching SPDX for dependency alsa-lib
DEBUG: Fetching SPDX for dependency autoconf-native
DEBUG: Fetching SPDX for dependency automake-native
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 libsamplerate0
DEBUG: Fetching SPDX for dependency libtool-cross
DEBUG: Fetching SPDX for dependency libtool-native
DEBUG: Fetching SPDX for dependency pkgconfig-native
DEBUG: Fetching SPDX for dependency pulseaudio
DEBUG: Fetching SPDX for dependency speexdsp
DEBUG: Collecting Dependency sources files
DEBUG: Fetching Sources for dependency recipe-alsa-lib
DEBUG: Fetching Sources for dependency recipe-gcc-runtime
DEBUG: Fetching Sources for dependency recipe-glibc
DEBUG: Fetching Sources for dependency recipe-libsamplerate0
DEBUG: Fetching Sources for dependency recipe-libtool-cross
DEBUG: Fetching Sources for dependency recipe-pulseaudio
DEBUG: Fetching Sources for dependency recipe-speexdsp
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Creating SPDX for package alsa-plugins-src
DEBUG: Adding package files to SPDX for package alsa-plugins-src
DEBUG: Added 17 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-alsa-plugins-src
DEBUG: Creating SPDX for package alsa-plugins-dbg
DEBUG: Adding package files to SPDX for package alsa-plugins-dbg
DEBUG: Added 12 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-alsa-plugins-dbg
DEBUG: Creating SPDX for package alsa-plugins-dev
DEBUG: Adding package files to SPDX for package alsa-plugins-dev
DEBUG: Added 0 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-alsa-plugins-dev
DEBUG: Creating SPDX for package alsa-plugins
DEBUG: Adding package files to SPDX for package alsa-plugins
DEBUG: Added 0 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-alsa-plugins
DEBUG: Creating SPDX for package alsa-plugins-pulseaudio-conf
DEBUG: Adding package files to SPDX for package alsa-plugins-pulseaudio-conf
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-alsa-plugins-pulseaudio-conf
DEBUG: Creating SPDX for package libasound-module-conf-pulse
DEBUG: Adding package files to SPDX for package libasound-module-conf-pulse
DEBUG: Added 1 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-conf-pulse
DEBUG: Creating SPDX for package libasound-module-ctl-arcam-av
DEBUG: Adding package files to SPDX for package libasound-module-ctl-arcam-av
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-ctl-arcam-av
DEBUG: Creating SPDX for package libasound-module-ctl-oss
DEBUG: Adding package files to SPDX for package libasound-module-ctl-oss
DEBUG: Added 1 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-ctl-oss
DEBUG: Creating SPDX for package libasound-module-ctl-pulse
DEBUG: Adding package files to SPDX for package libasound-module-ctl-pulse
DEBUG: Added 1 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-ctl-pulse
DEBUG: Creating SPDX for package libasound-module-pcm-oss
DEBUG: Adding package files to SPDX for package libasound-module-pcm-oss
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-oss
DEBUG: Creating SPDX for package libasound-module-pcm-pulse
DEBUG: Adding package files to SPDX for package libasound-module-pcm-pulse
DEBUG: Added 1 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-pulse
DEBUG: Creating SPDX for package libasound-module-pcm-speex
DEBUG: Adding package files to SPDX for package libasound-module-pcm-speex
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-speex
DEBUG: Creating SPDX for package libasound-module-pcm-upmix
DEBUG: Adding package files to SPDX for package libasound-module-pcm-upmix
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-upmix
DEBUG: Creating SPDX for package libasound-module-pcm-usb-stream
DEBUG: Adding package files to SPDX for package libasound-module-pcm-usb-stream
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-usb-stream
DEBUG: Creating SPDX for package libasound-module-pcm-vdownmix
DEBUG: Adding package files to SPDX for package libasound-module-pcm-vdownmix
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-pcm-vdownmix
DEBUG: Creating SPDX for package libasound-module-rate-samplerate
DEBUG: Adding package files to SPDX for package libasound-module-rate-samplerate
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-rate-samplerate
DEBUG: Creating SPDX for package libasound-module-rate-speexrate
DEBUG: Adding package files to SPDX for package libasound-module-rate-speexrate
DEBUG: Added 2 files to http://spdx.org/spdxdocs/alsa-plugins-c3adf315-6732-542d-b41a-4b3af2cca3f3/1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309/document/package-libasound-module-rate-speexrate
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/alsa-plugins/1.2.12/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/riscv64imafdc-poky-linux/alsa-plugins/1.2.12/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/alsa-plugins/1.2.12/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/alsa-plugins/1.2.12/recipe-sysroot' -e 'TOPDIR/tmp/work/riscv64imafdc-poky-linux/alsa-plugins/1.2.12/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/riscv64imafdc-poky-linux/alsa-plugins/1.2.12/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/riscv64imafdc-poky-linux/alsa-plugins/1.2.12/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/riscv64imafdc-poky-linux/alsa-plugins/1.2.12/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 1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309 as unihash 1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309 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/1f/0d/sstate:alsa-plugins:riscv64imafdc-poky-linux:1.2.12:r0:riscv64imafdc:14:1f0df8284fdfbcee0fe47c75c8a84cfd83140d0412809bead6aa04e988b5c309_create_spdx.tar.zsto2wxvwpe'
DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished