| Summary: | oe-selftest: test_maintainers fails with oe-core works with poky | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Randy MacLeod <randy.macleod> |
| Component: | oe-core other | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | ||
| Version: | 3.3 | ||
| Target Milestone: | 3.4 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Issue is caused by different PACKAGE_CLASSES defaults between OE-Core and poky. Patch sent to make it work in both cases. |
If you run: oe-selftest -r distrodata.Distrodata.test_maintainers using poky: c8075ed8f1 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes it passes: 2021-03-04 17:13:37,706 - oe-selftest - INFO - Ran 1 test in 113.987s 2021-03-04 17:13:37,706 - oe-selftest - INFO - OK 2021-03-04 17:13:44,049 - oe-selftest - INFO - RESULTS: 2021-03-04 17:13:44,050 - oe-selftest - INFO - RESULTS - distrodata.Distrodata.test_maintainers: PASSED (111.00s) 2021-03-04 17:13:44,050 - oe-selftest - INFO - SUMMARY: 2021-03-04 17:13:44,051 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 113.988s 2021-03-04 17:13:44,051 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) but with oe-core: 6db24928d6 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes and bitbake: d0f5c590 fetch2/wget: Avoid crashing when connection drops mid checkstatus it fails due to the error: 2021-03-04 17:21:32,878 - oe-selftest - INFO - ====================================================================== 2021-03-04 17:21:32,878 - oe-selftest - INFO - FAIL: test_maintainers (distrodata.Distrodata) 2021-03-04 17:21:32,878 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-03-04 17:21:32,879 - oe-selftest - INFO - Traceback (most recent call last): File "/buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/lib/oeqa/selftest/cases/distrodata.py", line 116, in test_maintainers self.fail(""" AssertionError: Unable to find recipes for the following entries in maintainers.inc: libdnf dnf Stdout: WARNING: Duplicate inclusion for /buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/conf/distro/include/maintainers.inc in /buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/conf/distro/defaultsetup.conf Loading cache...done. Loaded 0 entries from dependency cache. Parsing recipes...done. Parsing of 850 .bb files complete (0 cached, 850 parsed). 1478 targets, 24 skipped, 0 masked, 0 errors.