Skip to contentSkip to conversation

automation: Update containers to allow HTTPS access to xenbits

PATCH Superseded Anthony PERARD 3 participants 17 messages Feb 15, 2023 – Feb 16, 2023

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover automation: Update containers to allow HTTPS access to xenbits

Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.gitlab-containers-update-v1

There is work in progress [1] to update urls in our repo to use https, but those https urls to xenbits don't work in our containers, due to an expired root certificate. So we need to update those containers.

This series update the dockerfile where just rebuilding the container isn't enough.

I've tested the new containers but didn't updated them yet. You can see the result in the following links (if you can access them). There are other containers been test which didn't need dockerfile update.

    https://gitlab.com/xen-project/people/anthonyper/xen/-/pipelines/777474218
    https://gitlab.com/xen-project/people/anthonyper/xen/-/pipelines/778218868

Building randconfig on debian unstable seems to be an issue.

[1] https://lore.kernel.org/xen-devel/75d91def8234bceb41548147ee8af5fea52bd1d6.1675889602.git.demi@invisiblethingslab.com/

Cheers,

Anthony PERARD (4):
automation: Remove clang-8 from Debian unstable container
automation: Ignore package authentification issue in Jessie container
automation: Remove expired root certificates used to be used by let's
encrypt
automation: Add more aliases in containerize

 automation/build/centos/7.2.dockerfile         |  5 +++++
 automation/build/centos/7.dockerfile           |  5 +++++
 automation/build/debian/jessie-i386.dockerfile |  7 +++++++
 automation/build/debian/jessie.dockerfile      |  7 +++++++
 automation/build/debian/unstable-llvm-8.list   |  3 ---
 automation/build/debian/unstable.dockerfile    | 12 ------------
 automation/build/ubuntu/trusty.dockerfile      |  5 +++++
 automation/gitlab-ci/build.yaml                | 10 ----------
 automation/scripts/containerize                |  3 +++
 9 files changed, 32 insertions(+), 25 deletions(-)
 delete mode 100644 automation/build/debian/unstable-llvm-8.list
Signature · 1 line
Anthony PERARD
#1 lore raw

PATCH 1/4 automation: Remove clang-8 from Debian unstable container

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

clang on Debian unstable is now version 14.0.6.

---

Current container have:

root@f3d1fc4f58c7:/build# clang --version
clang version 8.0.1- (branches/release_80)
root@113cb5730b2a:/build# clang-8 --version
clang version 8.0.1- (branches/release_80)

(built about 3years ago)

---
 automation/build/debian/unstable-llvm-8.list |  3 ---
 automation/build/debian/unstable.dockerfile  | 12 ------------
 automation/gitlab-ci/build.yaml              | 10 ----------
 3 files changed, 25 deletions(-)
 delete mode 100644 automation/build/debian/unstable-llvm-8.list
automation/build/debian/unstable-llvm-8.list deleted +0 -3
deleted file mode 100644
index dc119fa0b4..0000000000
@@ -1,3 +0,0 @@
-# Unstable LLVM 8 repos
-deb http://apt.llvm.org/unstable/ llvm-toolchain-8 main
-deb-src http://apt.llvm.org/unstable/ llvm-toolchain-8 main
automation/build/debian/unstable.dockerfile +0 -12
index 9de766d596..b560337b7a 100644
@@ -51,15 +51,3 @@ RUN apt-get update && \
         apt-get autoremove -y && \
         apt-get clean && \
         rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
-
-RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -
-COPY unstable-llvm-8.list /etc/apt/sources.list.d/
-
-RUN apt-get update && \
-    apt-get --quiet --yes install \
-        clang-8 \
-        lld-8 \
-        && \
-        apt-get autoremove -y && \
-        apt-get clean && \
-        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
automation/gitlab-ci/build.yaml +0 -10
index a053c5c732..7d8af93653 100644
@@ -339,16 +339,6 @@ debian-unstable-clang-debug:
   variables:
     CONTAINER: debian:unstable
 
