Started by user Sébastien Heurtematte Running as Sébastien Heurtematte 04:42:36 Connecting to https://api.github.com using GitHub bot (username/token) Obtained Jenkinsfile from 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 Loading library common-shared@master Examining eclipsefdn/jenkins-pipeline-shared Attempting to resolve master as a branch Resolved master as branch master at revision 98d7bb8ab3157d6d4738858f3badd16db141e1e7 The recommended git tool is: NONE using credential 2167ee51-24e8-4acf-8b51-ee6f68fa5bc8 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/eclipsefdn/jenkins-pipeline-shared.git > git init /var/jenkins/workspace/projects-bots-api_master@libs/4c733d19e20413ec39e26a9a2a519ef068a1f3d891939735973dc41c89ea57a9@2 # timeout=10 Fetching upstream changes from https://github.com/eclipsefdn/jenkins-pipeline-shared.git > git --version # timeout=10 > git --version # 'git version 2.51.2' using GIT_ASKPASS to set credentials webdev-bot@api.eclipse.org (access token) > git fetch --no-tags --force --progress -- https://github.com/eclipsefdn/jenkins-pipeline-shared.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/eclipsefdn/jenkins-pipeline-shared.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch Checking out Revision 98d7bb8ab3157d6d4738858f3badd16db141e1e7 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98d7bb8ab3157d6d4738858f3badd16db141e1e7 # timeout=10 Commit message: "Touch file to create a new SHA" > git rev-list --no-walk 98d7bb8ab3157d6d4738858f3badd16db141e1e7 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Agent basic-lkj6l is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: kubernetes.jenkins.io/last-refresh: "1764927770138" labels: jenkins: "slave" jenkins/label-digest: "912d1574c252e51bb7b588e71dcf19b52d3ac765" jenkins/label: "basic_basic-ubuntu" kubernetes.jenkins.io/controller: "i_foundation-internal-webdev_svc_cluster_local_ci_webdevx" name: "basic-lkj6l" namespace: "foundation-internal-webdev" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.foundation-internal-webdev.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-lkj6l" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "REMOTING_OPTS" value: "-noReconnectAfter 1d" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-lkj6l" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/" image: "docker.io/eclipsecbi/jiro-agent-basic-ubuntu:remoting-3309.v27b_9314fd1a_4" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/mvnd" name: "volume-5" readOnly: false - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/.develocity" name: "volume-6" readOnly: false - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-webdev" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" - emptyDir: medium: "" name: "volume-6" - emptyDir: medium: "" name: "volume-5" Running on basic-lkj6l in /home/jenkins/agent/workspace/projects-bots-api_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/EclipseFdn/projects-bots-api.git > git init /home/jenkins/agent/workspace/projects-bots-api_master # timeout=10 Fetching upstream changes from https://github.com/EclipseFdn/projects-bots-api.git > git --version # timeout=10 > git --version # 'git version 2.52.0' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/EclipseFdn/projects-bots-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch Checking out Revision 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 (master) > git config remote.origin.url https://github.com/EclipseFdn/projects-bots-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 # timeout=10 Commit message: "Update bots.db.json" > git rev-list --no-walk 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] sh ++ git rev-parse --short 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 + GIT_COMMIT_SHORT=81f36bc + '[' production = '' ']' + printf production-81f36bc-114 [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 30 min [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Run clean build) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] sh + jq . bots.db.json + mvn clean package -DskipTests Apache Maven 3.9.11 (3e54c93a704957b63ee3494413a2b544fd3d825b) Maven home: /opt/tools/apache-maven/latest Java version: 17.0.17, vendor: IBM Corporation, runtime: /opt/java/openjdk Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.7.4-200.fc39.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] [INFO] --------------< org.eclipsefoundation:projects-bots-api >--------------- [INFO] Building projects-bots-api 1.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ projects-bots-api --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ projects-bots-api --- [INFO] Copying 13 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ projects-bots-api --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 8 source files with javac [debug release 11] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ projects-bots-api --- [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/projects-bots-api_master/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ projects-bots-api --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 1 source file with javac [debug release 11] to target/test-classes [INFO] [INFO] --- surefire:3.1.2:test (default-test) @ projects-bots-api --- [WARNING] Parameter 'systemProperties' is deprecated: Use systemPropertyVariables instead. [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ projects-bots-api --- [INFO] Building jar: /home/jenkins/agent/workspace/projects-bots-api_master/target/projects-bots-api-1.0-SNAPSHOT.jar [INFO] [INFO] --- quarkus:2.16.8.Final:build (default) @ projects-bots-api --- [INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 4905ms [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:47 min [INFO] Finished at: 2025-12-05T09:45:10Z [INFO] ------------------------------------------------------------------------ [Pipeline] stash Stashed 166 file(s) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build docker image) [Pipeline] node Running on w9x5t-ubuntu1804 in /home/genie.webdev/jenkins-agent/workspace/projects-bots-api_master@2 [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Avoid second fetch Checking out Revision 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 (master) Commit message: "Update bots.db.json" Cloning repository https://github.com/EclipseFdn/projects-bots-api.git > git init /home/genie.webdev/jenkins-agent/workspace/projects-bots-api_master@2 # timeout=10 Fetching upstream changes from https://github.com/EclipseFdn/projects-bots-api.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --progress -- https://github.com/EclipseFdn/projects-bots-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/EclipseFdn/projects-bots-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] readTrusted Obtained src/main/docker/Dockerfile from 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 [Pipeline] unstash [Pipeline] withCredentials Masking supported pattern matches of $AUTH_JSON [Pipeline] { [Pipeline] sh + DOCKER_BUILDKIT=1 docker build --secret id=composer_auth,src=**** -f src/main/docker/Dockerfile --no-cache -t eclipsefdn/projects-bots-api:production-81f36bc-114 -t eclipsefdn/projects-bots-api:latest . [Pipeline] } [Pipeline] // withCredentials [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Push docker image) [Pipeline] node Running on w9x5t-ubuntu1804 in /home/genie.webdev/jenkins-agent/workspace/projects-bots-api_master@2 [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Fetching changes from the remote Git repository Fetching without tags Checking out Revision 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 (master) Commit message: "Update bots.db.json" > git rev-parse --resolve-git-dir /home/genie.webdev/jenkins-agent/workspace/projects-bots-api_master@2/.git # timeout=10 > git config remote.origin.url https://github.com/EclipseFdn/projects-bots-api.git # timeout=10 Fetching upstream changes from https://github.com/EclipseFdn/projects-bots-api.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --progress -- https://github.com/EclipseFdn/projects-bots-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u webdevbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/genie.webdev/jenkins-agent/workspace/projects-bots-api_master@2@tmp/9ff55c45-2f1c-45b9-8ad3-e259b384806f/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] sh + docker tag eclipsefdn/projects-bots-api:production-81f36bc-114 eclipsefdn/projects-bots-api:latest + docker push eclipsefdn/projects-bots-api:production-81f36bc-114 The push refers to repository [docker.io/eclipsefdn/projects-bots-api] 01246cb20049: Preparing 66c9b785055a: Preparing a193ae929da1: Preparing b4942f436b22: Preparing c5e6ab224b12: Preparing 306392cdc36a: Preparing b66aa9269d2b: Preparing abdb6f7de695: Preparing 8ba8770dfe14: Preparing 3135fd6bb1cd: Preparing 256f393e029f: Preparing 306392cdc36a: Waiting b66aa9269d2b: Waiting abdb6f7de695: Waiting 8ba8770dfe14: Waiting 3135fd6bb1cd: Waiting 256f393e029f: Waiting c5e6ab224b12: Layer already exists b4942f436b22: Layer already exists 306392cdc36a: Layer already exists b66aa9269d2b: Layer already exists abdb6f7de695: Layer already exists 3135fd6bb1cd: Layer already exists 8ba8770dfe14: Layer already exists 256f393e029f: Layer already exists 66c9b785055a: Pushed 01246cb20049: Pushed a193ae929da1: Pushed production-81f36bc-114: digest: sha256:dae85b51c87fde51608e14bc9a436884e28d40945ddd58e75c2557bf4ca2c327 size: 2623 + docker push eclipsefdn/projects-bots-api:latest The push refers to repository [docker.io/eclipsefdn/projects-bots-api] 01246cb20049: Preparing 66c9b785055a: Preparing a193ae929da1: Preparing b4942f436b22: Preparing c5e6ab224b12: Preparing 306392cdc36a: Preparing b66aa9269d2b: Preparing abdb6f7de695: Preparing 8ba8770dfe14: Preparing 3135fd6bb1cd: Preparing 256f393e029f: Preparing 306392cdc36a: Waiting b66aa9269d2b: Waiting abdb6f7de695: Waiting 8ba8770dfe14: Waiting 3135fd6bb1cd: Waiting 256f393e029f: Waiting b4942f436b22: Layer already exists a193ae929da1: Layer already exists 01246cb20049: Layer already exists 66c9b785055a: Layer already exists c5e6ab224b12: Layer already exists 306392cdc36a: Layer already exists b66aa9269d2b: Layer already exists 3135fd6bb1cd: Layer already exists 8ba8770dfe14: Layer already exists abdb6f7de695: Layer already exists 256f393e029f: Layer already exists latest: digest: sha256:dae85b51c87fde51608e14bc9a436884e28d40945ddd58e75c2557bf4ca2c327 size: 2623 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to cluster) [Pipeline] echo [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option. [Pipeline] podTemplate [Pipeline] { [Pipeline] node Agent kubedeploy-agent-ltql6-xc2sx is provisioned from template kubedeploy-agent-ltql6 --- apiVersion: "v1" kind: "Pod" metadata: annotations: kubernetes.jenkins.io/last-refresh: "1764927978035" buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/projects-bots-api/job/master/113/" runUrl: "job/projects-bots-api/job/master/113/" labels: jenkins: "slave" jenkins/label-digest: "078414e62b08fdd4b7ec6f7a2b1a7ad931de4d06" jenkins/label: "kubedeploy-agent" kubernetes.jenkins.io/controller: "i_foundation-internal-webdev_svc_cluster_local_ci_webdevx" name: "kubedeploy-agent-ltql6-xc2sx" namespace: "foundation-internal-webdev" spec: containers: - command: - "cat" image: "eclipsefdn/kubectl:okd-c1" name: "kubectl" resources: limits: cpu: "1" memory: "1Gi" tty: true volumeMounts: - mountPath: "/home/default/.kube" name: "dot-kube" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.foundation-internal-webdev.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "kubedeploy-agent-ltql6-xc2sx" - name: "REMOTING_OPTS" value: "-noReconnectAfter 1d" - name: "JENKINS_NAME" value: "kubedeploy-agent-ltql6-xc2sx" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/" image: "docker.io/eclipsecbi/jiro-agent-basic-ubuntu:remoting-3309.v27b_9314fd1a_4" name: "jnlp" resources: limits: cpu: "1" memory: "1Gi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: {} name: "dot-kube" - emptyDir: medium: "" name: "workspace-volume" Running on kubedeploy-agent-ltql6-xc2sx in /home/jenkins/agent/workspace/projects-bots-api_master [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/EclipseFdn/projects-bots-api.git > git init /home/jenkins/agent/workspace/projects-bots-api_master # timeout=10 Fetching upstream changes from https://github.com/EclipseFdn/projects-bots-api.git > git --version # timeout=10 > git --version # 'git version 2.52.0' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/EclipseFdn/projects-bots-api.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url https://github.com/EclipseFdn/projects-bots-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch Checking out Revision 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 (master) Commit message: "Update bots.db.json" > git config core.sparsecheckout # timeout=10 > git checkout -f 81f36bc9d7ad213cc6e0863bcf35c319c389ee74 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] sh + echo 'newImageRef: eclipsefdn/projects-bots-api:production-81f36bc-114' newImageRef: eclipsefdn/projects-bots-api:production-81f36bc-114 [Pipeline] withKubeConfig [Pipeline] { [Pipeline] sh Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens. Flag --record has been deprecated, --record will be removed in the future Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens. deployment.apps/projects-bots-api image updated Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens. Waiting for deployment spec update to be observed... Waiting for deployment "projects-bots-api" rollout to finish: 0 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 0 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 0 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "projects-bots-api" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "projects-bots-api" rollout to finish: 1 old replicas are pending termination... deployment "projects-bots-api" successfully rolled out [Pipeline] } [kubernetes-cli] kubectl configuration cleaned up [Pipeline] // withKubeConfig [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] deleteDir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS