-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
Jenkins: 2.492.3
OS: Linux - 3.10.0-1160.133.1.el7.x86_64
Java: 17.0.14 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.4.4-144.vc483d91903d2
asm-api:9.8-135.vb_2239d08ee90
authentication-tokens:1.131.v7199556c3004
basic-branch-build-strategies:228.v68c089762a_db_
bootstrap5-api:5.3.3-2
bouncycastle-api:2.30.1.80-256.vf98926042a_9b_
branch-api:2.1217.v43d8b_b_d8b_2c7
caffeine-api:3.2.0-166.v72a_6d74b_870f
checks-api:370.vb_61a_c57328f3
cloudbees-bitbucket-branch-source:936.1.1
cloudbees-folder:6.1012.v79a_86a_1ea_c1f
commons-lang3-api:3.17.0-87.v5cf526e63b_8b_
commons-text-api:1.13.0-153.v91dcd89e2a_22
config-file-provider:988.v0461fcc2b_9d1
configuration-as-code:1963.v24e046127a_3f
conjur-credentials:2.2.4
credentials:1415.v831096eb_5534
credentials-binding:687.v619cb_15e923f
dark-theme:524.vd675b_22b_30cb_
display-url-api:2.209.v582ed814ff2f
docker-commons:451.vd12c371eeeb_3
docker-workflow:611.v16e84da_6d3ff
durable-task:587.v84b_877235b_45
echarts-api:5.6.0-4
eddsa-api:0.3.0.1-19.vc432d923e5ee
font-awesome-api:6.7.2-1
git:5.7.0
git-client:6.1.3
gson-api:2.13.1-139.v4569c2ef303f
handy-uri-templates-2-api:2.1.8-36.v85e4cb_234a_13
hashicorp-vault-plugin:371.v884a_4dd60fb_6
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:88.va_4187cb_eddf1
jackson2-api:2.18.3-402.v74c4eb_f122b_2
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-2
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-133.vb_ec76a_73f706
joda-time-api:2.14.0-127.v7d9da_295a_d51
jquery3-api:3.7.1-3
json-api:20250107-125.v28b_a_ffa_eb_f01
json-path-api:2.9.0-148.v22a_7ffe323ce
junit:1334.vd3b_b_2094e438
kubernetes:4336.v55d9a_494db_38
kubernetes-client-api:6.10.0-251.v556f5f100500
kubernetes-credentials:192.v4d5b_1c429d17
mailer:489.vd4b_25144138f
matrix-auth:3.2.6
metrics:4.2.30-471.v55fa_495f2b_f5
mina-sshd-api-common:2.15.0-161.vb_200831a_c15b_
mina-sshd-api-core:2.15.0-161.vb_200831a_c15b_
okhttp-api:4.11.0-189.v976fa_d3379d6
pipeline-build-step:567.vea_ce550ece97
pipeline-groovy-lib:752.vdddedf804e72
pipeline-input-step:517.vf8e782ee645c
pipeline-maven:1508.v347c4b_692202
pipeline-maven-api:1508.v347c4b_692202
pipeline-milestone-step:134.vdf60d179845f
pipeline-model-api:2.2255.v56a_15e805f12
pipeline-model-definition:2.2255.v56a_15e805f12
pipeline-model-extensions:2.2255.v56a_15e805f12
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2255.v56a_15e805f12
plain-credentials:195.vb_906e9073dee
plugin-util-api:6.1.0
prism-api:1.30.0-1
scm-api:704.v3ce5c542825a_
script-security:1373.vb_b_4a_a_c26fa_00
snakeyaml-api:2.3-125.v4d77857a_b_402
ssh-credentials:355.v9b_e5b_cde5003
sshd:3.353.v2b_d33c46e970
structs:343.vdcf37b_a_c81d5
templating-engine:2.5.5
theme-manager:294.vf2c2fd783821
timestamper:1.28
token-macro:444.v52de7e9c573d
variant:70.va_d9f17f859e0
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1373.v7b_813f10efa_b_
workflow-basic-steps:1079.vce64b_a_929c5a_
workflow-cps:4106.v7a_8a_8176d450
workflow-durable-task-step:1405.v1fcd4a_d00096
workflow-job:1520.v56d65e3b_4566
workflow-multibranch:806.vb_b_688f609ee9
workflow-scm-step:437.v05a_f66b_e5ef8
workflow-step-api:700.v6e45cb_a_5a_a_21
workflow-support:968.v8f17397e87b_8Jenkins: 2.492.3 OS: Linux - 3.10.0-1160.133.1.el7.x86_64 Java: 17.0.14 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- antisamy-markup-formatter:173.v680e3a_b_69ff3 apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83 apache-httpcomponents-client-5-api:5.4.4-144.vc483d91903d2 asm-api:9.8-135.vb_2239d08ee90 authentication-tokens:1.131.v7199556c3004 basic-branch-build-strategies:228.v68c089762a_db_ bootstrap5-api:5.3.3-2 bouncycastle-api:2.30.1.80-256.vf98926042a_9b_ branch-api:2.1217.v43d8b_b_d8b_2c7 caffeine-api:3.2.0-166.v72a_6d74b_870f checks-api:370.vb_61a_c57328f3 cloudbees-bitbucket-branch-source:936.1.1 cloudbees-folder:6.1012.v79a_86a_1ea_c1f commons-lang3-api:3.17.0-87.v5cf526e63b_8b_ commons-text-api:1.13.0-153.v91dcd89e2a_22 config-file-provider:988.v0461fcc2b_9d1 configuration-as-code:1963.v24e046127a_3f conjur-credentials:2.2.4 credentials:1415.v831096eb_5534 credentials-binding:687.v619cb_15e923f dark-theme:524.vd675b_22b_30cb_ display-url-api:2.209.v582ed814ff2f docker-commons:451.vd12c371eeeb_3 docker-workflow:611.v16e84da_6d3ff durable-task:587.v84b_877235b_45 echarts-api:5.6.0-4 eddsa-api:0.3.0.1-19.vc432d923e5ee font-awesome-api:6.7.2-1 git:5.7.0 git-client:6.1.3 gson-api:2.13.1-139.v4569c2ef303f handy-uri-templates-2-api:2.1.8-36.v85e4cb_234a_13 hashicorp-vault-plugin:371.v884a_4dd60fb_6 instance-identity:203.v15e81a_1b_7a_38 ionicons-api:88.va_4187cb_eddf1 jackson2-api:2.18.3-402.v74c4eb_f122b_2 jakarta-activation-api:2.1.3-2 jakarta-mail-api:2.1.3-2 javax-activation-api:1.2.0-8 javax-mail-api:1.6.2-11 jaxb:2.3.9-133.vb_ec76a_73f706 joda-time-api:2.14.0-127.v7d9da_295a_d51 jquery3-api:3.7.1-3 json-api:20250107-125.v28b_a_ffa_eb_f01 json-path-api:2.9.0-148.v22a_7ffe323ce junit:1334.vd3b_b_2094e438 kubernetes:4336.v55d9a_494db_38 kubernetes-client-api:6.10.0-251.v556f5f100500 kubernetes-credentials:192.v4d5b_1c429d17 mailer:489.vd4b_25144138f matrix-auth:3.2.6 metrics:4.2.30-471.v55fa_495f2b_f5 mina-sshd-api-common:2.15.0-161.vb_200831a_c15b_ mina-sshd-api-core:2.15.0-161.vb_200831a_c15b_ okhttp-api:4.11.0-189.v976fa_d3379d6 pipeline-build-step:567.vea_ce550ece97 pipeline-groovy-lib:752.vdddedf804e72 pipeline-input-step:517.vf8e782ee645c pipeline-maven:1508.v347c4b_692202 pipeline-maven-api:1508.v347c4b_692202 pipeline-milestone-step:134.vdf60d179845f pipeline-model-api:2.2255.v56a_15e805f12 pipeline-model-definition:2.2255.v56a_15e805f12 pipeline-model-extensions:2.2255.v56a_15e805f12 pipeline-stage-step:322.vecffa_99f371c pipeline-stage-tags-metadata:2.2255.v56a_15e805f12 plain-credentials:195.vb_906e9073dee plugin-util-api:6.1.0 prism-api:1.30.0-1 scm-api:704.v3ce5c542825a_ script-security:1373.vb_b_4a_a_c26fa_00 snakeyaml-api:2.3-125.v4d77857a_b_402 ssh-credentials:355.v9b_e5b_cde5003 sshd:3.353.v2b_d33c46e970 structs:343.vdcf37b_a_c81d5 templating-engine:2.5.5 theme-manager:294.vf2c2fd783821 timestamper:1.28 token-macro:444.v52de7e9c573d variant:70.va_d9f17f859e0 workflow-aggregator:608.v67378e9d3db_1 workflow-api:1373.v7b_813f10efa_b_ workflow-basic-steps:1079.vce64b_a_929c5a_ workflow-cps:4106.v7a_8a_8176d450 workflow-durable-task-step:1405.v1fcd4a_d00096 workflow-job:1520.v56d65e3b_4566 workflow-multibranch:806.vb_b_688f609ee9 workflow-scm-step:437.v05a_f66b_e5ef8 workflow-step-api:700.v6e45cb_a_5a_a_21 workflow-support:968.v8f17397e87b_8
We recently updated Jenkins from 2.462.2 to 2.492.3 with the latest plugins. After the update, Hashicorp Vault Username-Password Credentials types are no longer showing up in the credentials drop down. Only local Jenkins credentials are shown.
Really, there are three behaviors that are seen.
- The credentials drop down is missing and never shows lists of credentials to choose
- The credentials drop down only show local credentials and vault credentials are missing
- On rare occasion, vault credentials are in the drop down but after choosing the appropriate credential and saving job, we get the stack trace attached, vault-issue-ui.txt, when scanning the Bitbucket repo
Note, before most recent plugin update, we got a 401 error however the latest plugin released about 2 weeks ago now produces the stack trace in the attachment, vault-issue-ui.txt, with a blank status code.
At first we thought it was the hashivault plugin, however, the plugin works and vault credentials can be used successfully in a pipeline job. Also, when testing the hashi-vault secret retrieval, it successfully retrieves the username and password.
Also, we tried the following but still get the same issue:
- Updating Jenkins to latest LTS version, 2.504.1 (uses same plugin versions as 2.492.3)
- Updating to JDK 21 for the Jenkins controller
- Reverted to the previous working hashicorp-vault-plugin but same issue
I was able to capture the stack trace when turning on logger for com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource. Please see attachment vault-issue-log.txt for detail.