-debian-unstable-clang-8:
-  extends: .clang-8-x86-64-build
-  variables:
-    CONTAINER: debian:unstable
-
-debian-unstable-clang-8-debug:
-  extends: .clang-8-x86-64-build-debug
-  variables:
-    CONTAINER: debian:unstable
-
 debian-unstable-gcc:
   extends: .gcc-x86-64-build
   variables:
Signature · 1 line
Anthony PERARD
Acked-by on v1 1/4
#2 lore raw

Re: [XEN PATCH 1/4] automation: Remove clang-8 from Debian unstable container

Quoted 13 lines · Anthony PERARD

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

Quoted 3 lines

clang on Debian unstable is now version 14.0.6.

Yeah that's because clang 8 is way obsolete, and http://apt.llvm.org
only supports Clang 15 and later now.

In hindsight, it was a mistake to take unstable-llvm-8.list in the first place.

#3 lore raw

Re: [XEN PATCH 1/4] automation: Remove clang-8 from Debian unstable container

Quoted 18 lines · Andrew Cooper
Quoted 13 lines · Anthony PERARD

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

Quoted 3 lines

clang on Debian unstable is now version 14.0.6.

Quoted 7 lines

Yeah that's because clang 8 is way obsolete, and http://apt.llvm.org
only supports Clang 15 and later now.

In hindsight, it was a mistake to take unstable-llvm-8.list in the first place.

I just realize that this change is going to break gitlab testing in the staging-4* branches. So I guess this mean that we will have to backport this patch, or at least the gitlab-ci part.

Signature · 1 line
Anthony PERARD
#4 lore raw

Re: [XEN PATCH 1/4] automation: Remove clang-8 from Debian unstable container

Quoted 21 lines · Anthony PERARD
Quoted 20 lines · Andrew Cooper
Quoted 13 lines · Anthony PERARD

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

Quoted 3 lines

clang on Debian unstable is now version 14.0.6.

Yeah that's because clang 8 is way obsolete, and http://apt.llvm.org
only supports Clang 15 and later now.

Quoted 7 lines
Quoted 4 lines

In hindsight, it was a mistake to take unstable-llvm-8.list in the first place.

I just realize that this change is going to break gitlab testing in the staging-4* branches. So I guess this mean that we will have to backport this patch, or at least the gitlab-ci part.

I don't think it will.  The currently cached container is still "good" for the older branches to use, but we ought to backport the change nevertheless.

Given that the container is un(re)buildable anyway, we're not losing anything, I don't think.

~Andrew

#5 lore raw

Re: [XEN PATCH 1/4] automation: Remove clang-8 from Debian unstable container

Quoted 29 lines · Andrew Cooper
Quoted 21 lines · Anthony PERARD
Quoted 20 lines · Andrew Cooper
Quoted 13 lines · Anthony PERARD

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

Quoted 3 lines

clang on Debian unstable is now version 14.0.6.

Yeah that's because clang 8 is way obsolete, and http://apt.llvm.org
only supports Clang 15 and later now.

Quoted 7 lines
Quoted 4 lines

In hindsight, it was a mistake to take unstable-llvm-8.list in the first place.

I just realize that this change is going to break gitlab testing in the staging-4* branches. So I guess this mean that we will have to backport this patch, or at least the gitlab-ci part.

Quoted 6 lines

I don't think it will.  The currently cached container is still "good" for the older branches to use, but we ought to backport the change nevertheless.

Given that the container is un(re)buildable anyway, we're not losing anything, I don't think.

Ah, so.  Applying just this patch won't break older trees.

But applying this patch, and patch 3, then rebuilding the the debian unstable container will break older branches, because there will no longer be anything called clang-8 in the container.

This demonstrates even more that referencing the compiler by exact version is a mistake.  As is using names like unstable.

As I said up front when we added CI of this form, we were always going to retrofit some changes to all branches (including the security-only branches) to keep this working.  These chicken are coming back to roost.

~Andrew

#6 lore raw

Re: [XEN PATCH 1/4] automation: Remove clang-8 from Debian unstable container

Quoted 43 lines · Andrew Cooper
Quoted 29 lines · Andrew Cooper
Quoted 21 lines · Anthony PERARD
Quoted 20 lines · Andrew Cooper
Quoted 13 lines · Anthony PERARD

