Skip to content
Failed

Console Output

Started by an SCM change
Running as SYSTEM
Agent basic-7dtx4 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-7dtx4"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.yasson.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-7dtx4"
    - 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-7dtx4"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.yasson.svc.cluster.local/yasson/"
    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-yasson"
      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-7dtx4 (basic) in workspace /home/jenkins/agent/workspace/yasson-build-1.x
[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-q3RMHybmAdsG/agent.62
SSH_AGENT_PID=64
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/yasson-build-1.x@tmp/private_key_15357240847933038716.key (/home/jenkins/agent/workspace/yasson-build-1.x@tmp/private_key_15357240847933038716.key)
[ssh-agent] Using credentials yasson-bot (GitHub bot SSH)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse/yasson.git
 > git init /home/jenkins/agent/workspace/yasson-build-1.x # timeout=10
Fetching upstream changes from https://github.com/eclipse/yasson.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse/yasson.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse/yasson.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse origin/1.x^{commit} # timeout=10
Checking out Revision 010164440d1afa3d9944b64e900f8ccc9a3ee987 (origin/1.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 010164440d1afa3d9944b64e900f8ccc9a3ee987 # timeout=10
Commit message: "Prepare next development cycle for 1.0.12-SNAPSHOT"
 > git rev-list --no-walk 6e48dc22c82c5a47c9da74b709f3041c1385d1c7 # timeout=10
[yasson-build-1.x] $ /bin/sh -xe /tmp/jenkins34242625318314026.sh
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key B11A29C468F7EA64: public key "Eclipse Yasson Project <yasson-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key B11A29C468F7EA64: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
++ 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 5FCBD56B27BC981F218DBC24FDE958769183CDB3 trust
Secret subkeys are available.

pub  rsa4096/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>

pub  rsa4096/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>

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/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>
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 AB70E95978F7F235EE94C920B11A29C468F7EA64 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 2022-05-29
pub  rsa4096/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>

pub  rsa4096/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>

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/B11A29C468F7EA64
     created: 2017-05-30  expires: 2022-05-29  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/FDE958769183CDB3
     created: 2017-05-30  expires: 2022-05-29  usage: S   
[ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org>

[yasson-build-1.x] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -Dmaven.repo.local=/home/jenkins/agent/workspace/yasson-build-1.x/.repository dependency:purge-local-repository -B
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------------< org.eclipse:yasson >-------------------------
[INFO] Building org.eclipse.yasson 1.0.12-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:purge-local-repository (default-cli) @ yasson ---
[WARNING] The artifact xml-apis:xml-apis:jar:2.0.2 has been relocated to xml-apis:xml-apis:jar:1.0.b2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.921 s
[INFO] Finished at: 2022-01-14T14:24:48Z
[INFO] ------------------------------------------------------------------------
[yasson-build-1.x] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -Dmaven.repo.local=/home/jenkins/agent/workspace/yasson-build-1.x/.repository clean install deploy -Poss-release,staging,snapshots -B
[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] -------------------------< org.eclipse:yasson >-------------------------
[INFO] Building org.eclipse.yasson 1.0.12-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ yasson ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ yasson ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ yasson ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ yasson ---
[INFO] Storing buildNumber: 01/14/2022 02:25 PM at timestamp: 1642170315031
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/yasson-build-1.x' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/jenkins/agent/workspace/yasson-build-1.x
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:add-resource (add-resource) @ yasson ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ yasson ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ yasson ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 222 source files to /home/jenkins/agent/workspace/yasson-build-1.x/target/classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (multi-release-compile-16) @ yasson ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/jenkins/agent/workspace/yasson-build-1.x/target/classes/META-INF/versions/16
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.713 s
[INFO] Finished at: 2022-01-14T14:25:20Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (multi-release-compile-16) on project yasson: Fatal error compiling: error: release version 16 not supported -> [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 'Invoke top-level Maven targets' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 64 killed;
[ssh-agent] Stopped.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
[Java CompilerJavaDocSpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Finished: FAILURE