Closed mkim37 closed 1 year ago
Hi @mkim37 thanks for reporting.
Debian operating system is not intended to operate in FIPS as per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014517#37: this error with apt
might never go away.
I don't see a solution to this behavior: as far as I can tell, the Jenkins project never worked on FIPS support.
You might try another declination of the Jenkins controller image such as Alpine but I have no idea if it works in FIPS as well. You might also have to run Jenkins itself outside a container or build your own container image of Jenkins.
For info, other users tried to run Jenkins in FIPS environments: https://community.jenkins.io/t/jenkins-fails-on-fips-mode-enabled-rhel/2714/16 but it highly depends on the plugins you are using.
This is not a bug in Jenkins neither its Docker image: as per I'm closing this issue. Feel free to raise the FIPS topic in the community forum or join the https://www.jenkins.io/sigs/platform/ if you want to bring this topic on the table and invest time in driving it.
@mkim37 additionally, you can also try with CloudBees: https://www.cloudbees.com/newsroom/cloudbees-releases-hardened-cloudbees-ci-enable-secure-dod-compliant-software-delivery
@dduportal Thanks for replying. This was more of an FYI than a bug report. It appears to have been fixed in debian:bookworm-20230725
@dduportal Thanks for replying. This was more of an FYI than a bug report.
Thanks for hte FYI @mkim37 !
It appears to have been fixed in debian:bookworm-20230725
The jenkins/jenkins:2.414.1-jdk11
image is built on top on debian:bookworm-20230814
:
https://github.com/jenkinsci/docker/blob/e1c29ed1273932d3f118939463440f0ea97fb49f/11/debian/bookworm/hotspot/Dockerfile#L2
Did you mean debian:bookworm-20230825
?
@dduportal Sorry I just saw your reply. It's working in debian:bookworm-20230725 and presumably after but not before. I haven't had the chance to look through the debian bug tracker to see what changed and why. Strangely it's still not working in the LTS image.
# https://hub.docker.com/_/debian/tags?page=1&name=bookworm-202306
[root@jumpbox ~]# docker run --rm -it debian:bookworm-20230612 apt-get update
Unable to find image 'debian:bookworm-20230612' locally
bookworm-20230612: Pulling from library/debian
bba7bb10d5ba: Pull complete
Digest: sha256:d568e251e460295a8743e9d5ef7de673c5a8f9027db11f4e666e96fb5bed708e
Status: Downloaded newer image for debian:bookworm-20230612
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [58.3 kB]
Fetched 9220 kB in 2s (5814 kB/s)
fatal error in libgcrypt, file ../../src/misc.c, line 92, function _gcry_fatal_error: requested algo not in md context
Fatal error: requested algo not in md context
# https://hub.docker.com/_/debian/tags?page=1&name=bookworm-202307
[root@jumpbox ~]# docker run --rm -it debian:bookworm-20230703 apt-get update
Unable to find image 'debian:bookworm-20230703' locally
bookworm-20230703: Pulling from library/debian
d52e4f012db1: Pull complete
Digest: sha256:3d868b5eb908155f3784317b3dda2941df87bbbbaa4608f84881de66d9bb297b
Status: Downloaded newer image for debian:bookworm-20230703
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [58.3 kB]
Fetched 9220 kB in 2s (4216 kB/s)
fatal error in libgcrypt, file ../../src/misc.c, line 92, function _gcry_fatal_error: requested algo not in md context
Fatal error: requested algo not in md context
[root@jumpbox ~]# docker run --rm -it debian:bookworm-20230725 apt-get update
Unable to find image 'debian:bookworm-20230725' locally
bookworm-20230725: Pulling from library/debian
785ef8b9b236: Pull complete
Digest: sha256:9f76a008888da28c6490bedf7bdaa919bac9b2be827afd58d6eb1b916e1e5918
Status: Downloaded newer image for debian:bookworm-20230725
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [58.3 kB]
Fetched 9220 kB in 2s (5454 kB/s)
Reading package lists... Done
[root@jumpbox ~]# docker run --rm -it debian:bookworm-20230814 apt-get update
Unable to find image 'debian:bookworm-20230814' locally
bookworm-20230814: Pulling from library/debian
Digest: sha256:b91baba9c2cae5edbe3b0ff50ae8f05157e3ae6f018372dcfc3aba224acb392b
Status: Downloaded newer image for debian:bookworm-20230814
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [58.3 kB]
Fetched 9220 kB in 3s (3193 kB/s)
Reading package lists... Done
[root@jumpbox ~]# docker run --rm -it -u root jenkins/jenkins:2.414.1-jdk11 apt-get update
Unable to find image 'jenkins/jenkins:2.414.1-jdk11' locally
2.414.1-jdk11: Pulling from jenkins/jenkins
de4cac68b616: Already exists
8252e4beaf27: Pull complete
88f68f285a52: Pull complete
1c66d3c5c634: Pull complete
554bfe5cc2ad: Pull complete
921190312de1: Pull complete
4bf15d2379ee: Pull complete
de6ad7a9d923: Pull complete
c591934e9a70: Pull complete
e3c5028ef70a: Pull complete
a95164b0df40: Pull complete
cbd7a2671ac8: Pull complete
66ceb70ec890: Pull complete
Digest: sha256:645d55b80126b67dd23b6ba65d455ebc13689d057f498fbecd7bdb9165f0dd64
Status: Downloaded newer image for jenkins/jenkins:2.414.1-jdk11
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
Get:5 https://packagecloud.io/github/git-lfs/debian bookworm InRelease [25.8 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [58.3 kB]
Get:8 https://packagecloud.io/github/git-lfs/debian bookworm/main amd64 Packages [2131 B]
Fetched 9248 kB in 2s (5408 kB/s)
fatal error in libgcrypt, file ../../src/misc.c, line 92, function _gcry_fatal_error: requested algo not in md context
Fatal error: requested algo not in md context
@dduportal This is being caused by https://github.com/jenkinsci/docker/blob/master/11/debian/bookworm/hotspot/Dockerfile#L30
Assuming this won't be fixed for 2.414.2, we'll have to switch to the rhel-ubi8 image.
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 4.57kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/eclipse-temurin:11.0.20_8-jdk-jammy
#3 DONE 0.3s
#4 [internal] load metadata for docker.io/library/debian:bookworm-20230904
#4 DONE 0.3s
#5 [stage-1 1/13] FROM docker.io/library/debian:bookworm-20230904@sha256:b4042f895d5d1f8df415caebe7c416f9dbcf0dc8867abb225955006de50b21f3
#5 CACHED
#6 [jre-build 1/2] FROM docker.io/library/eclipse-temurin:11.0.20_8-jdk-jammy@sha256:f215a785cafb0b58474de3dacdb28dde19c3f89383de070ad0362f40ddf0d2bb
#6 CACHED
#7 [internal] load build context
#7 transferring context: 357B done
#7 DONE 0.0s
#8 [jre-build 2/2] RUN jlink --add-modules ALL-MODULE-PATH --no-man-pages --compress=2 --output /javaruntime
#8 ...
#9 [stage-1 2/13] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git gnupg gpg libfontconfig1 libfreetype6 procps ssh-client tini unzip tzdata && rm -rf /var/lib/apt/lists/*
#0 1.124 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#0 1.150 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
#0 1.150 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#0 1.427 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
#0 1.804 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4952 B]
#0 2.193 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [62.0 kB]
#0 3.156 Fetched 9224 kB in 2s (4326 kB/s)
#0 3.156 Reading package lists...
#0 3.968 Reading package lists...
#0 4.787 Building dependency tree...
#0 5.009 Reading state information...
#0 5.209 tzdata is already the newest version (2023c-5).
#0 5.209 tzdata set to manually installed.
#0 5.209 The following additional packages will be installed:
#0 5.209 dirmngr fontconfig-config fonts-dejavu-core git-man gnupg-l10n gnupg-utils
#0 5.209 gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libbrotli1
#0 5.209 libbsd0 libcbor0.8 libcurl3-gnutls libcurl4 libedit2 liberror-perl libexpat1
#0 5.209 libfido2-1 libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3
#0 5.209 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 libldap-2.5-0 libncursesw6
#0 5.209 libnghttp2-14 libnpth0 libperl5.36 libpng16-16 libproc2-0 libpsl5
#0 5.209 libreadline8 librtmp1 libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1
#0 5.209 libssl3 openssl perl perl-modules-5.36 pinentry-curses readline-common
#0 5.209 Suggested packages:
#0 5.209 dbus-user-session libpam-systemd pinentry-gnome3 tor gettext-base
#0 5.209 git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
#0 5.209 git-cvs git-mediawiki git-svn parcimonie xloadimage scdaemon gdbm-l10n
#0 5.209 krb5-doc krb5-user sensible-utils keychain libpam-ssh monkeysphere
#0 5.209 ssh-askpass perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl
#0 5.209 make libtap-harness-archive-perl pinentry-doc readline-doc zip
#0 5.209 Recommended packages:
#0 5.209 patch less krb5-locales libldap-common libgpm2 publicsuffix libsasl2-modules
#0 5.209 xauth netbase psmisc
#9 5.783 The following NEW packages will be installed:
#9 5.783 ca-certificates curl dirmngr fontconfig-config fonts-dejavu-core git git-man
#9 5.783 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
#9 5.783 gpgconf gpgsm libassuan0 libbrotli1 libbsd0 libcbor0.8 libcurl3-gnutls
#9 5.783 libcurl4 libedit2 liberror-perl libexpat1 libfido2-1 libfontconfig1
#9 5.783 libfreetype6 libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3
#9 5.783 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 libldap-2.5-0 libncursesw6
#9 5.796 libnghttp2-14 libnpth0 libperl5.36 libpng16-16 libproc2-0 libpsl5
#9 5.796 libreadline8 librtmp1 libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1
#9 5.796 libssl3 openssh-client openssl perl perl-modules-5.36 pinentry-curses procps
#9 5.796 readline-common tini unzip
#9 5.936 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded.
#9 5.936 Need to get 36.9 MB of archives.
#9 5.936 After this operation, 147 MB of additional disk space will be used.
#9 5.936 Get:1 http://deb.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7 [2815 kB]
#9 5.998 Get:2 http://deb.debian.org/debian bookworm/main amd64 libgdbm6 amd64 1.23-3 [72.2 kB]
#9 6.002 Get:3 http://deb.debian.org/debian bookworm/main amd64 libgdbm-compat4 amd64 1.23-3 [48.2 kB]
#9 6.002 Get:4 http://deb.debian.org/debian bookworm/main amd64 libperl5.36 amd64 5.36.0-7 [4218 kB]
#9 6.066 Get:5 http://deb.debian.org/debian bookworm/main amd64 perl amd64 5.36.0-7 [239 kB]
#9 6.081 Get:6 http://deb.debian.org/debian bookworm/main amd64 libncursesw6 amd64 6.4-4 [134 kB]
#9 6.081 Get:7 http://deb.debian.org/debian bookworm/main amd64 libproc2-0 amd64 2:4.0.2-3 [62.8 kB]
#9 6.081 Get:8 http://deb.debian.org/debian bookworm/main amd64 procps amd64 2:4.0.2-3 [709 kB]
#9 6.096 Get:9 http://deb.debian.org/debian bookworm/main amd64 readline-common all 8.2-1.3 [69.0 kB]
#9 6.096 Get:10 http://deb.debian.org/debian bookworm/main amd64 libssl3 amd64 3.0.9-1 [2016 kB]
#9 6.122 Get:11 http://deb.debian.org/debian bookworm/main amd64 openssl amd64 3.0.9-1 [1416 kB]
#9 6.147 Get:12 http://deb.debian.org/debian bookworm/main amd64 ca-certificates all 20230311 [153 kB]
#9 6.152 Get:13 http://deb.debian.org/debian bookworm/main amd64 libbsd0 amd64 0.11.7-2 [117 kB]
#9 6.152 Get:14 http://deb.debian.org/debian bookworm/main amd64 libedit2 amd64 3.1-20221030-2 [93.0 kB]
#9 6.158 Get:15 http://deb.debian.org/debian bookworm/main amd64 libcbor0.8 amd64 0.8.0-2+b1 [27.4 kB]
#9 6.158 Get:16 http://deb.debian.org/debian bookworm/main amd64 libfido2-1 amd64 1.12.0-2+b1 [77.2 kB]
#9 6.158 Get:17 http://deb.debian.org/debian bookworm/main amd64 libkrb5support0 amd64 1.20.1-2 [32.3 kB]
#9 6.158 Get:18 http://deb.debian.org/debian bookworm/main amd64 libk5crypto3 amd64 1.20.1-2 [79.0 kB]
#9 6.158 Get:19 http://deb.debian.org/debian bookworm/main amd64 libkeyutils1 amd64 1.6.3-2 [8808 B]
#9 6.158 Get:20 http://deb.debian.org/debian bookworm/main amd64 libkrb5-3 amd64 1.20.1-2 [331 kB]
#9 6.163 Get:21 http://deb.debian.org/debian bookworm/main amd64 libgssapi-krb5-2 amd64 1.20.1-2 [134 kB]
#9 6.171 Get:22 http://deb.debian.org/debian bookworm/main amd64 openssh-client amd64 1:9.2p1-2 [988 kB]
#9 6.196 Get:23 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB]
#9 6.196 Get:24 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB]
#9 6.196 Get:25 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB]
#9 6.196 Get:26 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB]
#9 6.196 Get:27 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1 [72.3 kB]
#9 6.197 Get:28 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB]
#9 6.197 Get:29 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
#9 6.197 Get:30 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB]
#9 6.203 Get:31 http://deb.debian.org/debian-security bookworm-security/main amd64 libcurl4 amd64 7.88.1-10+deb12u1 [386 kB]
#9 6.211 Get:32 http://deb.debian.org/debian-security bookworm-security/main amd64 curl amd64 7.88.1-10+deb12u1 [314 kB]
#9 6.220 Get:33 http://deb.debian.org/debian bookworm/main amd64 libassuan0 amd64 2.5.5-5 [48.5 kB]
#9 6.220 Get:34 http://deb.debian.org/debian bookworm/main amd64 libreadline8 amd64 8.2-1.3 [166 kB]
#9 6.222 Get:35 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1 [564 kB]
#9 6.230 Get:36 http://deb.debian.org/debian bookworm/main amd64 libksba8 amd64 1.6.3-2 [128 kB]
#9 6.232 Get:37 http://deb.debian.org/debian bookworm/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
#9 6.236 Get:38 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1 [792 kB]
#9 6.247 Get:39 http://deb.debian.org/debian bookworm/main amd64 fonts-dejavu-core all 2.37-6 [1068 kB]
#9 6.264 Get:40 http://deb.debian.org/debian bookworm/main amd64 fontconfig-config amd64 2.14.1-4 [315 kB]
#9 6.269 Get:41 http://deb.debian.org/debian-security bookworm-security/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u1 [381 kB]
#9 6.274 Get:42 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1 [99.3 kB]
#9 6.277 Get:43 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB]
#9 6.278 Get:44 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.2-1.1 [2049 kB]
#9 6.308 Get:45 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.2-1.1 [7171 kB]
#9 6.424 Get:46 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1 [1093 kB]
#9 6.445 Get:47 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1 [927 kB]
#9 6.464 Get:48 http://deb.debian.org/debian bookworm/main amd64 libsqlite3-0 amd64 3.40.1-2 [837 kB]
#9 6.475 Get:49 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1 [949 kB]
#9 6.497 Get:50 http://deb.debian.org/debian bookworm/main amd64 pinentry-curses amd64 1.2.1-1 [77.4 kB]
#9 6.497 Get:51 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1 [695 kB]
#9 6.505 Get:52 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1 [541 kB]
#9 6.518 Get:53 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1 [531 kB]
#9 6.522 Get:54 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1 [671 kB]
#9 6.532 Get:55 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1 [846 kB]
#9 6.539 Get:56 http://deb.debian.org/debian bookworm/main amd64 libpng16-16 amd64 1.6.39-2 [276 kB]
#9 6.545 Get:57 http://deb.debian.org/debian bookworm/main amd64 libfreetype6 amd64 2.12.1+dfsg-5 [399 kB]
#9 6.550 Get:58 http://deb.debian.org/debian bookworm/main amd64 libfontconfig1 amd64 2.14.1-4 [386 kB]
#9 6.556 Get:59 http://deb.debian.org/debian bookworm/main amd64 tini amd64 0.19.0-1 [255 kB]
#9 6.561 Get:60 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
#9 6.761 debconf: delaying package configuration, since apt-utils is not installed
#9 6.815 Fetched 36.9 MB in 1s (48.6 MB/s)
#9 6.890 Selecting previously unselected package perl-modules-5.36.
(Reading database ... 6098 files and directories currently installed.)
#9 6.900 Preparing to unpack .../00-perl-modules-5.36_5.36.0-7_all.deb ...
#9 6.900 Unpacking perl-modules-5.36 (5.36.0-7) ...
#9 7.747 Selecting previously unselected package libgdbm6:amd64.
#9 7.747 Preparing to unpack .../01-libgdbm6_1.23-3_amd64.deb ...
#9 7.752 Unpacking libgdbm6:amd64 (1.23-3) ...
#9 7.795 Selecting previously unselected package libgdbm-compat4:amd64.
#9 7.795 Preparing to unpack .../02-libgdbm-compat4_1.23-3_amd64.deb ...
#9 7.796 Unpacking libgdbm-compat4:amd64 (1.23-3) ...
#9 7.850 Selecting previously unselected package libperl5.36:amd64.
#9 7.850 Preparing to unpack .../03-libperl5.36_5.36.0-7_amd64.deb ...
#9 7.851 Unpacking libperl5.36:amd64 (5.36.0-7) ...
#9 8.578 Selecting previously unselected package perl.
#9 8.581 Preparing to unpack .../04-perl_5.36.0-7_amd64.deb ...
#9 8.601 Unpacking perl (5.36.0-7) ...
#9 8.746 Selecting previously unselected package libncursesw6:amd64.
#9 8.746 Preparing to unpack .../05-libncursesw6_6.4-4_amd64.deb ...
#9 8.765 Unpacking libncursesw6:amd64 (6.4-4) ...
#9 8.841 Selecting previously unselected package libproc2-0:amd64.
#9 8.842 Preparing to unpack .../06-libproc2-0_2%3a4.0.2-3_amd64.deb ...
#9 8.845 Unpacking libproc2-0:amd64 (2:4.0.2-3) ...
#9 8.946 Selecting previously unselected package procps.
#9 8.946 Preparing to unpack .../07-procps_2%3a4.0.2-3_amd64.deb ...
#9 8.981 Unpacking procps (2:4.0.2-3) ...
#9 9.126 Selecting previously unselected package readline-common.
#9 9.126 Preparing to unpack .../08-readline-common_8.2-1.3_all.deb ...
#9 9.127 Unpacking readline-common (8.2-1.3) ...
#9 9.183 Selecting previously unselected package libssl3:amd64.
#9 9.183 Preparing to unpack .../09-libssl3_3.0.9-1_amd64.deb ...
#9 9.184 Unpacking libssl3:amd64 (3.0.9-1) ...
#9 9.423 Selecting previously unselected package openssl.
#9 9.423 Preparing to unpack .../10-openssl_3.0.9-1_amd64.deb ...
#9 9.425 Unpacking openssl (3.0.9-1) ...
#9 9.769 Selecting previously unselected package ca-certificates.
#9 9.769 Preparing to unpack .../11-ca-certificates_20230311_all.deb ...
#9 9.770 Unpacking ca-certificates (20230311) ...
#9 9.946 Selecting previously unselected package libbsd0:amd64.
#9 9.947 Preparing to unpack .../12-libbsd0_0.11.7-2_amd64.deb ...
#9 9.951 Unpacking libbsd0:amd64 (0.11.7-2) ...
#9 10.09 Selecting previously unselected package libedit2:amd64.
#9 10.09 Preparing to unpack .../13-libedit2_3.1-20221030-2_amd64.deb ...
#9 10.09 Unpacking libedit2:amd64 (3.1-20221030-2) ...
#9 10.15 Selecting previously unselected package libcbor0.8:amd64.
#9 10.15 Preparing to unpack .../14-libcbor0.8_0.8.0-2+b1_amd64.deb ...
#9 10.15 Unpacking libcbor0.8:amd64 (0.8.0-2+b1) ...
#9 10.23 Selecting previously unselected package libfido2-1:amd64.
#9 10.23 Preparing to unpack .../15-libfido2-1_1.12.0-2+b1_amd64.deb ...
#9 10.23 Unpacking libfido2-1:amd64 (1.12.0-2+b1) ...
#9 10.32 Selecting previously unselected package libkrb5support0:amd64.
#9 10.32 Preparing to unpack .../16-libkrb5support0_1.20.1-2_amd64.deb ...
#9 10.33 Unpacking libkrb5support0:amd64 (1.20.1-2) ...
#9 10.40 Selecting previously unselected package libk5crypto3:amd64.
#9 10.40 Preparing to unpack .../17-libk5crypto3_1.20.1-2_amd64.deb ...
#9 10.40 Unpacking libk5crypto3:amd64 (1.20.1-2) ...
#9 10.50 Selecting previously unselected package libkeyutils1:amd64.
#9 10.50 Preparing to unpack .../18-libkeyutils1_1.6.3-2_amd64.deb ...
#9 10.50 Unpacking libkeyutils1:amd64 (1.6.3-2) ...
#9 10.55 Selecting previously unselected package libkrb5-3:amd64.
#9 10.55 Preparing to unpack .../19-libkrb5-3_1.20.1-2_amd64.deb ...
#9 10.55 Unpacking libkrb5-3:amd64 (1.20.1-2) ...
#9 10.71 Selecting previously unselected package libgssapi-krb5-2:amd64.
#9 10.71 Preparing to unpack .../20-libgssapi-krb5-2_1.20.1-2_amd64.deb ...
#9 10.73 Unpacking libgssapi-krb5-2:amd64 (1.20.1-2) ...
#9 10.81 Selecting previously unselected package openssh-client.
#9 10.81 Preparing to unpack .../21-openssh-client_1%3a9.2p1-2_amd64.deb ...
#9 10.83 Unpacking openssh-client (1:9.2p1-2) ...
#9 10.99 Selecting previously unselected package libbrotli1:amd64.
#9 10.99 Preparing to unpack .../22-libbrotli1_1.0.9-2+b6_amd64.deb ...
#9 10.99 Unpacking libbrotli1:amd64 (1.0.9-2+b6) ...
#9 11.07 Selecting previously unselected package libsasl2-modules-db:amd64.
#9 11.07 Preparing to unpack .../23-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ...
#9 11.08 Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
#9 11.13 Selecting previously unselected package libsasl2-2:amd64.
#9 11.13 Preparing to unpack .../24-libsasl2-2_2.1.28+dfsg-10_amd64.deb ...
#9 11.13 Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ...
#9 11.19 Selecting previously unselected package libldap-2.5-0:amd64.
#9 11.19 Preparing to unpack .../25-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ...
#9 11.20 Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
#9 11.27 Selecting previously unselected package libnghttp2-14:amd64.
#9 11.27 Preparing to unpack .../26-libnghttp2-14_1.52.0-1_amd64.deb ...
#9 11.27 Unpacking libnghttp2-14:amd64 (1.52.0-1) ...
#9 11.33 Selecting previously unselected package libpsl5:amd64.
#9 11.33 Preparing to unpack .../27-libpsl5_0.21.2-1_amd64.deb ...
#9 11.33 Unpacking libpsl5:amd64 (0.21.2-1) ...
#9 11.39 Selecting previously unselected package librtmp1:amd64.
#9 11.39 Preparing to unpack .../28-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
#9 11.39 Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
#9 11.44 Selecting previously unselected package libssh2-1:amd64.
#9 11.44 Preparing to unpack .../29-libssh2-1_1.10.0-3+b1_amd64.deb ...
#9 11.44 Unpacking libssh2-1:amd64 (1.10.0-3+b1) ...
#9 11.53 Selecting previously unselected package libcurl4:amd64.
#9 11.53 Preparing to unpack .../30-libcurl4_7.88.1-10+deb12u1_amd64.deb ...
#9 11.53 Unpacking libcurl4:amd64 (7.88.1-10+deb12u1) ...
#9 11.63 Selecting previously unselected package curl.
#9 11.63 Preparing to unpack .../31-curl_7.88.1-10+deb12u1_amd64.deb ...
#9 11.65 Unpacking curl (7.88.1-10+deb12u1) ...
#9 11.79 Selecting previously unselected package libassuan0:amd64.
#9 11.79 Preparing to unpack .../32-libassuan0_2.5.5-5_amd64.deb ...
#9 11.80 Unpacking libassuan0:amd64 (2.5.5-5) ...
#9 11.86 Selecting previously unselected package libreadline8:amd64.
#9 11.86 Preparing to unpack .../33-libreadline8_8.2-1.3_amd64.deb ...
#9 11.87 Unpacking libreadline8:amd64 (8.2-1.3) ...
#9 11.93 Selecting previously unselected package gpgconf.
#9 11.93 Preparing to unpack .../34-gpgconf_2.2.40-1.1_amd64.deb ...
#9 11.93 Unpacking gpgconf (2.2.40-1.1) ...
#9 12.00 Selecting previously unselected package libksba8:amd64.
#9 12.00 Preparing to unpack .../35-libksba8_1.6.3-2_amd64.deb ...
#9 12.00 Unpacking libksba8:amd64 (1.6.3-2) ...
#9 12.08 Selecting previously unselected package libnpth0:amd64.
#9 12.08 Preparing to unpack .../36-libnpth0_1.6-3_amd64.deb ...
#9 12.08 Unpacking libnpth0:amd64 (1.6-3) ...
#9 12.14 Selecting previously unselected package dirmngr.
#9 12.14 Preparing to unpack .../37-dirmngr_2.2.40-1.1_amd64.deb ...
#9 12.20 Unpacking dirmngr (2.2.40-1.1) ...
#9 12.33 Selecting previously unselected package fonts-dejavu-core.
#9 12.33 Preparing to unpack .../38-fonts-dejavu-core_2.37-6_all.deb ...
#9 12.33 Unpacking fonts-dejavu-core (2.37-6) ...
#9 12.59 Selecting previously unselected package fontconfig-config.
#9 12.59 Preparing to unpack .../39-fontconfig-config_2.14.1-4_amd64.deb ...
#9 13.00 Unpacking fontconfig-config (2.14.1-4) ...
#9 13.09 Selecting previously unselected package libcurl3-gnutls:amd64.
#9 13.09 Preparing to unpack .../40-libcurl3-gnutls_7.88.1-10+deb12u1_amd64.deb ...
#9 13.10 Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u1) ...
#9 13.17 Selecting previously unselected package libexpat1:amd64.
#9 13.17 Preparing to unpack .../41-libexpat1_2.5.0-1_amd64.deb ...
#9 13.17 Unpacking libexpat1:amd64 (2.5.0-1) ...
#9 13.22 Selecting previously unselected package liberror-perl.
#9 13.22 Preparing to unpack .../42-liberror-perl_0.17029-2_all.deb ...
#9 13.23 Unpacking liberror-perl (0.17029-2) ...
#9 13.28 Selecting previously unselected package git-man.
#9 13.28 Preparing to unpack .../43-git-man_1%3a2.39.2-1.1_all.deb ...
#9 13.28 Unpacking git-man (1:2.39.2-1.1) ...
#9 13.48 Selecting previously unselected package git.
#9 13.48 Preparing to unpack .../44-git_1%3a2.39.2-1.1_amd64.deb ...
#9 13.50 Unpacking git (1:2.39.2-1.1) ...
#9 14.48 Selecting previously unselected package gnupg-l10n.
#9 14.48 Preparing to unpack .../45-gnupg-l10n_2.2.40-1.1_all.deb ...
#9 14.50 Unpacking gnupg-l10n (2.2.40-1.1) ...
#9 14.69 Selecting previously unselected package gnupg-utils.
#9 14.69 Preparing to unpack .../46-gnupg-utils_2.2.40-1.1_amd64.deb ...
#9 14.71 Unpacking gnupg-utils (2.2.40-1.1) ...
#9 14.99 Selecting previously unselected package libsqlite3-0:amd64.
#9 14.99 Preparing to unpack .../47-libsqlite3-0_3.40.1-2_amd64.deb ...
#9 15.02 Unpacking libsqlite3-0:amd64 (3.40.1-2) ...
#9 15.22 Selecting previously unselected package gpg.
#9 15.22 Preparing to unpack .../48-gpg_2.2.40-1.1_amd64.deb ...
#9 15.23 Unpacking gpg (2.2.40-1.1) ...
#9 15.33 Selecting previously unselected package pinentry-curses.
#9 15.33 Preparing to unpack .../49-pinentry-curses_1.2.1-1_amd64.deb ...
#9 15.33 Unpacking pinentry-curses (1.2.1-1) ...
#9 15.42 Selecting previously unselected package gpg-agent.
#9 15.42 Preparing to unpack .../50-gpg-agent_2.2.40-1.1_amd64.deb ...
#9 15.44 Unpacking gpg-agent (2.2.40-1.1) ...
#9 15.59 Selecting previously unselected package gpg-wks-client.
#9 15.59 Preparing to unpack .../51-gpg-wks-client_2.2.40-1.1_amd64.deb ...
#9 15.60 Unpacking gpg-wks-client (2.2.40-1.1) ...
#9 15.78 Selecting previously unselected package gpg-wks-server.
#9 15.78 Preparing to unpack .../52-gpg-wks-server_2.2.40-1.1_amd64.deb ...
#9 15.79 Unpacking gpg-wks-server (2.2.40-1.1) ...
#9 15.91 Selecting previously unselected package gpgsm.
#9 15.91 Preparing to unpack .../53-gpgsm_2.2.40-1.1_amd64.deb ...
#9 15.92 Unpacking gpgsm (2.2.40-1.1) ...
#9 16.10 Selecting previously unselected package gnupg.
#9 16.10 Preparing to unpack .../54-gnupg_2.2.40-1.1_all.deb ...
#9 16.10 Unpacking gnupg (2.2.40-1.1) ...
#9 16.33 Selecting previously unselected package libpng16-16:amd64.
#9 16.33 Preparing to unpack .../55-libpng16-16_1.6.39-2_amd64.deb ...
#9 16.34 Unpacking libpng16-16:amd64 (1.6.39-2) ...
#9 16.55 Selecting previously unselected package libfreetype6:amd64.
#9 16.55 Preparing to unpack .../56-libfreetype6_2.12.1+dfsg-5_amd64.deb ...
#9 16.56 Unpacking libfreetype6:amd64 (2.12.1+dfsg-5) ...
#9 16.79 Selecting previously unselected package libfontconfig1:amd64.
#9 16.79 Preparing to unpack .../57-libfontconfig1_2.14.1-4_amd64.deb ...
#9 16.79 Unpacking libfontconfig1:amd64 (2.14.1-4) ...
#9 16.87 Selecting previously unselected package tini.
#9 16.87 Preparing to unpack .../58-tini_0.19.0-1_amd64.deb ...
#9 16.88 Unpacking tini (0.19.0-1) ...
#9 16.97 Selecting previously unselected package unzip.
#9 16.97 Preparing to unpack .../59-unzip_6.0-28_amd64.deb ...
#9 16.98 Unpacking unzip (6.0-28) ...
#9 17.05 Setting up libksba8:amd64 (1.6.3-2) ...
#9 17.06 Setting up libexpat1:amd64 (2.5.0-1) ...
#9 17.07 Setting up libkeyutils1:amd64 (1.6.3-2) ...
#9 17.07 Setting up libpsl5:amd64 (0.21.2-1) ...
#9 17.09 Setting up unzip (6.0-28) ...
#9 17.10 Setting up libcbor0.8:amd64 (0.8.0-2+b1) ...
#9 17.10 Setting up libbrotli1:amd64 (1.0.9-2+b6) ...
#9 17.11 Setting up libsqlite3-0:amd64 (3.40.1-2) ...
#9 17.11 Setting up libssl3:amd64 (3.0.9-1) ...
#9 17.12 Setting up libnghttp2-14:amd64 (1.52.0-1) ...
#9 17.13 Setting up libnpth0:amd64 (1.6-3) ...
#9 17.13 Setting up libassuan0:amd64 (2.5.5-5) ...
#9 17.14 Setting up libkrb5support0:amd64 (1.20.1-2) ...
#9 17.14 Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
#9 17.15 Setting up perl-modules-5.36 (5.36.0-7) ...
#9 17.15 Setting up gnupg-l10n (2.2.40-1.1) ...
#9 17.16 Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
#9 17.17 Setting up libproc2-0:amd64 (2:4.0.2-3) ...
#9 17.17 Setting up libpng16-16:amd64 (1.6.39-2) ...
#9 17.18 Setting up tini (0.19.0-1) ...
#9 17.19 Setting up fonts-dejavu-core (2.37-6) ...
#9 17.22 Setting up libncursesw6:amd64 (6.4-4) ...
#9 17.22 Setting up libk5crypto3:amd64 (1.20.1-2) ...
#9 17.23 Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ...
#9 17.23 Setting up procps (2:4.0.2-3) ...
#9 17.31 Setting up git-man (1:2.39.2-1.1) ...
#9 17.36 Setting up libssh2-1:amd64 (1.10.0-3+b1) ...
#9 17.38 Setting up libkrb5-3:amd64 (1.20.1-2) ...
#9 17.39 Setting up libfido2-1:amd64 (1.12.0-2+b1) ...
#9 17.40 Setting up openssl (3.0.9-1) ...
#9 17.41 Setting up libbsd0:amd64 (0.11.7-2) ...
#9 17.42 Setting up readline-common (8.2-1.3) ...
#9 17.43 Setting up libgdbm6:amd64 (1.23-3) ...
#9 17.44 Setting up pinentry-curses (1.2.1-1) ...
#9 17.46 Setting up fontconfig-config (2.14.1-4) ...
#9 17.60 debconf: unable to initialize frontend: Dialog
#9 17.60 debconf: (TERM is not set, so the dialog frontend is not usable.)
#9 17.60 debconf: falling back to frontend: Readline
#9 17.61 debconf: unable to initialize frontend: Readline
#9 17.61 debconf: (This frontend requires a controlling tty.)
#9 17.61 debconf: falling back to frontend: Teletype
#9 18.12 Setting up libedit2:amd64 (3.1-20221030-2) ...
#9 18.12 Setting up libreadline8:amd64 (8.2-1.3) ...
#9 18.13 Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
#9 18.13 Setting up ca-certificates (20230311) ...
#9 18.26 debconf: unable to initialize frontend: Dialog
#9 18.26 debconf: (TERM is not set, so the dialog frontend is not usable.)
#9 18.26 debconf: falling back to frontend: Readline
#9 18.30 debconf: unable to initialize frontend: Readline
#9 18.30 debconf: (This frontend requires a controlling tty.)
#9 18.30 debconf: falling back to frontend: Teletype
#9 ...
#8 [jre-build 2/2] RUN jlink --add-modules ALL-MODULE-PATH --no-man-pages --compress=2 --output /javaruntime
#8 DONE 18.9s
#9 [stage-1 2/13] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git gnupg gpg libfontconfig1 libfreetype6 procps ssh-client tini unzip tzdata && rm -rf /var/lib/apt/lists/*
#9 19.91 Updating certificates in /etc/ssl/certs...
#9 21.75 140 added, 0 removed; done.
#9 21.78 Setting up libfreetype6:amd64 (2.12.1+dfsg-5) ...
#9 21.79 Setting up libgssapi-krb5-2:amd64 (1.20.1-2) ...
#9 21.80 Setting up libgdbm-compat4:amd64 (1.23-3) ...
#9 21.80 Setting up gpgconf (2.2.40-1.1) ...
#9 21.81 Setting up libcurl4:amd64 (7.88.1-10+deb12u1) ...
#9 21.82 Setting up curl (7.88.1-10+deb12u1) ...
#9 21.82 Setting up libfontconfig1:amd64 (2.14.1-4) ...
#9 21.83 Setting up libperl5.36:amd64 (5.36.0-7) ...
#9 21.84 Setting up gpg (2.2.40-1.1) ...
#9 21.84 Setting up gnupg-utils (2.2.40-1.1) ...
#9 21.85 Setting up gpg-agent (2.2.40-1.1) ...
#9 22.47 Setting up openssh-client (1:9.2p1-2) ...
#9 22.54 Setting up gpgsm (2.2.40-1.1) ...
#9 22.55 Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u1) ...
#9 22.56 Setting up dirmngr (2.2.40-1.1) ...
#9 22.74 Setting up perl (5.36.0-7) ...
#9 22.76 Setting up gpg-wks-server (2.2.40-1.1) ...
#9 22.77 Setting up gpg-wks-client (2.2.40-1.1) ...
#9 22.78 Setting up liberror-perl (0.17029-2) ...
#9 22.79 Setting up git (1:2.39.2-1.1) ...
#9 22.80 Setting up gnupg (2.2.40-1.1) ...
#9 22.81 Processing triggers for libc-bin (2.36-9+deb12u1) ...
#9 22.83 Processing triggers for ca-certificates (20230311) ...
#9 22.84 Updating certificates in /etc/ssl/certs...
#9 24.45 0 added, 0 removed; done.
#9 24.45 Running hooks in /etc/ca-certificates/update.d...
#9 24.46 done.
#9 DONE 24.6s
#10 [stage-1 3/13] RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh -o /tmp/script.deb.sh && bash /tmp/script.deb.sh && rm -f /tmp/script.deb.sh && apt-get install -y --no-install-recommends git-lfs && rm -rf /var/lib/apt/lists/* && git lfs install
#10 1.054 Detected operating system as debian/12.
#10 1.054 Checking for curl...
#10 1.054 Detected curl...
#10 1.054 Checking for gpg...
#10 1.054 Detected gpg...
#10 1.068 Detected apt version as 2.6.1
#10 1.068 Running apt-get update... done.
#10 3.260 Installing debian-archive-keyring which is needed for installing
#10 3.260 apt-transport-https on many Debian systems.
#10 4.114 Installing apt-transport-https... done.
#10 5.304 Installing /etc/apt/sources.list.d/github_git-lfs.list...done.
#10 5.681 Importing packagecloud gpg key... gpg: out of core handler ignored in FIPS mode
#10 6.185 Packagecloud gpg key imported to /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg
#10 6.185 done.
#10 6.185 Running apt-get update... done.
#10 8.068
#10 8.068 The repository is setup! You can now install packages.
#10 8.068 /tmp/script.deb.sh: line 119: 168 Aborted apt-get update &> /dev/null
#10 8.099 Reading package lists...fatal error in libgcrypt, file ../../src/misc.c, line 92, function _gcry_fatal_error: requested algo not in md context
#10 8.651
#10 8.651 Fatal error: requested algo not in md context
#10 8.682 Aborted (core dumped)
#10 ERROR: process "/bin/sh -c curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh -o /tmp/script.deb.sh && bash /tmp/script.deb.sh && rm -f /tmp/script.deb.sh && apt-get install -y --no-install-recommends git-lfs && rm -rf /var/lib/apt/lists/* && git lfs install" did not complete successfully: exit code: 134
------
> [stage-1 3/13] RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh -o /tmp/script.deb.sh && bash /tmp/script.deb.sh && rm -f /tmp/script.deb.sh && apt-get install -y --no-install-recommends git-lfs && rm -rf /var/lib/apt/lists/* && git lfs install:
#10 3.260 apt-transport-https on many Debian systems.
done.
#10 5.681 Importing packagecloud gpg key... gpg: out of core handler ignored in FIPS mode
done.
#10 8.068
#10 8.068 The repository is setup! You can now install packages.
fatal error in libgcrypt, file ../../src/misc.c, line 92, function _gcry_fatal_error: requested algo not in md context
#10 8.651
#10 8.651 Fatal error: requested algo not in md context
#10 8.682 Aborted (core dumped)
------
Dockerfile:29
--------------------
28 |
29 | >>> RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh -o /tmp/script.deb.sh \
30 | >>> && bash /tmp/script.deb.sh \
31 | >>> && rm -f /tmp/script.deb.sh \
32 | >>> && apt-get install -y --no-install-recommends \
33 | >>> git-lfs \
34 | >>> && rm -rf /var/lib/apt/lists/* \
35 | >>> && git lfs install
36 |
--------------------
ERROR: failed to solve: process "/bin/sh -c curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh -o /tmp/script.deb.sh && bash /tmp/script.deb.sh && rm -f /tmp/script.deb.sh && apt-get install -y --no-install-recommends git-lfs && rm -rf /var/lib/apt/lists/* && git lfs install" did not complete successfully: exit code: 134
Jenkins and plugins versions report
Jenkins LTS 2.414.1
What Operating System are you using (both controller, and any agents involved in the problem)?
Debian 12 Bookworm
Reproduction steps
Expected Results
No error
Actual Results
Error
Anything else?
https://github.com/jenkinsci/docker/issues/1686 https://github.com/debuerreotype/docker-debian-artifacts/issues/202