First, apt complain that it isn't the right way to add keys anymore, but hopefully that's just a warning.

Second, we can't install clang-8:
The following packages have unmet dependencies:
clang-8 : Depends: libstdc++-8-dev but it is not installable
Depends: libgcc-8-dev but it is not installable
Depends: libobjc-8-dev but it is not installable
Recommends: llvm-8-dev but it is not going to be installed
Recommends: libomp-8-dev but it is not going to be installed
libllvm8 : Depends: libffi7 (>= 3.3~20180313) but it is not installable
E: Unable to correct problems, you have held broken packages.

Quoted 3 lines

clang on Debian unstable is now version 14.0.6.

Yeah that's because clang 8 is way obsolete, and http://apt.llvm.org
only supports Clang 15 and later now.

Quoted 7 lines
Quoted 4 lines

In hindsight, it was a mistake to take unstable-llvm-8.list in the first place.

I just realize that this change is going to break gitlab testing in the staging-4* branches. So I guess this mean that we will have to backport this patch, or at least the gitlab-ci part.

Quoted 6 lines

I don't think it will.  The currently cached container is still "good" for the older branches to use, but we ought to backport the change nevertheless.

Given that the container is un(re)buildable anyway, we're not losing anything, I don't think.

Ah, so.  Applying just this patch won't break older trees.

But applying this patch, and patch 3, then rebuilding the the debian unstable container will break older branches, because there will no longer be anything called clang-8 in the container.

Quoted 6 lines

This demonstrates even more that referencing the compiler by exact version is a mistake.  As is using names like unstable.

As I said up front when we added CI of this form, we were always going to retrofit some changes to all branches (including the security-only branches) to keep this working.  These chicken are coming back to roost.

Yes. Like you said, I think we should backport this patch (or just the part of it affecting .gitlab*) to the stable trees.

#7 lore raw

PATCH 2/4 automation: Ignore package authentification issue in Jessie container

In reply to Anthony PERARD

We can't easily install package on Debian Jessie anymore, the release
keys seems to have expired without a way to get new ones. We have
these warning:
W: GPG error: http://deb.debian.org jessie-updates InRelease: The following signatures were invalid: KEYEXPIRED 1668891673
W: GPG error: http://deb.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673

So, from now on, ignore the warning and force the installation of packages that can't be authenticated.

---

Or, we could just not test on Jessie anymore.

---
 automation/build/debian/jessie-i386.dockerfile | 2 ++
 automation/build/debian/jessie.dockerfile      | 2 ++
 2 files changed, 4 insertions(+)
automation/build/debian/jessie-i386.dockerfile +2 -0
index 3f86d91f63..c617b6fbfb 100644
@@ -13,6 +13,8 @@ ENTRYPOINT ["linux32"]
 # build depends
 RUN apt-get update && \
     apt-get --quiet --yes install \
+        # WARNING! Force installation to ignore expired release key
+        --force-yes \
         build-essential \
         zlib1g-dev \
         libncurses5-dev \
automation/build/debian/jessie.dockerfile +2 -0
index 2f19adcad3..8918b26d75 100644
@@ -11,6 +11,8 @@ WORKDIR /build
 # build depends
 RUN apt-get update && \
     apt-get --quiet --yes install \
+        # WARNING! Force installation to ignore expired release key
+        --force-yes \
         build-essential \
         zlib1g-dev \
         libncurses5-dev \
Signature · 1 line
Anthony PERARD
#8 lore raw

Re: [XEN PATCH 2/4] automation: Ignore package authentification issue in Jessie container

Quoted 6 lines · Anthony PERARD

We can't easily install package on Debian Jessie anymore, the release
keys seems to have expired without a way to get new ones. We have
these warning:
W: GPG error: http://deb.debian.org jessie-updates InRelease: The following signatures were invalid: KEYEXPIRED 1668891673
W: GPG error: http://deb.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673

Quoted 7 lines

So, from now on, ignore the warning and force the installation of packages that can't be authenticated.

---

