Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[websocket-dev] Build failed in Jenkins: websocket-api-master » openjdk-latest #70

See <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/70/display/redirect?page=changes>

Changes:

[Mark Thomas] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0

[Mark Thomas] Update asciidoctorj to 3.0.0


------------------------------------------
[...truncated 1.41 KiB...]
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.websocket.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-rb9rn"
    - 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: "REMOTING_OPTS"
      value: "-noReconnectAfter 1d"
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-rb9rn"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.websocket.svc.cluster.local/websocket/";
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3206.3208.v409508a_675ff"
    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-websocket"
      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-rb9rn (basic) in workspace <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/jakartaee/websocket-api.git
 > git init <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/> # timeout=10
Fetching upstream changes from https://github.com/jakartaee/websocket-api.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/jakartaee/websocket-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/jakartaee/websocket-api.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision c3ddcad73240be475ddaae7cd47b0cd3fff0885e (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c3ddcad73240be475ddaae7cd47b0cd3fff0885e # timeout=10
Commit message: "Update asciidoctorj to 3.0.0"
 > git rev-list --no-walk d120079db48cc35c66d447b0cb1a9cbca682da42 # timeout=10
[openjdk-latest] $ /opt/tools/apache-maven/latest/bin/mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Jakarta WebSocket API Parent                                       [pom]
[INFO] Jakarta WebSocket - Client API                                     [jar]
[INFO] Jakarta WebSocket - Server API                                     [jar]
[INFO] Jakarta WebSocket Specification                                    [pom]
[INFO] Jakarta WebSocket                                                  [pom]
[INFO] 
[INFO] --------------< jakarta.websocket:jakarta.websocket-all >---------------
[INFO] Building Jakarta WebSocket API Parent 2.3.0-SNAPSHOT               [1/5]
[INFO]   from api/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.websocket-all ---
[INFO] 
[INFO] --- cyclonedx:2.7.9:makeAggregateBom (default) @ jakarta.websocket-all ---
[INFO] CycloneDX: Resolving Dependencies
[INFO] CycloneDX: Creating BOM version 1.4 with 0 component(s)
[INFO] CycloneDX: Writing and validating BOM (XML): <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/target/bom.xml>
[INFO]            attaching as jakarta.websocket-all-2.3.0-SNAPSHOT-cyclonedx.xml
[INFO] CycloneDX: Writing and validating BOM (JSON): <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/target/bom.json>
[WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
[INFO]            attaching as jakarta.websocket-all-2.3.0-SNAPSHOT-cyclonedx.json
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ jakarta.websocket-all ---
[INFO] Installing <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/pom.xml> to /home/jenkins/.m2/repository/jakarta/websocket/jakarta.websocket-all/2.3.0-SNAPSHOT/jakarta.websocket-all-2.3.0-SNAPSHOT.pom
[INFO] Installing <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/target/bom.xml> to /home/jenkins/.m2/repository/jakarta/websocket/jakarta.websocket-all/2.3.0-SNAPSHOT/jakarta.websocket-all-2.3.0-SNAPSHOT-cyclonedx.xml
[INFO] Installing <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/target/bom.json> to /home/jenkins/.m2/repository/jakarta/websocket/jakarta.websocket-all/2.3.0-SNAPSHOT/jakarta.websocket-all-2.3.0-SNAPSHOT-cyclonedx.json
[INFO] 
[INFO] -----------< jakarta.websocket:jakarta.websocket-client-api >-----------
[INFO] Building Jakarta WebSocket - Client API 2.3.0-SNAPSHOT             [2/5]
[INFO]   from api/client/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.websocket-client-api ---
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ jakarta.websocket-client-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ jakarta.websocket-client-api ---
[INFO] Copying 2 resources from ../.. to target/classes/META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ jakarta.websocket-client-api ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 28 source files with javac [debug deprecation release 9] to target/classes
[INFO] JDK-8318913 workaround: patched module-info.class requires version from [9] to [9] on 1 JDK modules [java.base]
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/ClientEndpointConfig.java>:[84,12] class jakarta.websocket.ClientEndpointConfig.Configurator in exported package jakarta.websocket declares no explicit constructors, thereby exposing a default constructor to clients of module jakarta.websocket.client
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/ContainerProvider.java>:[34,17] class jakarta.websocket.ContainerProvider in exported package jakarta.websocket declares no explicit constructors, thereby exposing a default constructor to clients of module jakarta.websocket.client
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/Endpoint.java>:[72,17] class jakarta.websocket.Endpoint in exported package jakarta.websocket declares no explicit constructors, thereby exposing a default constructor to clients of module jakarta.websocket.client
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/EncodeException.java>:[26,26] non-transient instance field of a serializable class declared with a non-serializable type
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/DecodeException.java>:[28,30] non-transient instance field of a serializable class declared with a non-serializable type
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/SessionException.java>:[26,27] non-transient instance field of a serializable class declared with a non-serializable type
[INFO] 
[INFO] --- compiler:3.13.0:compile (base-compile) @ jakarta.websocket-client-api ---
[INFO] Recompiling the module because of added or removed source files.
[INFO] Compiling 27 source files with javac [debug deprecation release 8] to target/classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/EncodeException.java>:[26,26] non-transient instance field of a serializable class declared with a non-serializable type
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/DecodeException.java>:[28,30] non-transient instance field of a serializable class declared with a non-serializable type
[WARNING] <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/main/java/jakarta/websocket/SessionException.java>:[26,27] non-transient instance field of a serializable class declared with a non-serializable type
[INFO] 
[INFO] --- bundle:5.1.9:manifest (bundle-manifest) @ jakarta.websocket-client-api ---
[INFO] No MANIFEST.MF file found, generating manifest.
[INFO] Writing manifest: <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/classes/META-INF/MANIFEST.MF>
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ jakarta.websocket-client-api ---
[INFO] skip non existing resourceDirectory <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/src/test/resources>
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ jakarta.websocket-client-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ jakarta.websocket-client-api ---
[INFO] No tests to run.
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ jakarta.websocket-client-api ---
[INFO] Building jar: <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/jakarta.websocket-client-api-2.3.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- cyclonedx:2.7.9:makeAggregateBom (default) @ jakarta.websocket-client-api ---
[INFO] CycloneDX: Resolving Dependencies
[INFO] CycloneDX: Creating BOM version 1.4 with 0 component(s)
[INFO] CycloneDX: Writing and validating BOM (XML): <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/bom.xml>
[INFO]            attaching as jakarta.websocket-client-api-2.3.0-SNAPSHOT-cyclonedx.xml
[INFO] CycloneDX: Writing and validating BOM (JSON): <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/bom.json>
[WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
[INFO]            attaching as jakarta.websocket-client-api-2.3.0-SNAPSHOT-cyclonedx.json
[INFO] 
[INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ jakarta.websocket-client-api ---
[INFO] Building jar: <https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/jakarta.websocket-client-api-2.3.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- javadoc:3.10.0:jar (attach-javadocs) @ jakarta.websocket-client-api ---
[INFO] No previous run data found, generating javadoc.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Jakarta WebSocket API Parent 2.3.0-SNAPSHOT ........ SUCCESS [  2.108 s]
[INFO] Jakarta WebSocket - Client API 2.3.0-SNAPSHOT ...... FAILURE [ 10.061 s]
[INFO] Jakarta WebSocket - Server API 2.3.0-SNAPSHOT ...... SKIPPED
[INFO] Jakarta WebSocket Specification 2.3-SNAPSHOT ....... SKIPPED
[INFO] Jakarta WebSocket 2.3.0-SNAPSHOT ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.472 s
[INFO] Finished at: 2024-09-04T14:29:34Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.10.0:jar (attach-javadocs) on project jakarta.websocket-client-api: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1
[ERROR] error: Unexpected redirection for URL https://docs.oracle.com/javase/8/docs/api/element-list to https://docs.oracle.com/en/java/javase/22/
[ERROR] Note: Custom tags that could override future standard tags:  @implSpec. To avoid potential overrides, use at least one period character (.) in custom tag names.
[ERROR] 1 error
[ERROR] Command line was: /opt/tools/java/openjdk/jdk-23/jdk-23/bin/javadoc -J-Duser.language= -J-Duser.country= -Xdoclint:none @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '<https://ci.eclipse.org/websocket/job/websocket-api-master/jdk=openjdk-latest/ws/api/client/target/reports/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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jakarta.websocket-client-api
Build step 'Invoke top-level Maven targets' marked build as failure
[Java CompilerJavaDocSpotBugs] Skipping execution of recorder since overall result is 'FAILURE'


Back to the top