From 2344de2d425d9c056e24ee4730fde7664f62271a Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sat, 21 Mar 2020 23:29:52 -0400 Subject: [PATCH 1/2] Jenkinsfile: add Ubuntu 20.04 "focal" Signed-off-by: DeeDeeG Signed-off-by: Sebastiaan van Stijn --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 84ff3aab..80115fe6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,6 +22,7 @@ def images = [ [image: "ubuntu:bionic", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 18.04 LTS (End of support: April, 2023. EOL: April, 2028) [image: "ubuntu:disco", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 19.03 (EOL: January, 2020) [image: "ubuntu:eoan", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 19.10 (EOL: July, 2020) + [image: "ubuntu:focal", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 20.04 LTS (End of support: April, 2025. EOL: April, 2030) ] def generatePackageStep(opts, arch) { From e406392457681ae7fa7c88eaaff094ca3b42da4d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 25 Mar 2020 09:37:33 +0100 Subject: [PATCH 2/2] Jenkinsfile: disable Ubuntu 20.04 "focal" on armhf (arm32), pending fix Ubuntu 20.04 ("focal") on armhf (arm32) currently has an issue where it looks like seccomp is blocking a syscall that's used when installing libc6: docker run -e DEBIAN_FRONTEND=noninteractive --rm arm32v7/ubuntu:focal sh -c 'apt-get -q update && apt-get install -y libc6' ... Preparing to unpack .../libc6_2.31-0ubuntu6_armhf.deb ... Checking for services that may need to be restarted... Checking init scripts... Checking for services that may need to be restarted... Checking init scripts... Nothing to restart. Unpacking libc6:armhf (2.31-0ubuntu6) over (2.30-0ubuntu3) ... tar: ./control: Cannot utime: Operation not permitted tar: ./md5sums: Cannot utime: Operation not permitted tar: ./shlibs: Cannot utime: Operation not permitted tar: ./symbols: Cannot utime: Operation not permitted tar: ./triggers: Cannot utime: Operation not permitted tar: .: Cannot utime: Operation not permitted tar: Exiting with failure status due to previous errors dpkg-deb: error: tar subprocess returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/libcrypt1_1%3a4.4.10-10ubuntu4_armhf.deb (--unpack): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libcrypt1_1%3a4.4.10-10ubuntu4_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) The issue was reproduced on: Image `arm32v7/ubuntu:focal@sha256:18100e418054ebe1be0fff4e514183f28088a0db409df081c3233dd22dcf4a15` Server: Docker Engine - Community Engine: Version: 19.03.5 API version: 1.40 (minimum version 1.12) Go version: go1.12.12 Git commit: 633a0ea Built: Wed Nov 13 07:32:48 2019 OS/Arch: linux/arm Experimental: true containerd: Version: 1.2.10 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 runc: Version: 1.0.0-rc8+dev GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 docker-init: Version: 0.18.0 GitCommit: fec3683 Info: Kernel Version: 4.4.127-mainline-rev1 Operating System: Ubuntu 16.04.5 LTS OSType: linux Architecture: armv7l CPUs: 4 Total Memory: 1.974GiB This issue was also reported in: - docker/containerd-packaging pr 151 - dotnet/dotnet-docker issue 1747 > It's not clear whether https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867431 is related. > So I've logged https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867675 for this issue. This patch disables building on Ubuntu 20.04 Signed-off-by: Sebastiaan van Stijn --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 80115fe6..63820664 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ def images = [ [image: "ubuntu:bionic", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 18.04 LTS (End of support: April, 2023. EOL: April, 2028) [image: "ubuntu:disco", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 19.03 (EOL: January, 2020) [image: "ubuntu:eoan", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 19.10 (EOL: July, 2020) - [image: "ubuntu:focal", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 20.04 LTS (End of support: April, 2025. EOL: April, 2030) + [image: "ubuntu:focal", arches: ["amd64", "aarch64"]], // Ubuntu 20.04 LTS (End of support: April, 2025. EOL: April, 2030) ] def generatePackageStep(opts, arch) {