Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[metro-dev] Build failed in Jenkins: WS Policy master build #21

See <https://ci.eclipse.org/metro/job/policy-master-build/21/display/redirect?page=changes>

Changes:

[Lukas Jungmann] Bump woodstox-core from 5.1.0 to 5.4.0 in /policy


------------------------------------------
[...truncated 1.82 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-metro"
      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-3mv4z (basic) in workspace <https://ci.eclipse.org/metro/job/policy-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-WAv4gIcfjn0s/agent.58
SSH_AGENT_PID=60
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: <https://ci.eclipse.org/metro/job/policy-master-build/ws/@tmp/private_key_14289646481015535372.key> (<https://ci.eclipse.org/metro/job/policy-master-build/ws/@tmp/private_key_14289646481015535372.key)>
[ssh-agent] Using credentials eclipse-metro-bot (GitHub bot SSH)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/metro-policy.git
 > git init <https://ci.eclipse.org/metro/job/policy-master-build/ws/> # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/metro-policy.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/metro-policy.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/metro-policy.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 a7c71d362f1454f09a04d59af6dfd45c49b45347 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a7c71d362f1454f09a04d59af6dfd45c49b45347 # timeout=10
Commit message: "Bump woodstox-core from 5.1.0 to 5.4.0 in /policy"
 > git rev-list --no-walk 50ab2a064d1e443988c74f0ef20cea9e8b601274 # timeout=10
[policy-master-build] $ /bin/sh -ex /tmp/jenkins1929270193980950741.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 '-[ GPG Initialization ]---------------------------------------------------------'
-[ GPG Initialization ]---------------------------------------------------------
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key A7C6AFD280CA7CF0: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key A7C6AFD280CA7CF0: public key "Eclipse Metro <metro-dev@xxxxxxxxxxx>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key A7C6AFD280CA7CF0: 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 B506C29E4B7EF88CE0F0E6D3A7C6AFD280CA7CF0 trust
Secret subkeys are available.

pub  rsa4096/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Metro <metro-dev@xxxxxxxxxxx>

pub  rsa4096/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Metro <metro-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/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Metro <metro-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 E725C3877939E8FFEA7E3C44B6D3FC494798E478 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/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Metro <metro-dev@xxxxxxxxxxx>

pub  rsa4096/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Metro <metro-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/A7C6AFD280CA7CF0
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B6D3FC494798E478
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Metro <metro-dev@xxxxxxxxxxx>

+ echo '-[ WS Policy Build ]------------------------------------------------------------'
-[ WS Policy Build ]------------------------------------------------------------
+ cd policy
+ mvn -U -C -B clean install spotbugs:spotbugs deploy -Pstaging -Psnapshots -Pcoverage -Poss-release
[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] -----------------------< com.sun.xml.ws:policy >------------------------
[INFO] Building policy 2.8.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ policy ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ policy ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ policy ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd '<https://ci.eclipse.org/metro/job/policy-master-build/ws/policy'> && 'git' 'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory: <https://ci.eclipse.org/metro/job/policy-master-build/ws/policy>
[INFO] Storing buildNumber: a7c71d3 at timestamp: 1667235302837
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd '<https://ci.eclipse.org/metro/job/policy-master-build/ws/policy'> && 'git' 'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory: <https://ci.eclipse.org/metro/job/policy-master-build/ws/policy>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- glassfish-copyright-maven-plugin:2.3:check (default) @ policy ---
[ERROR] Errors: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.440 s
[INFO] Finished at: 2022-10-31T16:55:08Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.copyright:glassfish-copyright-maven-plugin:2.3:check (default) on project policy: 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 60 killed;
[ssh-agent] Stopped.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
[SpotBugsJava CompilerJavaDoc] Skipping execution of recorder since overall result is 'FAILURE'


Back to the top