Or, we could just not test on Jessie anymore.

Jessie fell out of support in 2020, so its certainly not reasonable to be testing it any more.

But on older branches, we do want to keep it around, so I guess we want to fix the containers to still be buildable...

But is this really the best option?  Some googling suggests that all we need is a properly up-to-date debian-keyring package.  Are the jessie docker tags really shipping with a broken base package?

~Andrew

#9 lore raw

Re: [XEN PATCH 2/4] automation: Ignore package authentification issue in Jessie container

Quoted 18 lines · Andrew Cooper
Quoted 6 lines · Anthony PERARD

We can't easily install package on Debian Jessie anymore, the release
keys seems to have expired without a way to get new ones. We have
these warning:
W: GPG error: http://deb.debian.org jessie-updates InRelease: The following signatures were invalid: KEYEXPIRED 1668891673
W: GPG error: http://deb.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673

Quoted 7 lines

So, from now on, ignore the warning and force the installation of packages that can't be authenticated.

---

Or, we could just not test on Jessie anymore.

Jessie fell out of support in 2020, so its certainly not reasonable to be testing it any more.

Quoted 6 lines

But on older branches, we do want to keep it around, so I guess we want to fix the containers to still be buildable...

But is this really the best option?  Some googling suggests that all we need is a properly up-to-date debian-keyring package.  Are the jessie docker tags really shipping with a broken base package?

I did try to find a better solution that "--force-yes", I did find out about installaling the latest "debian-archive-keyring", but it is already up-to-date. Installing "debian-keyring" instead doesn't change the keys.

But it looks like there's another way. We could use "debian/eol:jessie" as base image instead of "debian:jessie", and that works. I'll update the patch with that.

Signature · 1 line
Anthony PERARD
#10 lore raw

PATCH 3/4 automation: Remove expired root certificates used to be used by let's encrypt

In reply to Anthony PERARD

While the Let's Encrypt root certificate ISRG_Root_X1.crt is already present, openssl seems to still check for the root certificate DST_Root_CA_X3.crt which has expired. This prevent https connections.

Removing DST_Root_CA_X3 fix the issue.

centos: found the filter by looking for "DST Root" in trust list.

---
 automation/build/centos/7.2.dockerfile         | 5 +++++
 automation/build/centos/7.dockerfile           | 5 +++++
 automation/build/debian/jessie-i386.dockerfile | 5 +++++
 automation/build/debian/jessie.dockerfile      | 5 +++++
 automation/build/ubuntu/trusty.dockerfile      | 5 +++++
 5 files changed, 25 insertions(+)
automation/build/centos/7.2.dockerfile +5 -0
index 4baa097e31..27244fd002 100644
@@ -50,3 +50,8 @@ RUN rpm --rebuilddb && \
         bzip2 \
         nasm \
     && yum clean all
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.
+# (Not needed anymore)
+RUN trust extract --filter=pkcs11:id=%c4%a7%b1%a4%7b%2c%71%fa%db%e1%4b%90%75%ff%c4%15%60%85%89%10\;type=cert --format=pem-bundle /etc/pki/ca-trust/source/blacklist/DST_Root_CA_X3.pem && \
+    update-ca-trust
automation/build/centos/7.dockerfile +5 -0
index e688a4cece..b370068e3c 100644
@@ -49,3 +49,8 @@ RUN yum -y install \
         nasm \
     && yum clean all && \
     rm -rf /var/cache/yum
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.
+# (Not needed anymore)
+RUN trust extract --filter=pkcs11:id=%c4%a7%b1%a4%7b%2c%71%fa%db%e1%4b%90%75%ff%c4%15%60%85%89%10\;type=cert --format=pem-bundle /etc/pki/ca-trust/source/blacklist/DST_Root_CA_X3.pem && \
+    update-ca-trust
automation/build/debian/jessie-i386.dockerfile +5 -0
index c617b6fbfb..84135230d0 100644
@@ -51,3 +51,8 @@ RUN apt-get update && \
         apt-get autoremove -y && \
         apt-get clean && \
         rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.
