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-core/libxml/libxml2-2.15.2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
DEBUG: Using /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/run-ptest for run-ptest
DEBUG: Searching for install-tests.patch in paths:
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
DEBUG: Using /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/install-tests.patch for install-tests.patch
DEBUG: Searching for 0001-Revert-cmake-Fix-installation-directories-in-libxml2.patch in paths:
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2-2.15.2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/files/
DEBUG: Using /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-core/libxml/libxml2/0001-Revert-cmake-Fix-installation-directories-in-libxml2.patch for 0001-Revert-cmake-Fix-installation-directories-in-libxml2.patch
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: Fetching SPDX for dependency nativesdk-zlib
DEBUG: Fetching SPDX for dependency pkgconf-native
DEBUG: Collecting Dependency sources files
DEBUG: Fetching Sources for dependency build-nativesdk-gcc-runtime
DEBUG: Fetching Sources for dependency build-nativesdk-glibc
DEBUG: Fetching Sources for dependency build-nativesdk-zlib
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Creating SPDX for package nativesdk-libxml2-dbg
DEBUG: Adding package files to SPDX for package nativesdk-libxml2-dbg
DEBUG: Added 3 files to http://spdx.org/spdxdocs/nativesdk-libxml2-2163c460-bd82-568f-b8b4-54369fd41882/315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63/document/package-nativesdk-libxml2-dbg
DEBUG: Creating SPDX for package nativesdk-libxml2-dev
DEBUG: Adding package files to SPDX for package nativesdk-libxml2-dev
DEBUG: Added 49 files to http://spdx.org/spdxdocs/nativesdk-libxml2-2163c460-bd82-568f-b8b4-54369fd41882/315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63/document/package-nativesdk-libxml2-dev
DEBUG: Creating SPDX for package nativesdk-libxml2-utils
DEBUG: Adding package files to SPDX for package nativesdk-libxml2-utils
DEBUG: Added 2 files to http://spdx.org/spdxdocs/nativesdk-libxml2-2163c460-bd82-568f-b8b4-54369fd41882/315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63/document/package-nativesdk-libxml2-utils
DEBUG: Creating SPDX for package nativesdk-libxml2-16
DEBUG: Adding package files to SPDX for package nativesdk-libxml2-16
DEBUG: Added 1 files to http://spdx.org/spdxdocs/nativesdk-libxml2-2163c460-bd82-568f-b8b4-54369fd41882/315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63/document/package-nativesdk-libxml2-16
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-libxml2/2.15.2/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.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-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.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-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.2/recipe-sysroot' -e 'TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.2/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.2/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.2/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libxml2/2.15.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 315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63 as unihash 315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
tar (child): /srv/autobuilder/valkyrie.yocto.io/pub/sstate/31/5d/sstate\:nativesdk-libxml2\:x86_64-nativesdk-pokysdk-linux\:2.15.2\:r0\:x86_64-nativesdk\:14\:315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63_create_spdx.tar.zsthwvi3452: Cannot open: Remote I/O error
tar (child): Error is not recoverable: exiting now
tar: /srv/autobuilder/valkyrie.yocto.io/pub/sstate/31/5d/sstate:nativesdk-libxml2:x86_64-nativesdk-pokysdk-linux:2.15.2:r0:x86_64-nativesdk:14:315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63_create_spdx.tar.zsthwvi3452: Wrote only 4096 of 10240 bytes
tar: Child returned status 2
tar: Error is not recoverable: exiting now
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: 864, function: sstate_create_and_sign_package
     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
     0867:            # NamedTemporaryFile() context handler ends.
     0868:            touch(Path(tmp_pkg))
File: '/srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 891, function: sstate_archive_package
     0887:    if not files:
     0888:        files = ["--files-from=/dev/null"]
     0889:
     0890:    try:
 *** 0891:        subprocess.run(cmd + files, check=True)
     0892:    except subprocess.CalledProcessError as e:
     0893:        # Ignore error 1 as this is caused by files changing
     0894:        # (link count increasing from hardlinks being created).
     0895:        if e.returncode != 1:
File: '/usr/lib64/python3.9/subprocess.py', lineno: 528, function: run
     0524:            # We don't call process.wait() as .__exit__ does that for us.
     0525:            raise
     0526:        retcode = process.poll()
     0527:        if check and retcode:
 *** 0528:            raise CalledProcessError(retcode, process.args,
     0529:                                     output=stdout, stderr=stderr)
     0530:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0531:
     0532:
Exception: subprocess.CalledProcessError: Command '['tar', '-I', 'pzstd -8 -p8', '-cS', '-f', '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/31/5d/sstate:nativesdk-libxml2:x86_64-nativesdk-pokysdk-linux:2.15.2:r0:x86_64-nativesdk:14:315d3971242a05f31df3581d899a12bf7d4dfbf4fe77bb00937b2e2812fb0d63_create_spdx.tar.zsthwvi3452', 'deploy']' returned non-zero exit status 2.

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

Error details

Submitted on:
23/03/26 12:32
Error type:
Recipe
Task:
do_create_spdx
Recipe:
nativesdk-libxml2
Recipe version:
2.15.2-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
almalinux-9.7/almalinux-9.7
Branch:
master-next
Commit:
c0ae0213b29b7bf0ed968eedfd58b8a5ac833668
Build:
#233019
Submitter:
yp-ab-alma9-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/3469
Similar errors:
0
Open a bug