Hi all,
I cloned dunfell branch of openembeddedcore, and builded base image without any error.
when i am running oeselftest sanity test, some test case are passing and some are failing.
I am facing issue:-
kush@virtual-machine:~/base/sources/build$ oe-selftest -r archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name
2023-02-06 10:47:18,229 - oe-selftest - INFO - Adding layer libraries:
2023-02-06 10:47:18,230 - oe-selftest - INFO - /home/kush/base/sources/openembedded-core/meta/lib
2023-02-06 10:47:18,230 - oe-selftest - INFO - /home/kush/base/sources/meta-openembedded/meta-oe/lib
2023-02-06 10:47:18,230 - oe-selftest - INFO - /home/kush/base/sources/openembedded-core/meta-selftest/lib
2023-02-06 10:47:18,231 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2023-02-06 10:47:20,581 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2023-02-06 10:47:49,227 - oe-selftest - INFO - ... FAIL
2023-02-06 10:47:49,228 - oe-selftest - INFO - Traceback (most recent call last):
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 32, in test_archiver_allows_to_filter_on_recipe_name
bitbake("-c deploy_archives %s %s" % (include_recipe, exclude_recipe))
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/utils/commands.py", line 221, in bitbake
return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/utils/commands.py", line 199, in runCmd
raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake -c deploy_archives busybox zlib' returned non-zero exit status 1:
Initialising tasks...ERROR: Task do_deploy_archives does not exist for target busybox (/home/kush/base/sources/openembedded-core/meta/recipes-core/busybox/busybox_1.31.1.bb:do_deploy_archives)
ERROR: Command execution failed: 1
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
2023-02-06 10:47:49,230 - oe-selftest - INFO - ======================================================================
2023-02-06 10:47:49,230 - oe-selftest - INFO - FAIL: test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2023-02-06 10:47:49,231 - oe-selftest - INFO - ----------------------------------------------------------------------
2023-02-06 10:47:49,231 - oe-selftest - INFO - Traceback (most recent call last):
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/selftest/cases/archiver.py", line 32, in test_archiver_allows_to_filter_on_recipe_name
bitbake("-c deploy_archives %s %s" % (include_recipe, exclude_recipe))
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/utils/commands.py", line 221, in bitbake
return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
File "/home/kush/base/sources/openembedded-core/meta/lib/oeqa/utils/commands.py", line 199, in runCmd
raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake -c deploy_archives busybox zlib' returned non-zero exit status 1:
Loading cache...done.
Loaded 3838 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.31 of glibc not available (for item virtual/libc)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item libsegfault)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item glibc-dev)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item glibc-utils)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item ldconfig)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item virtual/libintl)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
NOTE: preferred version 2.31 of glibc not available (for item virtual/libiconv)
NOTE: versions of glibc available: 2.31+gitAUTOINC+1094741224
Initialising tasks...ERROR: Task do_deploy_archives does not exist for target busybox (/home/kush/base/sources/openembedded-core/meta/recipes-core/busybox/busybox_1.31.1.bb:do_deploy_archives)
ERROR: Command execution failed: 1
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
----------------------------------------------------------------------
2023-02-06 10:47:49,231 - oe-selftest - INFO - Ran 1 test in 28.650s
2023-02-06 10:47:49,232 - oe-selftest - INFO - FAILED
2023-02-06 10:47:49,232 - oe-selftest - INFO - (failures=1)
2023-02-06 10:47:52,125 - oe-selftest - INFO - RESULTS:
2023-02-06 10:47:52,126 - oe-selftest - INFO - RESULTS - archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name: FAILED (28.65s)
2023-02-06 10:47:52,128 - oe-selftest - INFO - SUMMARY:
2023-02-06 10:47:52,128 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 29.886s
2023-02-06 10:47:52,129 - oe-selftest - INFO - oe-selftest - FAIL - Required tests failed (successes=0, skipped=0, failures=1, errors=0)
Can anyone suggest me what is missing here, why it is failing, I am not getting, please help me to verify sanity oeselftest.
T&R
Kush