-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: tap-plugin
-
None
-
Environment:Jenkins: 2.545
OS: Linux - 4.18.0-553.70.1.el8_10.x86_64 (RHEL8)
Java: 21.0.8 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
active-directory:2.41
ansible:588.v2a_a_a_f345e34f
ansicolor:536.v13fa_b_860c267
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.6-183.ve5a_8a_b_e71e59
asm-api:9.9.1-189.vb_5ef2964da_91
authentication-tokens:1.144.v5ff4a_5ec5c33
bitbucket:282.v85a_7e442f57b_
bootstrap5-api:5.3.8-895.v4d0d8e47fea_d
bouncycastle-api:2.30.1.82-277.v70ca_0b_877184
branch-api:2.1268.v044a_87612da_8
build-blocker-plugin:166.vc82fc20b_a_ed6
build-timeout:1.39
build-user-vars-plugin:212.vd6b_e9f6d0cdb_
caffeine-api:3.2.3-194.v31a_b_f7a_b_5a_81
checks-api:402.vca_263b_f200e3
cloudbees-bitbucket-branch-source:937.2.3
cloudbees-folder:6.1073.va_7888eb_dd514
command-launcher:123.v37cfdc92ef67
commons-collections4-api:4.5.0-8.va_d5448ef9011
commons-compress-api:1.28.0-2
commons-lang3-api:3.20.0-109.ve43756e2d2b_4
commons-text-api:1.15.0-210.v7480a_da_70b_9e
conditional-buildstep:1.5.0
configuration-as-code:2006.v001a_2ca_6b_574
copyartifact:770.va_6c69e063442
credentials:1462.v21d5e767269e
credentials-binding:702.vfe613e537e88
data-tables-api:2.3.5-1497.v38449eb_7d5a_1
delivery-pipeline-plugin:1.4.2
display-url-api:2.217.va_6b_de84cc74b_
durable-task:635.v3733cef34b_5e
echarts-api:6.0.0-1165.vd1283a_3e37d4
eddsa-api:0.3.0.1-19.vc432d923e5ee
email-ext:1933.v45cec755423f
external-monitor-job:223.vb_fddcf42c9b_3
favorite:2.253.v9b_413168133b_
font-awesome-api:7.1.0-882.v1dfb_771e3278
git:5.8.1
git-client:6.5.0
git-parameter:460.v71e7583a_c099
git-server:137.ve0060b_432302
gson-api:2.13.2-173.va_a_092315913c
handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:94.vcc3065403257
jackson2-api:2.20.1-423.v13951f6b_6532
jakarta-activation-api:2.1.4-1
jakarta-mail-api:2.1.5-1
jakarta-xml-bind-api:4.0.6-12.vb_1833c1231d3
javadoc:354.vee1a_660b_4990
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-143.v5979df3304e6
jdk-tool:83.v417146707a_3d
jnr-posix-api:3.1.21-186.vb_7ec9b_23ce83
job-dsl:1.93
joda-time-api:2.14.0-149.v1c3ce991d1b_9
jquery:1.12.4-3
jquery3-api:3.7.1-619.vdb_10e002501a_
jsch:0.2.16-95.v3eecb_55fa_b_78
json-api:20251224-185.v0cc18490c62c
json-path-api:2.10.0-202.va_9cc16c1e476
jsoup:1.22.1-76.v9cdb_2456c0e3
junit:1369.v15da_00283f06
ldap:793.v754d6b_41b_ea_4
login-theme:284.v95044396a_484
mailer:525.v2458b_d8a_1a_71
matrix-auth:3.2.9
matrix-project:870.v9db_fcfc2f45b_
maven-plugin:3.27
mercurial:1323.ve69d2a_db_8a_b_d
mina-sshd-api-common:2.16.0-167.va_269f38cc024
mina-sshd-api-core:2.16.0-167.va_269f38cc024
nodelabelparameter:759.vb_b_e95db_f3251
oss-symbols-api:424.ved751e062911
pam-auth:1.12
parameterized-trigger:873.v8b_e37dd8418f
permissive-script-security:0.7
pipeline-build-step:571.v08a_fffd4b_0ce
pipeline-graph-analysis:245.v88f03631a_b_21
pipeline-groovy-lib:787.ve2fef0efdca_6
pipeline-input-step:540.v14b_100d754dd
pipeline-milestone-step:138.v78ca_76831a_43
pipeline-model-api:2.2277.v00573e73ddf1
pipeline-model-definition:2.2277.v00573e73ddf1
pipeline-model-extensions:2.2277.v00573e73ddf1
pipeline-rest-api:2.38
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2277.v00573e73ddf1
pipeline-stage-view:2.38
pipeline-utility-steps:2.20.0
plain-credentials:199.v9f8e1f741799
plugin-util-api:6.1192.v30fe6e2837ff
prism-api:1.30.0-630.va_e19d17f83b_0
resource-disposer:0.25
role-strategy:848.va_a_ea_673cf0b_c
run-condition:276.v97298f3a_cd51
scm-api:724.v7d839074eb_5c
script-security:1385.v7d2d9ec4d909
simple-theme-plugin:211.v5424a_5510e47
slave-setup:129.vee7cd5a_0e204
snakeyaml-api:2.5-143.v93b_c004f89de
ssh-credentials:361.vb_f6760818e8c
ssh-steps:2.0.89.v8f758c756546
sshd:3.374.v19b_d59ce6610
structs:362.va_b_695ef4fdf9
swarm:3.51
tap:2.4.4
throttle-concurrents:624.vc427fa_e0e503
timestamper:1.30
token-macro:477.vd4f0dc3cb_cf1
trilead-api:2.284.v1974ea_324382
uno-choice:2.8.8
validating-string-parameter:255.v31e2e6d0d273
variant:70.va_d9f17f859e0
violation-comments-to-stash:1.134
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1398.v67030756d3fb_
workflow-basic-steps:1098.v808b_fd7f8cf4
workflow-cps:4238.va_6fb_65c1f699
workflow-durable-task-step:1464.v2d3f5c68f84c
workflow-job:1559.va_a_533730b_ea_d
workflow-multibranch:821.vc3b_4ea_780798
workflow-scm-step:466.va_d69e602552b_
workflow-step-api:710.v3e456cc85233
workflow-support:1010.vb_b_39488a_9841
ws-cleanup:0.49
ws-ws-replacement:1.0.1
Running jenkins directly in a RHEL8 Linux virtual server. Is accessed by Chrome web browsers both directly and via proxy. Jenkins installed via yum/RPM from public Jenkins yum service (https://pkg.origin.jenkins.io/redhat)Jenkins: 2.545 OS: Linux - 4.18.0-553.70.1.el8_10.x86_64 (RHEL8) Java: 21.0.8 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- active-directory:2.41 ansible:588.v2a_a_a_f345e34f ansicolor:536.v13fa_b_860c267 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.6-183.ve5a_8a_b_e71e59 asm-api:9.9.1-189.vb_5ef2964da_91 authentication-tokens:1.144.v5ff4a_5ec5c33 bitbucket:282.v85a_7e442f57b_ bootstrap5-api:5.3.8-895.v4d0d8e47fea_d bouncycastle-api:2.30.1.82-277.v70ca_0b_877184 branch-api:2.1268.v044a_87612da_8 build-blocker-plugin:166.vc82fc20b_a_ed6 build-timeout:1.39 build-user-vars-plugin:212.vd6b_e9f6d0cdb_ caffeine-api:3.2.3-194.v31a_b_f7a_b_5a_81 checks-api:402.vca_263b_f200e3 cloudbees-bitbucket-branch-source:937.2.3 cloudbees-folder:6.1073.va_7888eb_dd514 command-launcher:123.v37cfdc92ef67 commons-collections4-api:4.5.0-8.va_d5448ef9011 commons-compress-api:1.28.0-2 commons-lang3-api:3.20.0-109.ve43756e2d2b_4 commons-text-api:1.15.0-210.v7480a_da_70b_9e conditional-buildstep:1.5.0 configuration-as-code:2006.v001a_2ca_6b_574 copyartifact:770.va_6c69e063442 credentials:1462.v21d5e767269e credentials-binding:702.vfe613e537e88 data-tables-api:2.3.5-1497.v38449eb_7d5a_1 delivery-pipeline-plugin:1.4.2 display-url-api:2.217.va_6b_de84cc74b_ durable-task:635.v3733cef34b_5e echarts-api:6.0.0-1165.vd1283a_3e37d4 eddsa-api:0.3.0.1-19.vc432d923e5ee email-ext:1933.v45cec755423f external-monitor-job:223.vb_fddcf42c9b_3 favorite:2.253.v9b_413168133b_ font-awesome-api:7.1.0-882.v1dfb_771e3278 git:5.8.1 git-client:6.5.0 git-parameter:460.v71e7583a_c099 git-server:137.ve0060b_432302 gson-api:2.13.2-173.va_a_092315913c handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3 instance-identity:203.v15e81a_1b_7a_38 ionicons-api:94.vcc3065403257 jackson2-api:2.20.1-423.v13951f6b_6532 jakarta-activation-api:2.1.4-1 jakarta-mail-api:2.1.5-1 jakarta-xml-bind-api:4.0.6-12.vb_1833c1231d3 javadoc:354.vee1a_660b_4990 javax-activation-api:1.2.0-8 javax-mail-api:1.6.2-11 jaxb:2.3.9-143.v5979df3304e6 jdk-tool:83.v417146707a_3d jnr-posix-api:3.1.21-186.vb_7ec9b_23ce83 job-dsl:1.93 joda-time-api:2.14.0-149.v1c3ce991d1b_9 jquery:1.12.4-3 jquery3-api:3.7.1-619.vdb_10e002501a_ jsch:0.2.16-95.v3eecb_55fa_b_78 json-api:20251224-185.v0cc18490c62c json-path-api:2.10.0-202.va_9cc16c1e476 jsoup:1.22.1-76.v9cdb_2456c0e3 junit:1369.v15da_00283f06 ldap:793.v754d6b_41b_ea_4 login-theme:284.v95044396a_484 mailer:525.v2458b_d8a_1a_71 matrix-auth:3.2.9 matrix-project:870.v9db_fcfc2f45b_ maven-plugin:3.27 mercurial:1323.ve69d2a_db_8a_b_d mina-sshd-api-common:2.16.0-167.va_269f38cc024 mina-sshd-api-core:2.16.0-167.va_269f38cc024 nodelabelparameter:759.vb_b_e95db_f3251 oss-symbols-api:424.ved751e062911 pam-auth:1.12 parameterized-trigger:873.v8b_e37dd8418f permissive-script-security:0.7 pipeline-build-step:571.v08a_fffd4b_0ce pipeline-graph-analysis:245.v88f03631a_b_21 pipeline-groovy-lib:787.ve2fef0efdca_6 pipeline-input-step:540.v14b_100d754dd pipeline-milestone-step:138.v78ca_76831a_43 pipeline-model-api:2.2277.v00573e73ddf1 pipeline-model-definition:2.2277.v00573e73ddf1 pipeline-model-extensions:2.2277.v00573e73ddf1 pipeline-rest-api:2.38 pipeline-stage-step:322.vecffa_99f371c pipeline-stage-tags-metadata:2.2277.v00573e73ddf1 pipeline-stage-view:2.38 pipeline-utility-steps:2.20.0 plain-credentials:199.v9f8e1f741799 plugin-util-api:6.1192.v30fe6e2837ff prism-api:1.30.0-630.va_e19d17f83b_0 resource-disposer:0.25 role-strategy:848.va_a_ea_673cf0b_c run-condition:276.v97298f3a_cd51 scm-api:724.v7d839074eb_5c script-security:1385.v7d2d9ec4d909 simple-theme-plugin:211.v5424a_5510e47 slave-setup:129.vee7cd5a_0e204 snakeyaml-api:2.5-143.v93b_c004f89de ssh-credentials:361.vb_f6760818e8c ssh-steps:2.0.89.v8f758c756546 sshd:3.374.v19b_d59ce6610 structs:362.va_b_695ef4fdf9 swarm:3.51 tap:2.4.4 throttle-concurrents:624.vc427fa_e0e503 timestamper:1.30 token-macro:477.vd4f0dc3cb_cf1 trilead-api:2.284.v1974ea_324382 uno-choice:2.8.8 validating-string-parameter:255.v31e2e6d0d273 variant:70.va_d9f17f859e0 violation-comments-to-stash:1.134 workflow-aggregator:608.v67378e9d3db_1 workflow-api:1398.v67030756d3fb_ workflow-basic-steps:1098.v808b_fd7f8cf4 workflow-cps:4238.va_6fb_65c1f699 workflow-durable-task-step:1464.v2d3f5c68f84c workflow-job:1559.va_a_533730b_ea_d workflow-multibranch:821.vc3b_4ea_780798 workflow-scm-step:466.va_d69e602552b_ workflow-step-api:710.v3e456cc85233 workflow-support:1010.vb_b_39488a_9841 ws-cleanup:0.49 ws-ws-replacement:1.0.1 Running jenkins directly in a RHEL8 Linux virtual server. Is accessed by Chrome web browsers both directly and via proxy. Jenkins installed via yum/RPM from public Jenkins yum service ( https://pkg.origin.jenkins.io/redhat )
Since junit plugin version 1372.vfea_f21efa_b_26, jenkins shows the "Oops, problem occurred" page when attempting to view "TAP Test Results", from a build where TAP tests results are available. "TAP Extended Test Results" renders correctly. Our TAP tests are created/published within declarative pipelines, eg:
def publishTAPResults( String a_results_dir, String b_results_dir, String c_results_dir, String d_results_dir ) {
  env.a_results_dir = a_results_dir
  env.b_results_dir = b_results_dir
  env.c_results_dir = c_results_dir
  env.d_results_dir = d_results_dir
  tap_files = sh(returnStdout: true, script: 'find \"\${a_results_dir}/goss\" -name
*.tap 2>/dev/null || true').trim()
  if (tap_files != "") {
    step([$class: "TapPublisher", testResults: "${a_results_dir}/goss/**/*.tap"])
    archiveArtifacts artifacts: "${a_results_dir}/goss/*/.tap", fingerprint: true
{{Â Â }}}
<...>
Log messages in attached file.
"TAP Test Results" page works correctly with junit plugin 1369.v15da_00283f06. Issue occurs on a freshly-built jenkins instance. The plugin downgrade consistently restores the expected results page.
The following summary text from a heavily-prompted and lengthy LLM troubleshooting;Â very much hope this is in some way helpful, with my apologies because I am not a jenkins or java developer:
The TAP plugin fails to display test results when used with junit plugin version 1372 or higher. This is caused by a *latent bug in the TAP plugin* that was exposed by a UI refactoring in junit 1372.
*Root Cause:* TAP plugin's `TapStreamResult` class has a transient `owner` field that is never restored after deserialization from disk.
*Breaking Change:* junit commit `feaf21e` (PR #755) moved the access of `${it.parentAction}` to the very beginning of view rendering, before any initialization occurs.
*Result:* When the view accesses `parentAction`, it calls `getRun()` which returns the uninitialized transient field (null), causing a NullPointerException.