Skip to content
Failed

Console Output

Started by user Maxim Nesen
Running as Maxim Nesen
Agent basic-2q96r is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-2q96r"
  namespace: "jersey"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jersey.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-2q96r"
    - 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-2q96r"
    - 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.13.3"
    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-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-2q96r (basic) in workspace /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release
The recommended git tool is: git
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/Jersey-EE10-apidocs_bundle_release # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.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 /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release@tmp/jenkins-gitclient-ssh444350537452934738.key
Verifying host key using known hosts file
 > 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
Avoid second fetch
 > git rev-parse refs/remotes/origin/tags/3.1.0-M8^{commit} # timeout=10
 > git rev-parse tags/3.1.0-M8^{commit} # timeout=10
Checking out Revision ed7e9d8c78098e43c144524b8a61f50900812f17 (tags/3.1.0-M8)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ed7e9d8c78098e43c144524b8a61f50900812f17 # timeout=10
Commit message: "3.1.0-M8"
First time build. Skipping changelog.
[Jersey-EE10-apidocs_bundle_release] $ /bin/sh -xe /tmp/jenkins14478935768128022009.sh
+ 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>

[Jersey-EE10-apidocs_bundle_release] $ /bin/bash -xe /tmp/jenkins12464439104433235582.sh
+ MVN_HOME=/opt/tools/apache-maven/latest/
+ PATH=/opt/tools/apache-maven/latest//bin:/opt/tools/java/openjdk/jdk-11/latest:/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ [[ 3.1.0-M8 == 2* ]]
+ echo '-[ Run maven release plugin ]---------------------------------------------------'
-[ Run maven release plugin ]---------------------------------------------------
+ mvn -q -C -DstagingDescription=org.glassfish.jersey.bundles.apidocs:3.1.0-M8 -Pstaging,oss-release,pre-release -DskipTests -pl bundles/apidocs install javadoc:jar gpg:sign deploy
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.2:jar (javadoc-jar) on project apidocs: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-helidon-connector-3.1.0-M8-sources/META-INF/versions/17/org/glassfish/jersey/helidon/connector/HelidonClientProperties.java:18: error: package io.helidon.jersey.connector does not exist
[ERROR] import io.helidon.jersey.connector.HelidonProperties;
[ERROR]                                   ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-helidon-connector-3.1.0-M8-sources/META-INF/versions/17/org/glassfish/jersey/helidon/connector/HelidonClientProperties.java:21: error: package io.helidon.config does not exist
[ERROR] import io.helidon.config.Config;
[ERROR]                         ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-helidon-connector-3.1.0-M8-sources/META-INF/versions/17/org/glassfish/jersey/helidon/connector/HelidonClientProperties.java:22: error: package io.helidon.webclient does not exist
[ERROR] import io.helidon.webclient.WebClient;
[ERROR]                            ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-helidon-connector-3.1.0-M8-sources/META-INF/versions/17/org/glassfish/jersey/helidon/connector/HelidonConnectorProvider.java:68: error: package io.helidon.jersey.connector does not exist
[ERROR] public class HelidonConnectorProvider extends io.helidon.jersey.connector.HelidonConnectorProvider {
[ERROR]                                                                          ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-container-servlet-core-3.1.0-M8-sources/org/glassfish/jersey/servlet/internal/PersistenceUnitBinder.java:27: error: package jakarta.persistence does not exist
[ERROR] import jakarta.persistence.EntityManagerFactory;
[ERROR]                           ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-container-servlet-core-3.1.0-M8-sources/org/glassfish/jersey/servlet/internal/PersistenceUnitBinder.java:28: error: package jakarta.persistence does not exist
[ERROR] import jakarta.persistence.PersistenceUnit;
[ERROR]                           ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-container-servlet-core-3.1.0-M8-sources/org/glassfish/jersey/servlet/internal/PersistenceUnitBinder.java:60: error: cannot find symbol
[ERROR]     private static class PersistenceUnitInjectionResolver implements InjectionResolver<PersistenceUnit> {
[ERROR]                                                                                        ^
[ERROR]   symbol:   class PersistenceUnit
[ERROR]   location: class PersistenceUnitBinder
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-container-servlet-core-3.1.0-M8-sources/org/glassfish/jersey/servlet/internal/PersistenceUnitBinder.java:105: error: cannot find symbol
[ERROR]         public Class<PersistenceUnit> getAnnotation() {
[ERROR]                      ^
[ERROR]   symbol:   class PersistenceUnit
[ERROR]   location: class PersistenceUnitInjectionResolver
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-media-json-jackson-3.1.0-M8-sources/org/glassfish/jersey/jackson/internal/jackson/jaxrs/json/JsonMapperConfigurator.java:11: error: package com.fasterxml.jackson.module.jaxb does not exist
[ERROR] import com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector;
[ERROR]                                         ^
[ERROR] /home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/distro-javadoc-sources/jersey-wadl-doclet-3.1.0-M8-sources/org/glassfish/jersey/wadl/doclet/ResourceDoclet.java:59: warning: [removal] AnnotationDesc in com.sun.javadoc has been deprecated and marked for removal
[ERROR] import com.sun.javadoc.AnnotationDesc.ElementValuePair;
[ERROR]                       ^
[ERROR] 
[ERROR] Command line was: /opt/tools/java/openjdk/jdk-11/11.0.2+9/bin/javadoc -J-Xmx256m @options @argfile
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/home/jenkins/agent/workspace/Jersey-EE10-apidocs_bundle_release/bundles/apidocs/target/apidocs' dir.
[ERROR] -> [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
Finished: FAILURE