DEBUG: Executing python function do_testsdkext
/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdkext/testsdk.py:38: ResourceWarning: unclosed file <_io.TextIOWrapper name='TOPDIR/tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-riscv32imafdc-qemuriscv32-toolchain-ext-5.2.99+snapshot.testdata.json' mode='r' encoding='UTF-8'>
test_data = json.load(open(tdname, "r"))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Extensible SDK testing environment: riscv32imafdc-poky-linux
NOTE: test_cpio (autotools.AutotoolsTest.test_cpio)
NOTE: ... ok
NOTE: test_assimp (cmake.CMakeTest.test_assimp)
NOTE: ... ok
NOTE: test_gcc_compile (gcc.GccCompileTest.test_gcc_compile)
NOTE: ... ok
NOTE: test_gpp2_compile (gcc.GccCompileTest.test_gpp2_compile)
NOTE: ... ok
NOTE: test_gpp_compile (gcc.GccCompileTest.test_gpp_compile)
NOTE: ... ok
NOTE: test_make (gcc.GccCompileTest.test_make)
NOTE: ... ok
NOTE: test_libhandy (gtk3.GTK3Test.test_libhandy)
NOTE: ... skipped 'gtk3.GTK3Test.test_libhandy does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15854)'
gtk3.GTK3Test.test_libhandy does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15854)
NOTE: test_cryptodev (kmod.KernelModuleTest.test_cryptodev)
NOTE: ... skipped 'kmod.KernelModuleTest.test_cryptodev does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15850)'
kmod.KernelModuleTest.test_cryptodev does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15850)
NOTE: test_lzip (makefile.MakefileTest.test_lzip)
NOTE: ... ok
NOTE: test_manifests (manifest.ManifestTest.test_manifests)
NOTE: ... ok
NOTE: test_maturin_develop (maturin.MaturinDevelopTest.test_maturin_develop)
NOTE: ... ERROR
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/core/case.py", line 54, in _oeSetUp
self.setUpMethod()
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/cases/maturin.py", line 35, in setUp
self.ensure_host_package("python3-maturin")
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 47, in ensure_host_package
self._run('devtool sdk-install %s' % recipe)
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 17, in _run
return subprocess.check_output(". %s > /dev/null; %s;" % \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: <exception str() failed>
Stdout:
Trying to install python3-maturin-native...
NOTE: test_maturin_list_python (maturin.MaturinTest.test_maturin_list_python)
NOTE: ... ERROR
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/core/case.py", line 54, in _oeSetUp
self.setUpMethod()
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/cases/maturin.py", line 19, in setUp
self.ensure_host_package("python3-maturin")
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 47, in ensure_host_package
self._run('devtool sdk-install %s' % recipe)
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 17, in _run
return subprocess.check_output(". %s > /dev/null; %s;" % \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: <exception str() failed>
Stdout:
Trying to install python3-maturin-native...
NOTE: test_epoxy (meson.MesonTest.test_epoxy)
NOTE: ... skipped 'meson.MesonTest.test_epoxy does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15854)'
meson.MesonTest.test_epoxy does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15854)
NOTE: test_perl (perl.PerlTest.test_perl)
NOTE: ... ok
NOTE: test_python3 (python.Python3Test.test_python3)
NOTE: ... ok
NOTE: test_cargo_build (rust.RustCompileTest.test_cargo_build)
NOTE: ... skipped "RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain"
RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain
NOTE: test_cargo_build (rust.RustHostCompileTest.test_cargo_build)
NOTE: ... skipped "RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain"
RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain
NOTE: test_devtool_add_reset (devtool.DevtoolTest.test_devtool_add_reset)
NOTE: ... ok
NOTE: test_devtool_build_cmake (devtool.DevtoolTest.test_devtool_build_cmake)
NOTE: ... ok
NOTE: test_devtool_build_esdk_package (devtool.DevtoolTest.test_devtool_build_esdk_package)
NOTE: ... ok
NOTE: test_devtool_build_make (devtool.DevtoolTest.test_devtool_build_make)
NOTE: ... ok
NOTE: test_devtool_kernelmodule (devtool.DevtoolTest.test_devtool_kernelmodule)
NOTE: ... ok
NOTE: test_devtool_location (devtool.DevtoolTest.test_devtool_location)
NOTE: ... ok
NOTE: test_extend_autotools_recipe_creation (devtool.DevtoolTest.test_extend_autotools_recipe_creation)
NOTE: ... ok
NOTE: test_recipes_for_nodejs (devtool.DevtoolTest.test_recipes_for_nodejs)
NOTE: ... ok
INFO: Copying the SDK to destination
INFO: Unpacking SDK
INFO: Successfully unpacked TOPDIR/tmp/work/qemuriscv32-poky-linux/core-image-minimal/1.0/testsdkext/esdk_publish/poky-glibc-x86_64-core-image-minimal-riscv32imafdc-qemuriscv32-toolchain-ext-5.2.99+snapshot.sh to TOPDIR/tmp/work/qemuriscv32-poky-linux/core-image-minimal/1.0/testsdkext/esdk_publish
INFO: SDK published successfully
NOTE: Started HTTPService for TOPDIR/tmp/work/qemuriscv32-poky-linux/core-image-minimal/1.0/testsdkext/esdk_publish on :38827
NOTE: test_sdk_update_http (devtool.SdkUpdateTest.test_sdk_update_http)
NOTE: "GET /conf/sdk-conf-manifest HTTP/1.1" 200 -
NOTE: ... ok
NOTE: Stopped HTTPService on :38827
NOTE: ======================================================================
NOTE: ERROR: test_maturin_develop (maturin.MaturinDevelopTest.test_maturin_develop)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/core/case.py", line 54, in _oeSetUp
self.setUpMethod()
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/cases/maturin.py", line 35, in setUp
self.ensure_host_package("python3-maturin")
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 47, in ensure_host_package
self._run('devtool sdk-install %s' % recipe)
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 17, in _run
return subprocess.check_output(". %s > /dev/null; %s;" % \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: <exception str() failed>
Stdout:
Trying to install python3-maturin-native...
======================================================================
NOTE: ERROR: test_maturin_list_python (maturin.MaturinTest.test_maturin_list_python)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/core/case.py", line 54, in _oeSetUp
self.setUpMethod()
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/cases/maturin.py", line 19, in setUp
self.ensure_host_package("python3-maturin")
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 47, in ensure_host_package
self._run('devtool sdk-install %s' % recipe)
File "/srv/pokybuild/yocto-worker/qemuriscv32/build/meta/lib/oeqa/sdk/case.py", line 17, in _run
return subprocess.check_output(". %s > /dev/null; %s;" % \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: <exception str() failed>
Stdout:
Trying to install python3-maturin-native...
----------------------------------------------------------------------
NOTE: Ran 26 tests in 579.783s
NOTE: FAILED
NOTE: (errors=2, skipped=5)
RESULTS:
RESULTS - autotools.AutotoolsTest.test_cpio: PASSED (29.10s)
RESULTS - cmake.CMakeTest.test_assimp: PASSED (65.79s)
RESULTS - gcc.GccCompileTest.test_gcc_compile: PASSED (0.12s)
RESULTS - gcc.GccCompileTest.test_gpp2_compile: PASSED (0.10s)
RESULTS - gcc.GccCompileTest.test_gpp_compile: PASSED (0.22s)
RESULTS - gcc.GccCompileTest.test_make: PASSED (0.11s)
RESULTS - makefile.MakefileTest.test_lzip: PASSED (1.43s)
RESULTS - manifest.ManifestTest.test_manifests: PASSED (0.00s)
RESULTS - perl.PerlTest.test_perl: PASSED (0.02s)
RESULTS - python.Python3Test.test_python3: PASSED (3.35s)
RESULTS - devtool.DevtoolTest.test_devtool_add_reset: PASSED (10.83s)
RESULTS - devtool.DevtoolTest.test_devtool_build_cmake: PASSED (27.95s)
RESULTS - devtool.DevtoolTest.test_devtool_build_esdk_package: PASSED (24.01s)
RESULTS - devtool.DevtoolTest.test_devtool_build_make: PASSED (26.37s)
RESULTS - devtool.DevtoolTest.test_devtool_kernelmodule: PASSED (253.77s)
RESULTS - devtool.DevtoolTest.test_devtool_location: PASSED (0.01s)
RESULTS - devtool.DevtoolTest.test_extend_autotools_recipe_creation: PASSED (76.37s)
RESULTS - devtool.DevtoolTest.test_recipes_for_nodejs: PASSED (14.13s)
RESULTS - devtool.SdkUpdateTest.test_sdk_update_http: PASSED (1.33s)
RESULTS - gtk3.GTK3Test.test_libhandy: SKIPPED (0.00s)
RESULTS - kmod.KernelModuleTest.test_cryptodev: SKIPPED (0.00s)
RESULTS - meson.MesonTest.test_epoxy: SKIPPED (0.00s)
RESULTS - rust.RustCompileTest.test_cargo_build: SKIPPED (0.00s)
RESULTS - rust.RustHostCompileTest.test_cargo_build: SKIPPED (0.00s)
RESULTS - maturin.MaturinDevelopTest.test_maturin_develop: ERROR (13.13s)
RESULTS - maturin.MaturinTest.test_maturin_list_python: ERROR (9.28s)
SUMMARY:
core-image-minimal esdk (poky-glibc-x86_64-core-image-minimal-riscv32imafdc-qemuriscv32-toolchain-ext-5.2.99+snapshot.sh:environment-setup-riscv32imafdc-poky-linux) - Ran 26 tests in 579.783s
core-image-minimal esdk - FAIL - Required tests failed (successes=19, skipped=5, failures=0, errors=2)
ERROR: core-image-minimal - FAILED - check the task log and the commands log
Stdout:
Trying to install python3-maturin-native...
Stdout:
Trying to install python3-maturin-native...
DEBUG: Python function do_testsdkext finished