DEBUG: Executing python function do_testsdk
/srv/pokybuild/yocto-worker/qemux86-64/build/meta/lib/oeqa/sdk/testsdk.py:84: ResourceWarning: unclosed file <_io.TextIOWrapper name='TOPDIR/tmp/deploy/sdk/poky-glibc-i686-core-image-sato-core2-64-qemux86-64-toolchain-5.0.6.testdata.json' mode='r' encoding='UTF-8'>
  test_data = json.load(open(tdname, "r"))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
rm: cannot remove 'TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0/testimage-sdk/sysroots/core2-64-poky-linux/etc/bluetooth/input.conf': Permission denied
rm: cannot remove 'TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0/testimage-sdk/sysroots/core2-64-poky-linux/etc/bluetooth/network.conf': Permission denied
rm: cannot remove 'TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0/testimage-sdk/sysroots/core2-64-poky-linux/etc/bluetooth/main.conf': Permission denied
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:do_testsdk(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemux86-64/build/meta/classes-recipe/testsdk.bbclass', lineno: 35, function: do_testsdk
     0031:
     0032:import_and_run[vardepsexclude] = "DATETIME BB_ORIGENV"
     0033:
     0034:python do_testsdk() {
 *** 0035:    import_and_run('TESTSDK_CLASS_NAME', d)
     0036:}
     0037:addtask testsdk
     0038:do_testsdk[nostamp] = "1"
     0039:do_testsdk[network] = "1"
File: '/srv/pokybuild/yocto-worker/qemux86-64/build/meta/classes-recipe/testsdk.bbclass', lineno: 28, function: import_and_run
     0024:    if class_name:
     0025:        module, cls = class_name.rsplit('.', 1)
     0026:        m = importlib.import_module(module)
     0027:        c = getattr(m, cls)()
 *** 0028:        c.run(d)
     0029:    else:
     0030:        bb.warn('No tests were run because %s did not define a class' % name)
     0031:
     0032:import_and_run[vardepsexclude] = "DATETIME BB_ORIGENV"
File: '/srv/pokybuild/yocto-worker/qemux86-64/build/meta/lib/oeqa/sdk/testsdk.py', lineno: 100, function: run
     0096:                bb.warn("Failed to import testtools or subunit, the testcases will run serially")
     0097:                processes = None
     0098:
     0099:        sdk_dir = d.expand("${WORKDIR}/testimage-sdk/")
 *** 0100:        bb.utils.remove(sdk_dir, True)
     0101:        bb.utils.mkdirhier(sdk_dir)
     0102:
     0103:        context_args = self.setup_context(d)
     0104:
File: '/srv/pokybuild/yocto-worker/qemux86-64/build/bitbake/lib/bb/utils.py', lineno: 727, function: remove
     0723:        # shutil.rmtree(name) would be ideal but its too slow
     0724:        cmd = []
     0725:        if ionice:
     0726:            cmd = ['ionice', '-c', '3']
 *** 0727:        subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
     0728:        return
     0729:    for name in glob.glob(path):
     0730:        try:
     0731:            os.unlink(name)
File: '/usr/lib64/python3.12/subprocess.py', lineno: 413, function: check_call
     0409:    if retcode:
     0410:        cmd = kwargs.get("args")
     0411:        if cmd is None:
     0412:            cmd = popenargs[0]
 *** 0413:        raise CalledProcessError(retcode, cmd)
     0414:    return 0
     0415:
     0416:
     0417:def check_output(*popenargs, timeout=None, **kwargs):
Exception: subprocess.CalledProcessError: Command '['rm', '-rf', 'TOPDIR/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0/testimage-sdk/']' returned non-zero exit status 1.

DEBUG: Python function do_testsdk finished

Error details

Submitted on:
11/01/25 09:19
Error type:
Recipe
Task:
do_testsdk
Recipe:
core-image-sato
Recipe version:
1.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
universal/fedora-40
Branch:
stable/scarthgap-nut
Commit:
18269bba33e12f87efb69ecc65e9741972a8cce9
Build:
#198322
Submitter:
yp-ab-fedora40-vk-4.yocto.io
Link back:
https://valkyrie.yoctoproject.org/#/builders/68/builds/826
Similar errors:
0
Open a bug