+# (Not needed anymore)
+RUN sed -i '/mozilla\/DST_Root_CA_X3\.crt/d' /etc/ca-certificates.conf && \
+    update-ca-certificates
automation/build/debian/jessie.dockerfile +5 -0
index 8918b26d75..d11dd48e17 100644
@@ -50,3 +50,8 @@ RUN apt-get update && \
         apt-get autoremove -y && \
         apt-get clean && \
         rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.
+# (Not needed anymore)
+RUN sed -i '/mozilla\/DST_Root_CA_X3\.crt/d' /etc/ca-certificates.conf && \
+    update-ca-certificates
automation/build/ubuntu/trusty.dockerfile +5 -0
index b4b2f85e73..16d08ca931 100644
@@ -49,3 +49,8 @@ RUN apt-get update && \
         apt-get autoremove -y && \
         apt-get clean && \
         rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.
+# (Not needed anymore)
+RUN sed -i 's#mozilla/DST_Root_CA_X3\.crt#!\0#' /etc/ca-certificates.conf && \
+    update-ca-certificates
Signature · 1 line
Anthony PERARD
#11 lore raw

Re: [XEN PATCH 3/4] automation: Remove expired root certificates used to be used by let's encrypt

Quoted 22 lines · Anthony PERARD

While the Let's Encrypt root certificate ISRG_Root_X1.crt is already present, openssl seems to still check for the root certificate DST_Root_CA_X3.crt which has expired. This prevent https connections.

Removing DST_Root_CA_X3 fix the issue.

centos: found the filter by looking for "DST Root" in trust list.

---
 automation/build/centos/7.2.dockerfile         | 5 +++++
 automation/build/centos/7.dockerfile           | 5 +++++
 automation/build/debian/jessie-i386.dockerfile | 5 +++++
 automation/build/debian/jessie.dockerfile      | 5 +++++
 automation/build/ubuntu/trusty.dockerfile      | 5 +++++
 5 files changed, 25 insertions(+)
automation/build/centos/7.2.dockerfile +0 -0
index 4baa097e31..27244fd002 100644

automation/build/centos/7.2.dockerfile RUN rpm --rebuilddb && \ · line 54

Quoted 5 lines
automation/build/centos/7.2.dockerfile +2 -0
@@ -50,3 +50,8 @@ RUN rpm --rebuilddb && \
         bzip2 \
         nasm \
     && yum clean all
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.

rely.

And really (to all of these modifications)?  This seems outragously hacky to be deploying into production...

Honestly, I think I'd prefer to drop all of these legacy versions...

~Andrew

#12 lore raw

Re: [XEN PATCH 3/4] automation: Remove expired root certificates used to be used by let's encrypt

Quoted 31 lines · Andrew Cooper
Quoted 22 lines · Anthony PERARD

While the Let's Encrypt root certificate ISRG_Root_X1.crt is already present, openssl seems to still check for the root certificate DST_Root_CA_X3.crt which has expired. This prevent https connections.

Removing DST_Root_CA_X3 fix the issue.

centos: found the filter by looking for "DST Root" in trust list.

---
 automation/build/centos/7.2.dockerfile         | 5 +++++
 automation/build/centos/7.dockerfile           | 5 +++++
 automation/build/debian/jessie-i386.dockerfile | 5 +++++
 automation/build/debian/jessie.dockerfile      | 5 +++++
 automation/build/ubuntu/trusty.dockerfile      | 5 +++++
 5 files changed, 25 insertions(+)
automation/build/centos/7.2.dockerfile +0 -0
index 4baa097e31..27244fd002 100644

automation/build/centos/7.2.dockerfile RUN rpm --rebuilddb && \ · line 54

Quoted 5 lines
automation/build/centos/7.2.dockerfile +2 -0
@@ -50,3 +50,8 @@ RUN rpm --rebuilddb && \
         bzip2 \
         nasm \
     && yum clean all
+
+# Remove expired certificate that Let's Encrypt certificates used to relie on.

rely.

Quoted 4 lines

And really (to all of these modifications)?  This seems outragously hacky to be deploying into production...

Honestly, I think I'd prefer to drop all of these legacy versions...

