DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_spdx
DEBUG: Searching for run-ptest in paths:
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml-0.2.5/poky
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml/poky
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/files/poky
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml-0.2.5/
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml/
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/files/
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml-0.2.5/x86-64
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml/x86-64
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/files/x86-64
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml-0.2.5/
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml/
/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/files/
DEBUG: Using /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-support/libyaml/libyaml/run-ptest for run-ptest
DEBUG: Fetching SPDX for dependency autoconf-native
DEBUG: Fetching SPDX for dependency automake-native
DEBUG: Fetching SPDX for dependency chrpath-native
DEBUG: Fetching SPDX for dependency gcc-crosssdk-x86_64-pokysdk-linux
DEBUG: Fetching SPDX for dependency libtool-native
DEBUG: Fetching SPDX for dependency nativesdk-gcc-runtime
DEBUG: Fetching SPDX for dependency nativesdk-glibc
DEBUG: Collecting Dependency sources files
DEBUG: Fetching Sources for dependency build-nativesdk-gcc-runtime
DEBUG: Fetching Sources for dependency build-nativesdk-glibc
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Creating SPDX for package nativesdk-libyaml-0-dbg
DEBUG: Adding package files to SPDX for package nativesdk-libyaml-0-dbg
DEBUG: Added 1 files to http://spdx.org/spdxdocs/nativesdk-libyaml-298993f7-2ea0-5063-a427-6c0d074475dc/d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47/document/package-nativesdk-libyaml-0-dbg
DEBUG: Creating SPDX for package nativesdk-libyaml-0-staticdev
DEBUG: Adding package files to SPDX for package nativesdk-libyaml-0-staticdev
DEBUG: Added 1 files to http://spdx.org/spdxdocs/nativesdk-libyaml-298993f7-2ea0-5063-a427-6c0d074475dc/d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47/document/package-nativesdk-libyaml-0-staticdev
DEBUG: Creating SPDX for package nativesdk-libyaml-0-dev
DEBUG: Adding package files to SPDX for package nativesdk-libyaml-0-dev
DEBUG: Added 2 files to http://spdx.org/spdxdocs/nativesdk-libyaml-298993f7-2ea0-5063-a427-6c0d074475dc/d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47/document/package-nativesdk-libyaml-0-dev
DEBUG: Creating SPDX for package nativesdk-libyaml-0-2
DEBUG: Adding package files to SPDX for package nativesdk-libyaml-0-2
DEBUG: Added 1 files to http://spdx.org/spdxdocs/nativesdk-libyaml-298993f7-2ea0-5063-a427-6c0d074475dc/d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47/document/package-nativesdk-libyaml-0-2
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-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/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-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/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-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/recipe-sysroot' -e 'TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libyaml/0.2.5/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 d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47 as unihash d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47 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/buildtools/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 862, function: sstate_create_and_sign_package
0858: # be updated.
0859: update_file(tmp_pkg, sstate_pkg, force=True)
0860: else:
0861: from tempfile import NamedTemporaryFile
*** 0862: with NamedTemporaryFile(prefix=sstate_pkg.name, dir=sstate_pkg.parent) as tmp_pkg_fd:
0863: tmp_pkg = tmp_pkg_fd.name
0864: sstate_archive_package(tmp_pkg, d)
0865: update_file(tmp_pkg, sstate_pkg)
0866: # update_file() may have renamed tmp_pkg, which must exist when the
File: '/usr/lib64/python3.9/tempfile.py', lineno: 561, function: NamedTemporaryFile
0557: # the file when it is closed. This is only supported by Windows.
0558: if _os.name == 'nt' and delete:
0559: flags |= _os.O_TEMPORARY
0560:
*** 0561: (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
0562: try:
0563: file = _io.open(fd, mode, buffering=buffering,
0564: newline=newline, encoding=encoding, errors=errors)
0565:
File: '/usr/lib64/python3.9/tempfile.py', lineno: 255, function: _mkstemp_inner
0251: name = next(names)
0252: file = _os.path.join(dir, pre + name + suf)
0253: _sys.audit("tempfile.mkstemp", file)
0254: try:
*** 0255: fd = _os.open(file, flags, 0o600)
0256: except FileExistsError:
0257: continue # try again
0258: except PermissionError:
0259: # 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/d5/37/sstate:nativesdk-libyaml:x86_64-nativesdk-pokysdk-linux:0.2.5:r0:x86_64-nativesdk:14:d5379f0e7ebde04d5394b824ec116e2060db9958ea06c6f14a75d56360156d47_create_spdx.tar.zstmyn88wa5'
DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished