On 2021-02-25 11:55 a.m., Richard Purdie wrote:
oe-selftest -r distrodata.Distrodata.test_maintainers

so the maintainers entries aren't quite right which is easy to fix and

Yes fixing the rust/cargo maintainers entries was easy.

Of course there here was a 'simple' libdnf/dnf problem remaining and
what's odd is that it only shows up when using oe-core.
    Unable to find recipes for the following entries in maintainers.inc:
    dnf
    libdnf

These two recipes are not being returned from:
               for fn in tinfoil.all_recipe_files(variants=False):


Oddly enough, when using poky, there is no such error!

Have you seen such a problem before?
Any tips other than move onto the other issues?

../Randy

2021-03-01 20:35:52,119 -
oe-selftest - INFO - ====================================================================== 2021-03-01 20:35:52,119 - oe-selftest - INFO - FAIL: test_maintainers (distrodata.Distrodata) 2021-03-01 20:35:52,119 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-03-01 20:35:52,119 - oe-selftest - INFO - Traceback (most recent call last): File "/home/src/distro/yocto/oe-core.git/meta/lib/oeqa/selftest/cases/distrodata.py", line 122, in test_maintainers
self.fail("""
AssertionError:
Unable to find recipes for the following entries in maintainers.inc:
dnf
libdnf

Stdout:
WARNING: Duplicate inclusion for /home/src/distro/yocto/oe-core.git/meta/conf/distro/include/maintainers.inc in
/home/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.

Summary: There was 1 WARNING message shown.




The tinfoil is remarkably hard to bash (or strace) my head though!
I'm learning how to do that albeit slowly.

Oh, I tried the obvious hammer approach of strace -f and
see that libdnf_ is opened in both logs:

 grep libdnf_ /tmp/*log
/tmp/oe-selftest-dd-poky.log:46926 stat("/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", <unfinished ...> /tmp/oe-selftest-dd-poky.log:46926 stat("/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", <unfinished ...> /tmp/oe-selftest-dd-poky.log:46926 openat(AT_FDCWD, "/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", O_RDONLY|O_CLOEXEC <unfinished ...> /tmp/oe-selftest-dd-poky.log:46904 stat("/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", {st_mode=S_IFREG|0664, st_size=1945, ...}) = 0 /tmp/oe-selftest-dd-poky.log:46904 stat("/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", {st_mode=S_IFREG|0664, st_size=1945, ...}) = 0 /tmp/oe-selftest-dd-poky.log:46904 openat(AT_FDCWD, "/home/src/distro/yocto/poky.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", O_RDONLY|O_CLOEXEC) = 20 /tmp/oe-st-maint.log:13543 stat("/home/src/distro/yocto/oe-core.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", <unfinished ...> /tmp/oe-st-maint.log:13543 stat("/home/src/distro/yocto/oe-core.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", <unfinished ...> /tmp/oe-st-maint.log:13543 openat(AT_FDCWD, "/home/src/distro/yocto/oe-core.git/meta/recipes-devtools/libdnf/libdnf_0.55.2.bb", O_RDONLY|O_CLOEXEC <unfinished ...>

I also put a new recipe in the same dir as libdnf and of course the test complains about it.


--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148819): 
https://lists.openembedded.org/g/openembedded-core/message/148819
Mute This Topic: https://lists.openembedded.org/mt/80893251/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to