[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jpa-dev] Build failed in Jenkins: JPA API master build #57
|
See <https://ci.eclipse.org/jpa/job/jpa-api-master-build/57/display/redirect?page=changes>
Changes:
[noreply] spec UUID support (#319)
------------------------------------------
Started by an SCM change
Running as SYSTEM
Agent basic-jhljb is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-jhljb"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.jpa.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-jhljb"
- 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: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- name: "JENKINS_NAME"
value: "basic-jhljb"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.jpa.svc.cluster.local/jpa/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10.1"
imagePullPolicy: "Always"
name: "jnlp"
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
tty: true
volumeMounts:
- 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/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
workingDir: "/home/jenkins/agent"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-jpa"
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"
Building remotely on basic-jhljb (basic) in workspace <https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/>
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-P9S5jpRd0CSc/agent.60
SSH_AGENT_PID=62
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: <https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/@tmp/private_key_10812088171939734219.key> (<https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/@tmp/private_key_10812088171939734219.key)>
[ssh-agent] Using credentials jpa-bot (GitHub bot SSH)
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@xxxxxxxxxx:eclipse-ee4j/jpa-api.git
> git init <https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/> # timeout=10
Fetching upstream changes from git@xxxxxxxxxx:eclipse-ee4j/jpa-api.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitHub bot SSH
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t <https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/@tmp/jenkins-gitclient-ssh1606230413108125181.key>
> git fetch --tags --force --progress -- git@xxxxxxxxxx:eclipse-ee4j/jpa-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@xxxxxxxxxx:eclipse-ee4j/jpa-api.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision f716bc1bfaa8a5db46eaf56a1db76b1bbc19941c (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f f716bc1bfaa8a5db46eaf56a1db76b1bbc19941c # timeout=10
Commit message: "spec UUID support (#319)"
> git rev-list --no-walk a59022f12b7b7a1d08b41520889d999dacc2ca22 # timeout=10
[jpa-api-master-build] $ /bin/sh -ex /tmp/jenkins17769320487615890965.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-11/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ echo '-[ JPA API Build ]-----------------------------------------------------------'
-[ JPA API Build ]-----------------------------------------------------------
+ cd api
+ mvn -s /home/jenkins/.m2/settings.xml clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< jakarta.persistence:jakarta.persistence-api >-------------
[INFO] Building Jakarta Persistence API 3.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.persistence-api ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:display-info (default) @ jakarta.persistence-api ---
[INFO] Maven Version: 3.8.3
[INFO] JDK Version: 11.0.2 normalized as: 11.0.2
[INFO] Java Vendor: Oracle Corporation
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 5.12.7-300.fc34.x86_64
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (default) @ jakarta.persistence-api ---
[INFO]
[INFO] --- glassfish-copyright-maven-plugin:2.4:check (default) @ jakarta.persistence-api ---
<https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/api/src/main/java/jakarta/persistence/GenerationType.java>: Copyright year is wrong; is 2020, should be 2022
<https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/api/src/main/resources/jakarta/persistence/orm_3_1.xsd>: Copyright year is wrong; is 2020, should be 2022
[ERROR] Errors: 2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.765 s
[INFO] Finished at: 2022-01-17T10:02:27Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.copyright:glassfish-copyright-maven-plugin:2.4:check (default) on project jakarta.persistence-api: Copyright checking failed -> [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
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 62 killed;
[ssh-agent] Stopped.
Skipped archiving because build is not successful
Recording test results
No test report files were found. Configuration error?
[Checks API] No suitable checks publisher found.
[Java CompilerJavaDocSpotBugs] Skipping execution of recorder since overall result is 'FAILURE'