[midPoint-ci] Build failed in Jenkins: midPoint - master - overlay, JDK17 #308
Jenkins
noreply at evolveum.com
Mon Aug 19 01:34:44 CEST 2024
See <https://jenkins.evolveum.com/job/midpoint-master-overlay-jdk17/308/display/redirect>
Changes:
------------------------------------------
Started by timer
Obtained jenkins-pipeline from git https://github.com/Evolveum/midpoint-overlay-example
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins/midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk
Agent midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk is provisioned from template midpoint-master-overlay-jdk17_308-mw11q-063pk
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
kubernetes.jenkins.io/last-refresh: "1724023922554"
buildUrl: "https://jenkins.evolveum.com/job/midpoint-master-overlay-jdk17/308/"
runUrl: "job/midpoint-master-overlay-jdk17/308/"
labels:
jenkins/jenkins-jenkins-agent: "true"
jenkins/label-digest: "59308e4b41b8db31122387676a69d24e097b8596"
jenkins/label: "midpoint-master-overlay-jdk17_308-mw11q"
kubernetes.jenkins.io/controller: "https___jenkins_evolveum_comx"
name: "midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk"
namespace: "jenkins"
spec:
activeDeadlineSeconds: 3600
containers:
- command:
- "cat"
image: "maven:3.8.5-openjdk-17"
imagePullPolicy: "IfNotPresent"
name: "maven"
resources:
limits:
memory: "8Gi"
cpu: "8"
requests:
memory: "8Gi"
cpu: "8"
securityContext:
privileged: false
runAsUser: 0
tty: true
volumeMounts:
- mountPath: "/root/jenkins-nexus"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-agent:50000"
- name: "JENKINS_AGENT_NAME"
value: "midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk"
- name: "REMOTING_OPTS"
value: "-noReconnectAfter 1d"
- name: "JENKINS_NAME"
value: "midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "https://jenkins.evolveum.com/"
image: "jenkins/inbound-agent:4.13-2-alpine"
imagePullPolicy: "IfNotPresent"
name: "jnlp"
resources:
limits:
memory: "1Gi"
cpu: "1"
requests:
memory: "1Gi"
cpu: "1"
securityContext:
privileged: false
runAsUser: 0
tty: false
volumeMounts:
- mountPath: "/root/jenkins-nexus"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector:
node: "jenkins"
restartPolicy: "Never"
volumes:
- name: "volume-0"
secret:
secretName: "jenkins-nexus"
- name: "workspace-volume"
persistentVolumeClaim:
claimName: "pvc-workspace-midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk"
readOnly: false
Running on midpoint-master-overlay-jdk17-308-mw11q-063pk-2p2dk in /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Evolveum/midpoint-overlay-example
> git init /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17 # timeout=10
Fetching upstream changes from https://github.com/Evolveum/midpoint-overlay-example
> git --version # timeout=10
> git --version # 'git version 2.34.2'
> git fetch --tags --force --progress -- https://github.com/Evolveum/midpoint-overlay-example +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/Evolveum/midpoint-overlay-example # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 51cbbc289cdd89dbd3707b5627a425e632d8f583 (refs/remotes/origin/master)
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
Commit message: "updated spring boot version in no-parent pom.xml"
> git checkout -f 51cbbc289cdd89dbd3707b5627a425e632d8f583 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 51cbbc289cdd89dbd3707b5627a425e632d8f583 # timeout=10
> git rev-list --no-walk 51cbbc289cdd89dbd3707b5627a425e632d8f583 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ mkdir -p /root/.m2
+ ln -s ../jenkins-nexus/settings.xml /root/.m2/settings.xml
+ '[' 0 -ge 1 ']'
+ mvn -B -ntp clean deploy -DdeployAtEnd=true
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:midpoint-overlay-example >----------------
[INFO] Building midPoint Overlay Project 4.9-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ midpoint-overlay-example ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.4.1:enforce (enforce) @ midpoint-overlay-example ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ midpoint-overlay-example ---
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ midpoint-overlay-example ---
[INFO] Setting Git Describe: v4.8-9-g51cbbc2
[INFO]
[INFO] --- git-commit-id-plugin:4.9.10:revision (default) @ midpoint-overlay-example ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ midpoint-overlay-example ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ midpoint-overlay-example ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 3 source files with javac [debug target 17] to target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ midpoint-overlay-example ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ midpoint-overlay-example ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ midpoint-overlay-example ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ midpoint-overlay-example ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint.jar
[INFO]
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ midpoint-overlay-example >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.4.1:enforce (enforce) @ midpoint-overlay-example ---
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ midpoint-overlay-example ---
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ midpoint-overlay-example ---
[INFO]
[INFO] --- git-commit-id-plugin:4.9.10:revision (default) @ midpoint-overlay-example ---
[INFO]
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ midpoint-overlay-example <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ midpoint-overlay-example ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint-sources.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:3.3.2:repackage (default) @ midpoint-overlay-example ---
[INFO] Replacing main artifact /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint.jar.original
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:analyze-only (analyze) @ midpoint-overlay-example ---
[INFO] Skipping plugin execution
[INFO]
[INFO] --- maven-install-plugin:3.1.2:install (default-install) @ midpoint-overlay-example ---
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/pom.xml to /root/.m2/repository/com/example/midpoint-overlay-example/4.9-SNAPSHOT/midpoint-overlay-example-4.9-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint.jar to /root/.m2/repository/com/example/midpoint-overlay-example/4.9-SNAPSHOT/midpoint-overlay-example-4.9-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-overlay-jdk17/target/midpoint-sources.jar to /root/.m2/repository/com/example/midpoint-overlay-example/4.9-SNAPSHOT/midpoint-overlay-example-4.9-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ midpoint-overlay-example ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:20 min
[INFO] Finished at: 2024-08-18T23:34:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project midpoint-overlay-example: Failed to deploy artifacts: Could not transfer artifact com.example:midpoint-overlay-example:jar:4.9-20240818.233223-296 from/to evolveum-nexus (https://nexus.evolveum.com/nexus/content/repositories/snapshots/): transfer failed for https://nexus.evolveum.com/nexus/content/repositories/snapshots/com/example/midpoint-overlay-example/4.9-SNAPSHOT/midpoint-overlay-example-4.9-20240818.233223-296.jar, status: 500 Server Error -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step
More information about the midPoint-ci
mailing list