-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins: 2.361.2
OS: Linux - 4.18.0-372.26.1.el8_6.x86_64
Java version:
-------------
[~]$ java --version
openjdk 11.0.17 2022-10-18 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS, mixed mode, sharing)
/etc/os-release:
----------------
NAME="Red Hat Enterprise Linux"
VERSION="8.6 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"
Plugins
-------
PrioritySorter:4.1.0
ace-editor:1.1
analysis-model-api:10.16.1
ansible:1.1
ant:481.v7b_09e538fcca
antisamy-markup-formatter:2.7
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
authentication-tokens:1.4
authorize-project:1.4.0
aws-credentials:191.vcb_f183ce58b_9
aws-java-sdk:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-cloudformation:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-codebuild:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-ec2:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-ecr:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-ecs:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-efs:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-elasticbeanstalk:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-iam:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-logs:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-minimal:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-sns:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-sqs:1.12.287-357.vf82d85a_6eefd
aws-java-sdk-ssm:1.12.287-357.vf82d85a_6eefd
bootstrap4-api:4.6.0-5
bootstrap5-api:5.2.0-3
bouncycastle-api:2.26
branch-api:2.1046.v0ca_37783ecc5
build-name-setter:2.2.0
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.7.5
cloudbees-folder:6.758.vfd75d09eea_a_1
cobertura:1.17
code-coverage-api:3.1.0
command-launcher:90.v669d7ccb_7c31
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
conditional-buildstep:1.4.2
configuration-as-code:1569.vb_72405b_80249
copy-project-link:89.va_e1b_e5836c37
credentials:1143.vb_e8b_b_ceee347
credentials-binding:523.vd859a_4b_122e6
custom-tools-plugin:0.8
data-tables-api:1.12.1-3
datadog:5.0.0
display-url-api:2.3.6
docker-commons:1.21
docker-workflow:521.v1a_a_dd2073b_2e
dtkit-api:3.0.1
durable-task:500.v8927d9fd99d8
ec2-fleet:2.5.2
echarts-api:5.3.3-1
email-ext:2.91
envinject:2.875.v9b_9e962da_a_ec
envinject-api:1.199.v3ce31253ed13
extended-choice-parameter:346.vd87693c5a_86c
extended-read-permission:3.2
external-monitor-job:203.v683c09d993b_9
font-awesome-api:6.2.0-1
forensics-api:1.15.1
generic-webhook-trigger:1.84.1
ghprb:1.42.2
git:4.12.1
git-client:3.12.0
git-server:99.va_0826a_b_cdfa_d
github:1.35.0
github-api:1.303-400.v35c2d8258028
github-branch-source:1695.v88de84e9f6b_9
google-login:1.6
handlebars:3.0.8
htmlpublisher:1.31
http_request:1.16
instance-identity:116.vf8f487400980
ionicons-api:24.va_745a_b_a_97fc3
jackson2-api:2.13.3-285.vc03c0256d517
jakarta-activation-api:2.0.1-1
jakarta-mail-api:2.0.1-1
javadoc:226.v71211feb_e7e9
javax-activation-api:1.2.0-4
javax-mail-api:1.6.2-7
jaxb:2.3.6-1
jdk-tool:55.v1b_32b_6ca_f9ca
jjwt-api:0.11.5-77.v646c772fddb_0
jnr-posix-api:3.1.15-1
job-dsl:1.81
jquery:1.12.4-1
jquery-detached:1.2.1
jquery3-api:3.6.0-4
jsch:0.1.55.61.va_e9ee26616e7
junit:1119.1121.vc43d0fc45561
ldap:2.12
lockable-resources:2.16
mailer:438.v02c7f0a_12fa_4
mapdb-api:1.0.9-28.vf251ce40855d
mask-passwords:3.3
matrix-auth:3.1.5
matrix-project:785.v06b_7f47b_c631
maven-plugin:3.19
mina-sshd-api-common:2.9.1-44.v476733c11f82
mina-sshd-api-core:2.9.1-44.v476733c11f82
momentjs:1.1.1
okhttp-api:4.9.3-108.v0feda04578cf
openid4java:0.9.8.0
pam-auth:1.10
parameterized-trigger:2.45
pipeline-build-step:2.18
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:195.v5812d95a_a_2f9
pipeline-groovy-lib:612.v84da_9c54906d
pipeline-input-step:451.vf1a_a_4f405289
pipeline-milestone-step:101.vd572fef9d926
pipeline-model-api:2.2114.v2654ca_721309
pipeline-model-definition:2.2114.v2654ca_721309
pipeline-model-extensions:2.2114.v2654ca_721309
pipeline-rest-api:2.24
pipeline-stage-step:296.v5f6908f017a_5
pipeline-stage-tags-metadata:2.2114.v2654ca_721309
pipeline-stage-view:2.24
pipeline-utility-steps:2.13.1
plain-credentials:139.ved2b_9cf7587b
plugin-usage-plugin:3.0
plugin-util-api:2.17.0
popper-api:1.16.1-3
popper2-api:2.11.6-1
postbuild-task:1.9
postbuildscript:3.2.0-460.va_fda_0fa_26720
prism-api:1.28.0-2
purge-job-history:1.6
rebuild:1.34
resource-disposer:0.20
role-strategy:561.v9846c7351a_41
run-condition:1.5
saltstack:3.2.2
scm-api:621.vda_a_b_055e58f7
script-security:1183.v774b_0b_0a_a_451
slack:625.va_eeb_b_168ffb_0
sloccount:1.26
snakeyaml-api:1.31-84.ve43da_fb_49d0b
ssh-agent:295.v9ca_a_1c7cc3a_a_
ssh-credentials:305.v8f4381501156
ssh-slaves:2.846.v1b_70190624f5
ssh-steps:2.0.39.v831c5e6468b_c
sshd:3.249.v2dc2ea_416e33
structs:324.va_f5d6774f3a_d
thinBackup:1.10
throttle-concurrents:2.9
timestamper:1.20
token-macro:308.v4f2b_ed62b_b_16
translation:1.16
trilead-api:2.72.v2a_3236754f73
uno-choice:2.6.4
variant:59.vf075fe829ccb
warnings-ng:9.19.2
windows-slaves:1.8.1
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1192.v2d0deb_19d212
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:2759.v87459c4eea_ca_
workflow-cps-global-lib:588.v576c103a_ff86
workflow-durable-task-step:1199.v02b_9244f8064
workflow-job:1236.vc3a_d1602f439
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:838.va_3a_087b_4055b
ws-cleanup:0.43
xunit:3.1.0
zentimestamp:4.2Jenkins: 2.361.2 OS: Linux - 4.18.0-372.26.1.el8_6.x86_64 Java version: ------------- [~]$ java --version openjdk 11.0.17 2022-10-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS, mixed mode, sharing) /etc/os-release: ---------------- NAME="Red Hat Enterprise Linux" VERSION="8.6 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.6" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos" HOME_URL=" https://www.redhat.com/ " DOCUMENTATION_URL=" https://access.redhat.com/documentation/red_hat_enterprise_linux/8/ " BUG_REPORT_URL=" https://bugzilla.redhat.com/ " REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.6 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.6" Plugins ------- PrioritySorter:4.1.0 ace-editor:1.1 analysis-model-api:10.16.1 ansible:1.1 ant:481.v7b_09e538fcca antisamy-markup-formatter:2.7 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 authentication-tokens:1.4 authorize-project:1.4.0 aws-credentials:191.vcb_f183ce58b_9 aws-java-sdk:1.12.287-357.vf82d85a_6eefd aws-java-sdk-cloudformation:1.12.287-357.vf82d85a_6eefd aws-java-sdk-codebuild:1.12.287-357.vf82d85a_6eefd aws-java-sdk-ec2:1.12.287-357.vf82d85a_6eefd aws-java-sdk-ecr:1.12.287-357.vf82d85a_6eefd aws-java-sdk-ecs:1.12.287-357.vf82d85a_6eefd aws-java-sdk-efs:1.12.287-357.vf82d85a_6eefd aws-java-sdk-elasticbeanstalk:1.12.287-357.vf82d85a_6eefd aws-java-sdk-iam:1.12.287-357.vf82d85a_6eefd aws-java-sdk-logs:1.12.287-357.vf82d85a_6eefd aws-java-sdk-minimal:1.12.287-357.vf82d85a_6eefd aws-java-sdk-sns:1.12.287-357.vf82d85a_6eefd aws-java-sdk-sqs:1.12.287-357.vf82d85a_6eefd aws-java-sdk-ssm:1.12.287-357.vf82d85a_6eefd bootstrap4-api:4.6.0-5 bootstrap5-api:5.2.0-3 bouncycastle-api:2.26 branch-api:2.1046.v0ca_37783ecc5 build-name-setter:2.2.0 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.7.5 cloudbees-folder:6.758.vfd75d09eea_a_1 cobertura:1.17 code-coverage-api:3.1.0 command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-27.vb_fa_3896786a_7 conditional-buildstep:1.4.2 configuration-as-code:1569.vb_72405b_80249 copy-project-link:89.va_e1b_e5836c37 credentials:1143.vb_e8b_b_ceee347 credentials-binding:523.vd859a_4b_122e6 custom-tools-plugin:0.8 data-tables-api:1.12.1-3 datadog:5.0.0 display-url-api:2.3.6 docker-commons:1.21 docker-workflow:521.v1a_a_dd2073b_2e dtkit-api:3.0.1 durable-task:500.v8927d9fd99d8 ec2-fleet:2.5.2 echarts-api:5.3.3-1 email-ext:2.91 envinject:2.875.v9b_9e962da_a_ec envinject-api:1.199.v3ce31253ed13 extended-choice-parameter:346.vd87693c5a_86c extended-read-permission:3.2 external-monitor-job:203.v683c09d993b_9 font-awesome-api:6.2.0-1 forensics-api:1.15.1 generic-webhook-trigger:1.84.1 ghprb:1.42.2 git:4.12.1 git-client:3.12.0 git-server:99.va_0826a_b_cdfa_d github:1.35.0 github-api:1.303-400.v35c2d8258028 github-branch-source:1695.v88de84e9f6b_9 google-login:1.6 handlebars:3.0.8 htmlpublisher:1.31 http_request:1.16 instance-identity:116.vf8f487400980 ionicons-api:24.va_745a_b_a_97fc3 jackson2-api:2.13.3-285.vc03c0256d517 jakarta-activation-api:2.0.1-1 jakarta-mail-api:2.0.1-1 javadoc:226.v71211feb_e7e9 javax-activation-api:1.2.0-4 javax-mail-api:1.6.2-7 jaxb:2.3.6-1 jdk-tool:55.v1b_32b_6ca_f9ca jjwt-api:0.11.5-77.v646c772fddb_0 jnr-posix-api:3.1.15-1 job-dsl:1.81 jquery:1.12.4-1 jquery-detached:1.2.1 jquery3-api:3.6.0-4 jsch:0.1.55.61.va_e9ee26616e7 junit:1119.1121.vc43d0fc45561 ldap:2.12 lockable-resources:2.16 mailer:438.v02c7f0a_12fa_4 mapdb-api:1.0.9-28.vf251ce40855d mask-passwords:3.3 matrix-auth:3.1.5 matrix-project:785.v06b_7f47b_c631 maven-plugin:3.19 mina-sshd-api-common:2.9.1-44.v476733c11f82 mina-sshd-api-core:2.9.1-44.v476733c11f82 momentjs:1.1.1 okhttp-api:4.9.3-108.v0feda04578cf openid4java:0.9.8.0 pam-auth:1.10 parameterized-trigger:2.45 pipeline-build-step:2.18 pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:195.v5812d95a_a_2f9 pipeline-groovy-lib:612.v84da_9c54906d pipeline-input-step:451.vf1a_a_4f405289 pipeline-milestone-step:101.vd572fef9d926 pipeline-model-api:2.2114.v2654ca_721309 pipeline-model-definition:2.2114.v2654ca_721309 pipeline-model-extensions:2.2114.v2654ca_721309 pipeline-rest-api:2.24 pipeline-stage-step:296.v5f6908f017a_5 pipeline-stage-tags-metadata:2.2114.v2654ca_721309 pipeline-stage-view:2.24 pipeline-utility-steps:2.13.1 plain-credentials:139.ved2b_9cf7587b plugin-usage-plugin:3.0 plugin-util-api:2.17.0 popper-api:1.16.1-3 popper2-api:2.11.6-1 postbuild-task:1.9 postbuildscript:3.2.0-460.va_fda_0fa_26720 prism-api:1.28.0-2 purge-job-history:1.6 rebuild:1.34 resource-disposer:0.20 role-strategy:561.v9846c7351a_41 run-condition:1.5 saltstack:3.2.2 scm-api:621.vda_a_b_055e58f7 script-security:1183.v774b_0b_0a_a_451 slack:625.va_eeb_b_168ffb_0 sloccount:1.26 snakeyaml-api:1.31-84.ve43da_fb_49d0b ssh-agent:295.v9ca_a_1c7cc3a_a_ ssh-credentials:305.v8f4381501156 ssh-slaves:2.846.v1b_70190624f5 ssh-steps:2.0.39.v831c5e6468b_c sshd:3.249.v2dc2ea_416e33 structs:324.va_f5d6774f3a_d thinBackup:1.10 throttle-concurrents:2.9 timestamper:1.20 token-macro:308.v4f2b_ed62b_b_16 translation:1.16 trilead-api:2.72.v2a_3236754f73 uno-choice:2.6.4 variant:59.vf075fe829ccb warnings-ng:9.19.2 windows-slaves:1.8.1 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1192.v2d0deb_19d212 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:2759.v87459c4eea_ca_ workflow-cps-global-lib:588.v576c103a_ff86 workflow-durable-task-step:1199.v02b_9244f8064 workflow-job:1236.vc3a_d1602f439 workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:838.va_3a_087b_4055b ws-cleanup:0.43 xunit:3.1.0 zentimestamp:4.2
The server is enabled in FIPS mode:
[user@ip-xyz ~]$ cat /proc/sys/crypto/fips_enabled 1
Starting the jenkins service gives the following error:
[user@ip-xyz ~]$ sudo systemctl start jenkins Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.
Looking inside journalctl provides the following details:
Nov 01 23:24:01 ip-xyz.ec2.internal systemd[1]: Starting Jenkins Continuous Integration Server... -- Subject: Unit jenkins.service has begun start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit jenkins.service has begun starting up. Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: Running from: /usr/share/java/jenkins.war Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: Exception in thread "main" java.lang.InternalError: internal error: SHA-1 not available. Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/sun.security.provider.SecureRandom.init(SecureRandom.java:108) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/sun.security.provider.SecureRandom.<init>(SecureRandom.java:79) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:285) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.security.SecureRandom.<init>(SecureRandom.java:219) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.io.File$TempDirectory.<clinit>(File.java:1955) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.io.File.createTempFile(File.java:2111) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at executable.Main.extractFromJar(Main.java:470) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at executable.Main._main(Main.java:249) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at executable.Main.main(Main.java:116) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: Caused by: java.security.NoSuchAlgorithmException: SHA MessageDigest not available Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.security.Security.getImpl(Security.java:779) Nov 01 23:24:01 ip-xyz.ec2.internal jenkins[36387]: at java.base/java.security.MessageDigest.getInstance(MessageDigest.java:178) Nov 01 23:24:01 ip-xyz.internal jenkins[36387]: at java.base/sun.security.provider.SecureRandom.init(SecureRandom.java:106) Nov 01 23:24:01 ip-xyz.internal jenkins[36387]: ... 8 more Nov 01 23:24:01 ip-xyz.ec2.internal systemd[1]: jenkins.service: Main process exited, code=exited, status=1/FAILURE Nov 01 23:24:01 ip-xyz.ec2.internal systemd[1]: jenkins.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit jenkins.service has entered the 'failed' state with result 'exit-code'. Nov 01 23:24:01 ip-xyz.ec2.internal systemd[1]: Failed to start Jenkins Continuous Integration Server. -- Subject: Unit jenkins.service has failed -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit jenkins.service has failed. -- -- The result is failed.
This issue is present with a brand new installation of Jenkins. I have tried consulting this thread, which did not provide much help. Please let me know if there is any more detail that I can provide to assist with resolving this issue. Any guidance on running Jenkins with FIPS mode enabled is appreciated.