Good timing! It just so happens that we need to shave some of the old container tests as we have too many build tests on x86 :-)

I would remove Jessie as it reached EOL years ago. Do we really need both Centos 7 and 7.2? If not, we could remove 7.

That leaves us with Trusty and Centos 7.2 among these. I would be tempted to keep Trusty and add the sed hack of this patch to make it work. For Centos 7.2, the hack looks even worse. Would it solve the problem to upgrade to the latest Centos 7.x subrelease? Is there really no other way to solve the problem?

#13 lore raw

Re: [XEN PATCH 3/4] automation: Remove expired root certificates used to be used by let's encrypt

Quoted 8 lines · Stefano Stabellini
Quoted 1 line · Andrew Cooper

Honestly, I think I'd prefer to drop all of these legacy versions...

Good timing! It just so happens that we need to shave some of the old container tests as we have too many build tests on x86 :-)

I would remove Jessie as it reached EOL years ago. Do we really need both Centos 7 and 7.2? If not, we could remove 7.

Actually, 7.2 is older than 7, so I would remove 7.2. (7 would be 7.x so latest 7 which is 7.9.)

Quoted 5 lines

That leaves us with Trusty and Centos 7.2 among these. I would be tempted to keep Trusty and add the sed hack of this patch to make it work. For Centos 7.2, the hack looks even worse. Would it solve the problem to upgrade to the latest Centos 7.x subrelease? Is there really no other way to solve the problem?

So for centos7, the blacklist of the expired root certificate isn't needed if we simply run yum update which for some reason is missing from the dockerfile...

Thanks,

Signature · 1 line
Anthony PERARD
#14 lore raw

Re: [XEN PATCH 3/4] automation: Remove expired root certificates used to be used by let's encrypt

Quoted 4 lines · Anthony PERARD
Quoted 3 lines · Stefano Stabellini
Quoted 1 line · Andrew Cooper

Honestly, I think I'd prefer to drop all of these legacy versions...

Quoted 8 lines
Quoted 5 lines

Good timing! It just so happens that we need to shave some of the old container tests as we have too many build tests on x86 :-)

I would remove Jessie as it reached EOL years ago. Do we really need both Centos 7 and 7.2? If not, we could remove 7.

Actually, 7.2 is older than 7, so I would remove 7.2. (7 would be 7.x so latest 7 which is 7.9.)

Sounds good

Quoted 9 lines
Quoted 5 lines

That leaves us with Trusty and Centos 7.2 among these. I would be tempted to keep Trusty and add the sed hack of this patch to make it work. For Centos 7.2, the hack looks even worse. Would it solve the problem to upgrade to the latest Centos 7.x subrelease? Is there really no other way to solve the problem?

So for centos7, the blacklist of the expired root certificate isn't needed if we simply run yum update which for some reason is missing from the dockerfile...

That's much better!

#15 lore raw

PATCH 4/4 automation: Add more aliases in containerize

In reply to Anthony PERARD
---
 automation/scripts/containerize | 3 +++
 1 file changed, 3 insertions(+)
automation/scripts/containerize +3 -0
index 9e508918bf..9b1a302d05 100755
@@ -33,9 +33,12 @@ case "_${CONTAINER}" in
     _fedora) CONTAINER="${BASE}/fedora:29";;
     _focal) CONTAINER="${BASE}/ubuntu:focal" ;;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
+    _jessie-i386) CONTAINER="${BASE}/debian:jessie-i386" ;;
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
+    _stretch-i386) CONTAINER="${BASE}/debian:stretch-i386" ;;
     _buster-gcc-ibt) CONTAINER="${BASE}/debian:buster-gcc-ibt" ;;
     _unstable|_) CONTAINER="${BASE}/debian:unstable" ;;
+    _unstable-i386) CONTAINER="${BASE}/debian:unstable-i386" ;;
     _unstable-arm32-gcc) CONTAINER="${BASE}/debian:unstable-arm32-gcc" ;;
     _unstable-arm64v8) CONTAINER="${BASE}/debian:unstable-arm64v8" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
Signature · 1 line
Anthony PERARD