All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nicolas Dechesne" <nicolas.dechesne@linaro.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	Anuj Mittal <anuj.mittal@intel.com>,
	 Steve Sakoman <steve@sakoman.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>,
	 Alexandre Belloni <alexandre.belloni@bootlin.com>
Subject: Re: [OE-core] [PATCH 0/4] yocto-check-layer: add support to check for dependencies
Date: Mon, 2 Aug 2021 12:35:02 +0200	[thread overview]
Message-ID: <CAP71Wjz5-CQJ7nJzRU+Kij7itOLFeyxsyYkc=XGm=U5iWHqN7w@mail.gmail.com> (raw)
In-Reply-To: <98ab2870e07ad6d296d29322b7ee78bade43b9ea.camel@linuxfoundation.org>

[-- Attachment #1: Type: text/plain, Size: 2858 bytes --]

Richard, Steve, Anuj,


On Fri, Jul 30, 2021 at 11:28 AM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Fri, 2021-07-30 at 11:08 +0200, Nicolas Dechesne wrote:
> >
> >
> > On Fri, Jul 30, 2021 at 10:03 AM Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
> > > On Thu, 2021-07-22 at 14:46 +0200, Nicolas Dechesne wrote:
> > > > It has been recentely mentioned to me by the YP TSC that a layer must
> > > > not only pass the yocto-check-layer script, but also all its
> > > > dependencies. These patches add support for testing dependencies
> > > > automatically.
> > > >
> > > > Patch #1 and #3 are not much related, but improvements I made along
> > > > the lines.
> > > >
> > > > Patch #2 split the internal function into 2 parts, so that we can get
> > > > the list of dependencies from the main script.
> > > >
> > > > Patch #4 is where the processing of the dependencies is done. I chose
> > > > to enable checking the dependencies by default, and use
> > > > '--no-auto-dependency' to disable it, we could decide the other way
> > > > around. For any dependency of the 'layers under test' we will simply
> > > > add them to the list of layers to test unless they are already there.
> > > >
> > > > Here is a sample output with these changes:
> > > >
> > > > $ yocto-check-layer /work/oe/sources/meta-aws \
> > > >                     --dependency /work/oe/sources/meta-openembedded/
> > > >
> > > > INFO: Summary of results:
> > > > INFO:
> > > > INFO: meta-aws ... PASS
> > > > INFO: meta-python ... PASS
> > > > INFO: meta-oe ... PASS
> > > > INFO: meta-networking ... PASS
> > >
> > > We merged this but have started seeing:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/166
> > >
> > > which seems a little strange and is probably related to this series.
> > >
> >
> >
> > yes, it's related.
> >
> > ...
> > INFO: Adding meta-poky to the list of layers to test, as a dependency
> > ...
> > INFO: meta-poky ... SKIPPED (Layer under test should not present in
> BBLAYERS)
> >
> > With these changes, we are now adding all dependencies and trying to
> test them too. But meta-poky seems to
> > be in bblayers.conf, and yocto-check-layer won't work since it needs to
> compute all checksum *without* the
> > layer in the config first.
> >
> > It is probably a good idea to make sure bblayers only has oe-core when
> we try to perform YP compat.
> > Alternatively, as discussed, we use --no-auto-dependency on AB..
>
> Fair enough, I'll update the config to do that.
>

These patches are now merged in master, and I believe they should be merged
in dunfell and hardknott too. The 4 patches apply as-is in both branches.
Let me know if you need anything from me!



>
> Cheers,
>
> Richard
>
> >
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4101 bytes --]

  reply	other threads:[~2021-08-02 10:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 12:46 [PATCH 0/4] yocto-check-layer: add support to check for dependencies Nicolas Dechesne
2021-07-22 12:46 ` [PATCH 1/4] yocto-check-layer: improve missed dependencies Nicolas Dechesne
2021-07-22 12:46 ` [PATCH 2/4] checklayer: new function get_layer_dependencies() Nicolas Dechesne
2021-07-22 12:46 ` [PATCH 3/4] checklayer: rename _find_layer_depends Nicolas Dechesne
2021-07-22 12:46 ` [PATCH 4/4] yocto-check-layer: ensure that all layer dependencies are tested too Nicolas Dechesne
2021-07-22 13:16   ` [OE-core] " Bruce Ashfield
2021-07-22 13:22     ` Armin Kuster
2021-07-22 20:46     ` Richard Purdie
2021-07-23  3:29       ` Bruce Ashfield
2021-07-22 12:51 ` [OE-core] [PATCH 0/4] yocto-check-layer: add support to check for dependencies Richard Purdie
2021-07-22 13:00   ` Nicolas Dechesne
2021-07-30  8:02 ` Richard Purdie
2021-07-30  9:08   ` Nicolas Dechesne
2021-07-30  9:27     ` Richard Purdie
2021-08-02 10:35       ` Nicolas Dechesne [this message]
2021-08-02 14:57         ` Steve Sakoman
2021-08-02 15:04           ` Richard Purdie
2021-08-02 15:07             ` Steve Sakoman
2021-08-04  2:14               ` Denys Dmytriyenko
2021-08-04 15:10                 ` Steve Sakoman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP71Wjz5-CQJ7nJzRU+Kij7itOLFeyxsyYkc=XGm=U5iWHqN7w@mail.gmail.com' \
    --to=nicolas.dechesne@linaro.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=anuj.mittal@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=steve@sakoman.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.