Please do not rapid-send new patches before I get a chance to look into what went wrong.
I suppose we have to add pam to REQUIRED_DISTRO_FEATURES in the systemd recipe, then fix all the spots where systemd is enabled, but pam is not. For example the above is from ../meta/lib/oeqa/selftest/cases/overlayfs.py. Yes, it's also possible to suppress the runtime message through log checker exception list, but this would sweep the issue under the carpet. Soft failure is still a failure. Alex On Mon, 31 Jul 2023 at 19:22, Luca Boccassi <luca.bocca...@gmail.com> wrote: > > On Mon, 31 Jul 2023 at 18:13, Alexandre Belloni > <alexandre.bell...@bootlin.com> wrote: > > > > On 31/07/2023 17:56:05+0100, Luca Bocassi wrote: > > > On Mon, 31 Jul 2023 at 17:40, Alexandre Belloni > > > <alexandre.bell...@bootlin.com> wrote: > > > > > > > > Hello, > > > > > > > > This causes the following failure: > > > > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/5570/steps/14/logs/stdio > > > > > > > > 2023-07-30 21:25:44,944 - oe-selftest - INFO - > > > > testtools.testresult.real._StringException: Traceback (most recent call > > > > last): > > > > File > > > > "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/overlayfs.py", > > > > line 297, in test_all_required_variables_set > > > > self.assertTrue(line, msg=res.output) > > > > File "/usr/lib/python3.10/unittest/case.py", line 687, in assertTrue > > > > raise self.failureException(msg) > > > > AssertionError: None is not true : NOTE: Reconnecting to bitbake > > > > server... > > > > Loading cache...done. > > > > Loaded 0 entries from dependency cache. > > > > Parsing recipes...done. > > > > Parsing of 954 .bb files complete (0 cached, 954 parsed). 1878 targets, > > > > 53 skipped, 0 masked, 0 errors. > > > > NOTE: Resolving any missing task queue dependencies > > > > ERROR: Nothing RPROVIDES 'pam-plugin-umask' (but > > > > /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/recipes-core/systemd/systemd_254.bb > > > > RDEPENDS on or otherwise requires it) > > > > NOTE: Runtime target 'pam-plugin-umask' is unbuildable, removing... > > > > Missing or unbuildable dependency chain was: ['pam-plugin-umask'] > > > > NOTE: Runtime target 'udev' is unbuildable, removing... > > > > Missing or unbuildable dependency chain was: ['udev', > > > > 'pam-plugin-umask'] > > > > NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, > > > > removing... > > > > Missing or unbuildable dependency chain was: ['packagegroup-core-boot', > > > > 'udev', 'pam-plugin-umask'] > > > > ERROR: Required build target 'core-image-minimal' has no buildable > > > > providers. > > > > Missing or unbuildable dependency chain was: ['core-image-minimal', > > > > 'packagegroup-core-boot', 'udev', 'pam-plugin-umask'] > > > > Summary: There were 2 ERROR messages, returning a non-zero exit code. > > > > > > > > It repeats for other runtime tests. > > > > > > I added that on Alex's request. So it's either that failure, or the > > > ignorable log message? I'll send a v5 without the recommends then. > > > > In any case, you are going to have to fix the tests > > Which test? There was a warning if the optional pam module is not > installed, just ignore it, it's harmless.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#185154): https://lists.openembedded.org/g/openembedded-core/message/185154 Mute This Topic: https://lists.openembedded.org/mt/100459438/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-