Skip to content

Console Output

Started by user Mark Thomas
Running as Mark Thomas
Agent basic-qp5g3 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-qp5g3"
  namespace: "websocket"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.websocket.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-qp5g3"
    - 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-qp5g3"
    - 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-3107.v665000b_51092"
    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-qp5g3 (basic) in workspace /home/jenkins/agent/workspace/websocket-api-2.1.x-copyright-check
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/websocket-api.git
 > git init /home/jenkins/agent/workspace/websocket-api-2.1.x-copyright-check # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/websocket-api.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/websocket-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/websocket-api.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/2.1.x^{commit} # timeout=10
Checking out Revision e3cbc14274e4eda1d55649c75b1158905842e902 (refs/remotes/origin/2.1.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e3cbc14274e4eda1d55649c75b1158905842e902 # timeout=10
Commit message: "Fix formatting and copyright"
First time build. Skipping changelog.
[websocket-api-2.1.x-copyright-check] $ /bin/bash -e /tmp/jenkins2524628325217821595.sh
[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] 
[INFO] --------------< jakarta.websocket:jakarta.websocket-all >---------------
[INFO] Building Jakarta WebSocket API Parent 2.1.1-SNAPSHOT               [1/3]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.websocket-all ---
[INFO] 
[INFO] --- glassfish-copyright:2.3:copyright (default-cli) @ jakarta.websocket-all ---
[INFO] 
[INFO] -----------< jakarta.websocket:jakarta.websocket-client-api >-----------
[INFO] Building Jakarta WebSocket - Client API 2.1.1-SNAPSHOT             [2/3]
[INFO]   from client/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.websocket-client-api ---
[INFO] 
[INFO] --- glassfish-copyright:2.3:copyright (default-cli) @ jakarta.websocket-client-api ---
[INFO] 
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ jakarta.websocket-client-api ---
[INFO] 
[INFO] --- resources:3.3.0:resources (default-resources) @ jakarta.websocket-client-api ---
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- compiler:3.8.1:compile (default-compile) @ jakarta.websocket-client-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 28 source files to /home/jenkins/agent/workspace/websocket-api-2.1.x-copyright-check/api/client/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jakarta WebSocket API Parent 2.1.1-SNAPSHOT:
[INFO] 
[INFO] Jakarta WebSocket API Parent ....................... SUCCESS [  0.839 s]
[INFO] Jakarta WebSocket - Client API ..................... FAILURE [  3.471 s]
[INFO] Jakarta WebSocket - Server API ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.285 s
[INFO] Finished at: 2023-06-08T14:09:32Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jakarta.websocket-client-api: Fatal error compiling: invalid flag: --release -> [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
Archiving artifacts
Finished: SUCCESS