Skip to content

Console Output

Started by user Maxim Nesen
Rebuilds build #3
Running as Maxim Nesen
Agent basic-808sg is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: ""
  name: "basic-808sg"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jersey.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-808sg"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\
        \ -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-808sg"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jersey.svc.cluster.local/jersey/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    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
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-jersey"
      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-808sg in workspace /home/jenkins/agent/workspace/restore_release_from_tag
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/jersey.git
 > git init /home/jenkins/agent/workspace/restore_release_from_tag # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/jersey.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/jersey.git # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse tags/3.0.0-M5^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/tags/3.0.0-M5^{commit} # timeout=10
Checking out Revision 3a5946b4fc51fca2366d83ff0f4ab7e5d79a604b (tags/3.0.0-M5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3a5946b4fc51fca2366d83ff0f4ab7e5d79a604b # timeout=10
Commit message: "3.0.0-M5"
First time build. Skipping changelog.
[restore_release_from_tag] $ /bin/bash -ex /tmp/jenkins2333224916961303788.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ MVN_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0
+ '[' -z 3.0.0-M5 ']'
+ STAGING_PROFILE_ID=70fa3a107a8918
+ TARGET='package source:jar javadoc:jar gpg:sign install:install'
+ DEPLOY_TARGET=
+ ZX_BRANCH_MODULES=
+ '[' true = true ']'
+ ZX_BRANCH_MODULES=,:jersey-jetty-connector,:jersey-container-jetty-http,:jersey-test-framework-provider-jetty,:jersey-test-framework-core,:jersey-container-servlet-core
+ JDK_11_HOME=/opt/tools/java/openjdk/jdk-11/latest
+ JDK_12_HOME=/opt/tools/java/openjdk/jdk-12/latest
+ JDK_8_HOME=/opt/tools/java/oracle/jdk-8/latest
+ '[' false = true ']'
+ DEPLOY_TARGET=' deploy:deploy'
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key 372703E4D5313120: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 372703E4D5313120: public key "Eclipse Jersey <jersey-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 372703E4D5313120: 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 0B743A794876D3C78AB542A118D239B1CBCD2236 trust
Secret subkeys are available.

pub  rsa4096/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Jersey <jersey-dev@eclipse.org>

pub  rsa4096/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Jersey <jersey-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/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ unknown] (1). Eclipse Jersey <jersey-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 2EABB8F15F15E18885312232372703E4D5313120 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/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Jersey <jersey-dev@eclipse.org>

pub  rsa4096/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Jersey <jersey-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/372703E4D5313120
     created: 2018-10-03  expires: 2023-10-02  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/18D239B1CBCD2236
     created: 2018-10-03  expires: 2023-10-02  usage: S   
[ultimate] (1). Eclipse Jersey <jersey-dev@eclipse.org>

++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
+ ARTIFACT_ID=project
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate ++ -Dexpression=project.groupId
grep -Ev '(^\[)'
+ GROUP_ID=org.glassfish.jersey
+ STAGING_DESC=org.glassfish.jersey:project:3.0.0-M5
++ echo org.glassfish.jersey:project:3.0.0-M5
++ sed -e 's/\./\\\./g'
+ STAGING_KEY='org\.glassfish\.jersey:project:3\.0\.0-M5'
+ echo '-[ Deploy artifacts to staging repository ]-------------------------------------'
-[ Deploy artifacts to staging repository ]-------------------------------------
+ export JAVA_HOME=/opt/tools/java/openjdk/jdk-12/latest
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-12/latest
+ mvn -Pstaging --projects core-server,core-client,media/jaxb,inject/hk2,ext/wadl-doclet,core-common,:jersey-jetty-connector,:jersey-container-jetty-http,:jersey-test-framework-provider-jetty,:jersey-test-framework-core,:jersey-container-servlet-core clean install -B -q -V -DskipTests -Dcheckstyle.skip=true
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/tools/apache-maven/latest
Java version: 12.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-12/12.0.2+10
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1127.el7.x86_64", arch: "amd64", family: "unix"
[ERROR] Failed to execute goal on project jersey-jetty-connector: Could not resolve dependencies for project org.glassfish.jersey.connectors:jersey-jetty-connector:jar:3.0.0-M5: Could not find artifact org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.0.0-M5 in sonatype-nexus-staging (https://jakarta.oss.sonatype.org/content/repositories/staging/) -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jersey-jetty-connector
Build step 'Execute shell' marked build as failure
Finished: FAILURE