Merge supplementalGroups when combining pod YAML with builder spec#2850
Open
amarkdotdev wants to merge 1 commit into
Open
Merge supplementalGroups when combining pod YAML with builder spec#2850amarkdotdev wants to merge 1 commit into
amarkdotdev wants to merge 1 commit into
ci.jenkins.io / Jenkins
failed
Jul 12, 2026 in 1m 51s
Tests/jdk25: error in 'sh' step
Tests / kind-1 / Shell Script
Error in sh step, with arguments ./kind.sh -Penable-jacoco -Dsurefire.includesFile="$WORKSPACE_TMP/includes.txt" -Dsurefire.excludesFile="$WORKSPACE_TMP/excludes.txt".
Failed in branch jdk25
Build log
[2026-07-12T19:21:06.993Z] + ./kind.sh -Penable-jacoco -Dsurefire.includesFile=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/includes.txt -Dsurefire.excludesFile=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/excludes.txt
[2026-07-12T19:21:06.994Z] ++ dirname ./kind.sh
[2026-07-12T19:21:06.994Z] + cd .
[2026-07-12T19:21:06.995Z] + : /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp
[2026-07-12T19:21:06.996Z] ++ uname -m
[2026-07-12T19:21:06.996Z] + machine_name=x86_64
[2026-07-12T19:21:06.996Z] + '[' x86_64 = x86_64 ']'
[2026-07-12T19:21:06.997Z] + arch=amd64
[2026-07-12T19:21:06.997Z] + export PATH=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp:/opt/jdk-21/bin:/home/jenkins/.asdf/shims:/home/jenkins/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/opt/nodejs/bin
[2026-07-12T19:21:06.998Z] + PATH=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp:/opt/jdk-21/bin:/home/jenkins/.asdf/shims:/home/jenkins/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/opt/nodejs/bin
[2026-07-12T19:21:06.998Z] + '[' '!' -x /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kind ']'
[2026-07-12T19:21:06.999Z] ++ uname
[2026-07-12T19:21:06.999Z] ++ tr '[:upper:]' '[:lower:]'
[2026-07-12T19:21:06.999Z] + curl -sLo /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.23.0/kind-linux-amd64
[2026-07-12T19:21:07.329Z] + chmod +x /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kind
[2026-07-12T19:21:07.329Z] + '[' '!' -x /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kubectl ']'
[2026-07-12T19:21:07.329Z] ++ uname
[2026-07-12T19:21:07.330Z] ++ tr '[:upper:]' '[:lower:]'
[2026-07-12T19:21:07.330Z] + curl -sLo /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.30.1/bin/linux/amd64/kubectl
[2026-07-12T19:21:07.933Z] + chmod +x /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kubectl
[2026-07-12T19:21:07.934Z] + '[' '!' -x /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/ktunnel ']'
[2026-07-12T19:21:07.934Z] + cd /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp
[2026-07-12T19:21:07.934Z] + tar xvfz - ktunnel
[2026-07-12T19:21:07.934Z] ++ uname
[2026-07-12T19:21:07.935Z] + curl -sL https://github.com/omrikiei/ktunnel/releases/download/v1.6.1/ktunnel_1.6.1_Linux_x86_64.tar.gz
[2026-07-12T19:21:08.136Z] ktunnel
[2026-07-12T19:21:08.439Z] + export cluster=ci27037
[2026-07-12T19:21:08.439Z] + cluster=ci27037
[2026-07-12T19:21:08.440Z] + export KUBECONFIG=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kubeconfig-ci27037
[2026-07-12T19:21:08.440Z] + KUBECONFIG=/home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850@tmp/kubeconfig-ci27037
[2026-07-12T19:21:08.440Z] + kind create cluster --name ci27037 --wait 5m
[2026-07-12T19:21:09.143Z] Creating cluster "ci27037" ...
[2026-07-12T19:21:09.144Z] • Ensuring node image (kindest/node:v1.30.0) 🖼 ...
[2026-07-12T19:21:21.081Z] ✓ Ensuring node image (kindest/node:v1.30.0) 🖼
[2026-07-12T19:21:21.082Z] • Preparing nodes 📦 ...
[2026-07-12T19:21:36.410Z] Sending interrupt signal to process
[2026-07-12T19:21:25.193Z] ✗ Preparing nodes 📦
[2026-07-12T19:21:25.294Z] Terminated
Tests / kind-2 / Check out from version control
Error in checkout step.
Failed in branch jdk25
Build log
[2026-07-12T19:21:28.597Z] using credential app-ci.jenkins.io
[2026-07-12T19:21:28.968Z] Cloning the remote Git repository
[2026-07-12T19:21:28.968Z] Cloning with configured refspecs honoured and without tags
[2026-07-12T19:21:17.828Z] > JGit fetch # timeout=10
[2026-07-12T19:21:24.006Z] remote: Enumerating objects
[2026-07-12T19:21:24.007Z] remote: Counting objects
[2026-07-12T19:21:24.012Z] remote: Compressing objects
[2026-07-12T19:21:24.025Z] Receiving objects
[2026-07-12T19:21:36.497Z] ERROR: Checkout failed
[2026-07-12T19:21:36.497Z] java.lang.InterruptedException
[2026-07-12T19:21:36.497Z] at java.base/java.lang.Object.wait0(Native Method)
[2026-07-12T19:21:36.497Z] at java.base/java.lang.Object.wait(Object.java:389)
[2026-07-12T19:21:36.497Z] at hudson.remoting.Request.call(Request.java:179)
[2026-07-12T19:21:36.497Z] at hudson.remoting.Channel.call(Channel.java:1107)
[2026-07-12T19:21:36.497Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155)
[2026-07-12T19:21:36.497Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2026-07-12T19:21:36.497Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2026-07-12T19:21:36.497Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140)
[2026-07-12T19:21:36.497Z] at PluginClassLoader for git-client/jdk.proxy101/jdk.proxy101.$Proxy195.execute(Unknown Source)
[2026-07-12T19:21:36.497Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1220)
[2026-07-12T19:21:36.498Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
[2026-07-12T19:21:36.499Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
[2026-07-12T19:21:36.499Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
[2026-07-12T19:21:36.499Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101)
[2026-07-12T19:21:36.499Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88)
[2026-07-12T19:21:36.499Z] at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:49)
[2026-07-12T19:21:36.499Z] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
[2026-07-12T19:21:36.499Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
[2026-07-12T19:21:36.500Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
[2026-07-12T19:21:36.500Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
[2026-07-12T19:21:36.500Z] at java.base/java.lang.Thread.run(Thread.java:1474)
[2026-07-12T19:21:36.500Z] ERROR: Maximum checkout retry attempts reached, aborting
[2026-07-12T19:21:24.912Z] Resolving deltas
Tests / jdk25 / Shell Script
Error in sh step, with arguments mvn -B -ntp -Dset.changelist -Dmaven.test.failure.ignore clean install.
script returned exit code 1
Build log
[2026-07-12T19:19:59.252Z] + mvn -B -ntp -Dset.changelist -Dmaven.test.failure.ignore clean install
[2026-07-12T19:20:03.396Z] [INFO] Setting: -Dchangelist=4459.vc122a_91c8e79 -DscmTag=c122a91c8e7932dc6d291a3dff3b7a569012032f -Dproject.build.outputTimestamp=2026-07-12T19:19:02Z
[2026-07-12T19:20:03.397Z] [INFO] Setting: -DgitHubRepo=amarkdotdev/kubernetes-plugin
[2026-07-12T19:20:03.398Z] [INFO] Scanning for projects...
[2026-07-12T19:20:13.424Z] [INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:pom:3.1814.v77d15159f9b_d is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[2026-07-12T19:20:13.424Z] [INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:pom:3.1814.v77d15159f9b_d is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[2026-07-12T19:20:13.525Z] [WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:3.1814.v77d15159f9b_d is missing, no dependency information available
[2026-07-12T19:20:13.526Z] [INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:3.1814.v77d15159f9b_d is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[2026-07-12T19:20:13.526Z] [INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:3.1814.v77d15159f9b_d is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[2026-07-12T19:20:13.827Z] [WARNING] Failed to build parent project for org.csanchez.jenkins.plugins:kubernetes:hpi:4459.vc122a_91c8e79
[2026-07-12T19:20:13.929Z] [INFO]
[2026-07-12T19:20:13.929Z] [INFO] --------------< org.csanchez.jenkins.plugins:kubernetes >---------------
[2026-07-12T19:20:13.929Z] [INFO] Building Kubernetes plugin 4459.vc122a_91c8e79
[2026-07-12T19:20:13.929Z] [INFO] from pom.xml
[2026-07-12T19:20:13.930Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2026-07-12T19:21:13.639Z] [INFO]
[2026-07-12T19:21:13.639Z] [INFO] --- clean:3.5.0:clean (default-clean) @ kubernetes ---
[2026-07-12T19:21:13.740Z] [INFO]
[2026-07-12T19:21:13.741Z] [INFO] --- hpi:3.1814.v77d15159f9b_d:validate (default-validate) @ kubernetes ---
[2026-07-12T19:21:13.741Z] [INFO] Created marker file /home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850/target/java-level/17
[2026-07-12T19:21:13.741Z] [INFO]
[2026-07-12T19:21:13.741Z] [INFO] --- hpi:3.1814.v77d15159f9b_d:validate-hpi (default-validate-hpi) @ kubernetes ---
[2026-07-12T19:21:14.744Z] [INFO]
[2026-07-12T19:21:14.744Z] [INFO] --- enforcer:3.6.3:enforce (display-info) @ kubernetes ---
[2026-07-12T19:21:17.049Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2026-07-12T19:21:17.050Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2026-07-12T19:21:17.050Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2026-07-12T19:21:17.050Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[2026-07-12T19:21:17.752Z] [INFO] Rule 4: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2026-07-12T19:21:17.753Z] [INFO] Rule 5: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2026-07-12T19:21:17.853Z] [INFO] Rule 6: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2026-07-12T19:21:17.854Z] [INFO] Ignoring requireUpperBoundDeps in org.ow2.asm:asm
[2026-07-12T19:21:17.854Z] [INFO] Rule 7: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2026-07-12T19:21:17.854Z] [INFO] Rule 8: io.jenkins.tools.maven.jenkins_enforcer_rules.BanObsoleteDependencyOverrides passed
[2026-07-12T19:21:17.854Z] [INFO]
[2026-07-12T19:21:17.854Z] [INFO] --- enforcer:3.6.3:enforce (no-snapshots-in-release) @ kubernetes ---
[2026-07-12T19:21:17.855Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed
[2026-07-12T19:21:17.855Z] [INFO]
[2026-07-12T19:21:17.855Z] [INFO] --- enforcer:3.6.3:enforce (enforce-okhttp-consistency) @ kubernetes ---
[2026-07-12T19:21:17.855Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.RequireSameVersions passed
[2026-07-12T19:21:17.855Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.RequireSameVersions passed
[2026-07-12T19:21:17.855Z] [INFO]
[2026-07-12T19:21:17.855Z] [INFO] --- localizer:1.31:generate (default) @ kubernetes ---
[2026-07-12T19:21:24.977Z] [INFO]
[2026-07-12T19:21:24.977Z] [INFO] --- enforcer:3.6.3:enforce (check-junit-imports) @ kubernetes ---
[2026-07-12T19:21:25.078Z] [INFO] ------------------------------------------------------------------------
[2026-07-12T19:21:25.079Z] [INFO] BUILD FAILURE
[2026-07-12T19:21:25.079Z] [INFO] ------------------------------------------------------------------------
[2026-07-12T19:21:25.079Z] [INFO] Total time: 01:22 min
[2026-07-12T19:21:25.079Z] [INFO] Finished at: 2026-07-12T19:21:24Z
[2026-07-12T19:21:25.079Z] [INFO] ------------------------------------------------------------------------
[2026-07-12T19:21:25.079Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.3:enforce (check-junit-imports) on project kubernetes:
[2026-07-12T19:21:25.079Z] [ERROR] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports failed with message:
[2026-07-12T19:21:25.080Z] [ERROR]
[2026-07-12T19:21:25.080Z] [ERROR] Banned imports detected in TEST code:
[2026-07-12T19:21:25.080Z] [ERROR]
[2026-07-12T19:21:25.080Z] [ERROR] Reason: Use JUnit 5 (org.junit.jupiter.*)
[2026-07-12T19:21:25.080Z] [ERROR] in file:///home/jenkins/agent/workspace/lugins_kubernetes-plugin_PR-2850/src/test/java/org/csanchez/jenkins/plugins/kubernetes/SupplementalGroupsYamlOverrideReproTest.java
[2026-07-12T19:21:25.080Z] [ERROR] static org.junit.Assert.assertEquals (Line: 3, Matched by: org.junit.**)
[2026-07-12T19:21:25.080Z] [ERROR] static org.junit.Assert.assertNotNull (Line: 4, Matched by: org.junit.**)
[2026-07-12T19:21:25.080Z] [ERROR] static org.junit.Assert.assertNull (Line: 5, Matched by: org.junit.**)
[2026-07-12T19:21:25.080Z] [ERROR] org.junit.Before (Line: 13, Matched by: org.junit.**)
[2026-07-12T19:21:25.080Z] [ERROR] org.junit.Rule (Line: 14, Matched by: org.junit.**)
[2026-07-12T19:21:25.081Z] [ERROR] org.junit.Test (Line: 15, Matched by: org.junit.**)
[2026-07-12T19:21:25.081Z] [ERROR]
[2026-07-12T19:21:25.081Z] [ERROR] Analysis of 186 files took less than 1 second
[2026-07-12T19:21:25.081Z] [ERROR] -> [Help 1]
[2026-07-12T19:21:25.081Z] [ERROR]
[2026-07-12T19:21:25.081Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2026-07-12T19:21:25.081Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2026-07-12T19:21:25.081Z] [ERROR]
[2026-07-12T19:21:25.081Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2026-07-12T19:21:25.081Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Details
Loading