[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jpa-dev] Build failed in Jenkins: JPA API master build #73
|
See <https://ci.eclipse.org/jpa/job/jpa-api-master-build/73/display/redirect?page=changes>
Changes:
[Hantsy Bai] chore: fixes the example codes in @AttributeOverrides javadoc
------------------------------------------
[...truncated 1.81 KB...]
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-kl4q2 (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-P7uP5Ufn63fR/agent.56
SSH_AGENT_PID=58
[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_17408153951499234258.key> (<https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/@tmp/private_key_17408153951499234258.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:jakartaee/persistence.git
> git init <https://ci.eclipse.org/jpa/job/jpa-api-master-build/ws/> # timeout=10
Fetching upstream changes from git@xxxxxxxxxx:jakartaee/persistence.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-ssh11331759880519808611.key>
Verifying host key using known hosts file
> git fetch --tags --force --progress -- git@xxxxxxxxxx:jakartaee/persistence.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@xxxxxxxxxx:jakartaee/persistence.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 6ec8afc663bb245aea20f8d74765277720c559fb (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6ec8afc663bb245aea20f8d74765277720c559fb # timeout=10
Commit message: "Merge pull request #386 from hantsy/master"
> git rev-list --no-walk 31d2cf0aa1f9f74ea3d2798e131a4a0e30e35def # timeout=10
[jpa-api-master-build] $ /bin/sh -ex /tmp/jenkins15596146996454683616.sh
+ TOOLS_PREFIX=/opt/tools
+ MVN_HOME=/opt/tools/apache-maven/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
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key 252C7B8E879559E2: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 252C7B8E879559E2: public key "Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 252C7B8E879559E2: secret key imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
gpg: no ultimately trusted keys found
++ gpg --list-keys --with-colons
++ awk -F: '/fpr:/ {print $10}'
++ sort -u
+ for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 71EBF1CA4125B10AAB1E17CDB7DC526C17E3608B trust
Secret subkeys are available.
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: unknown validity: unknown
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ unknown] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: unknown validity: unknown
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ unknown] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: ultimate validity: unknown
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ unknown] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
Please note that the shown key validity is not necessarily correct
unless you restart the program.
+ for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 8814C0CC279AD91D93903DE8252C7B8E879559E2 trust
Secret subkeys are available.
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2023-10-02
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ultimate] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ultimate] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
pub rsa4096/252C7B8E879559E2
created: 2018-10-03 expires: 2023-10-02 usage: SCEA
trust: ultimate validity: ultimate
ssb rsa4096/B7DC526C17E3608B
created: 2018-10-03 expires: 2023-10-02 usage: S
[ultimate] (1). Eclipse Project for JPA <jpa-dev@xxxxxxxxxxx>
+ echo '-[ JPA API Build ]-----------------------------------------------------------'
-[ JPA API Build ]-----------------------------------------------------------
+ cd api
+ mvn -Pstaging,oss-release clean deploy
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------< jakarta.persistence:jakarta.persistence-api >-------------
[INFO] Building Jakarta Persistence API 3.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.persistence-api ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.3.0:timestamp-property (currentyear-property) @ jakarta.persistence-api ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ jakarta.persistence-api ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:display-info (default) @ jakarta.persistence-api ---
[INFO] Maven Version: 3.8.5
[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.14.14-200.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/AttributeOverrides.java>: Copyright year is wrong; is 2020, should be 2022
[ERROR] Errors: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.084 s
[INFO] Finished at: 2022-10-24T09:03:06Z
[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 58 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'