From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Fam Zheng" <fam@euphon.net>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: [PATCH] tests: update for rename of CentOS8 PowerTools repo
Date: Wed, 16 Dec 2020 16:16:57 +0000 [thread overview]
Message-ID: <20201216161657.GL189795@redhat.com> (raw)
In-Reply-To: <CAFEAcA_QnRHEefC5sjDRc4V6GvxTn96wDf-b7gyg5wSRoJ7nmQ@mail.gmail.com>
On Wed, Dec 16, 2020 at 04:10:56PM +0000, Peter Maydell wrote:
> On Wed, 16 Dec 2020 at 14:21, Daniel P. Berrangé <berrange@redhat.com> wrote:
> >
> > This was intentionally renamed recently to be all lowercase:
> >
> > https://bugs.centos.org/view.php?id=17920
> > https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2011#Yum_repo_file_and_repoid_changes
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> >
> > This needs to be merged asap, as CI will break for anyone whose branch
> > triggers a rebuild of the centos container image.
> >
> > eg current broken git master:
> >
> > https://gitlab.com/berrange/qemu/-/jobs/915852165
> >
> > vs with this fix
> >
> > https://gitlab.com/berrange/qemu/-/jobs/915862731
> >
> > tests/docker/dockerfiles/centos8.docker | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/docker/dockerfiles/centos8.docker b/tests/docker/dockerfiles/centos8.docker
> > index 54bc6d54cd..06b67962fd 100644
> > --- a/tests/docker/dockerfiles/centos8.docker
> > +++ b/tests/docker/dockerfiles/centos8.docker
> > @@ -31,6 +31,6 @@ ENV PACKAGES \
> > zlib-devel
> >
> > RUN dnf install -y dnf-plugins-core && \
> > - dnf config-manager --set-enabled PowerTools && \
> > + dnf config-manager --set-enabled powertools && \
> > dnf install -y $PACKAGES
> > RUN rpm -q $PACKAGES | sort > /packages.txt
>
> I tried a test merge of this but it fails in Gitlab CI:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/916041167
>
> #6 7.706 Error: No matching repo to modify: powertools.
> #6 ERROR: executor failed running [/bin/sh -c dnf install -y
> dnf-plugins-core && dnf config-manager --set-enabled powertools && dnf
> install -y $PACKAGES]: exit code: 1
#4 [1/4] FROM docker.io/library/centos:8.1.1911@sha256:fe8d824220415eed5477...
#4 DONE 0.0s
#5 [2/4] RUN dnf -y update
#5 CACHED
Looks like in the main repo, it is using cached container layer for
the "dnf -y update" command, and so not pulling in the new centos-release
package.
In forks where the cache is not valid, it'll really run the "dnf update"
command and see the failure.
I think if you go to
https://gitlab.com/qemu-project/qemu/container_registry
and delete the currently cached centos8 image, then all subsequent runs
will fail until this patch is merged.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2020-12-16 16:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-16 14:16 [PATCH] tests: update for rename of CentOS8 PowerTools repo Daniel P. Berrangé
2020-12-16 15:23 ` Willian Rampazzo
2020-12-16 16:10 ` Peter Maydell
2020-12-16 16:16 ` Daniel P. Berrangé [this message]
2020-12-16 16:58 ` Mark Cave-Ayland
2020-12-16 16:19 ` Alex Bennée
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=20201216161657.GL189795@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=fam@euphon.net \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.