public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: Bret Barkelew <Bret.Barkelew@microsoft.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	"rebecca@nuviainc.com" <rebecca@nuviainc.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [EXTERNAL] Re: [edk2-devel] generating the test matrix for local CI runs
Date: Thu, 4 Mar 2021 20:07:10 +0100	[thread overview]
Message-ID: <eb67bf9a-4910-042e-0af6-44e377753230@redhat.com> (raw)
In-Reply-To: <MW4PR21MB1907060C63A0C85D77BFD537EF979@MW4PR21MB1907.namprd21.prod.outlook.com>

On 03/04/21 19:32, Bret Barkelew wrote:

> Can you share the specific PR you\x19re failing so that we can talk in
> concrete terms?

Sure.

In January, I posted the following patch series:

  [edk2-devel] [PATCH 0/8]
  ShellPkg, ArmVirtPkg, OvmfPkg: shell usability improvements

  https://edk2.groups.io/g/devel/message/69590
  https://www.redhat.com/archives/edk2-devel-archive/2021-January/msg00070.html
  Message-Id: 20210104154235.31785-1-lersek@redhat.com

This series cleared my local CI just fine (both Windows and Linux VM),
before I posted it.

When review was done, I attempted to merge the series:

  https://github.com/tianocore/edk2/pull/1336

Although the PR does not show it now (or at least I cannot make it show
it), the github CI uncovered a real problem in my patch set, one that my
local run missed.

Namely, I had added an OrderedCollectionLib class dependency to the
(singleton) UefiShellCommandLib instance, but failed to resolve the
OrderedCollectionLib class in the EmulatorPkg and UefiPayloadPkg DSC
files. Consequently, those DSC files would no longer build. My local CI
runs didn't extend to these packages, but -- thankfully -- the
github.com-based CI did.

In v2, I added one extra patch for each of EmulatorPkg and
UefiPayloadPkg DSC:

  [edk2-devel] [PATCH v2 00/10]
  multiple packages: shell usability improvements

  https://edk2.groups.io/g/devel/message/70216
  https://www.redhat.com/archives/edk2-devel-archive/2021-January/msg00700.html
  Message-Id: 20210113085453.10168-1-lersek@redhat.com

(What's more, I tracked down the DSC files in edk2-platforms that used
to build the shell, and I resolved the OrderedCollectionLib class in
them as well -- see the links inside the above-referenced blurbs.)

The v2 CI succeded on github (personal, then merge):

  https://github.com/tianocore/edk2/pull/1337
  https://github.com/tianocore/edk2/pull/1370

In summary, the bug (in my local CI usage) was that I didn't cover
EmulatorPkg and UefiPayloadPkg.

So, I'd like if the local test builds determined the affected set of
packages as well -- I'd like to be *unable* to miss EmulatorPkg and
UefiPayloadPkg in the above type of situation.

Thanks!
Laszlo


  reply	other threads:[~2021-03-04 19:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 17:04 generating the test matrix for local CI runs Laszlo Ersek
2021-03-04 17:45 ` [edk2-devel] " Rebecca Cran
2021-03-04 17:56   ` [EXTERNAL] " Bret Barkelew
2021-03-04 18:20     ` Bret Barkelew
2021-03-04 18:32       ` Bret Barkelew
2021-03-04 19:07         ` Laszlo Ersek [this message]
2021-03-04 18:45       ` Laszlo Ersek

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-list 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=eb67bf9a-4910-042e-0af6-44e377753230@redhat.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox