Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[el-dev] Build failed in Jenkins: expression-language-master » adoptopenjdk-openj9-jdk8-latest #69

See <https://ci.eclipse.org/el/job/expression-language-master/jdk=adoptopenjdk-openj9-jdk8-latest/69/display/redirect?page=changes>

Changes:

[Mark Thomas] Update build to use Java 11

[Mark Thomas] Use <> and fix IDE warning after switch to Java 11

[Mark Thomas] Fix deprecation warnings after update to Java 11

[Mark Thomas] Fix autoboxing warnings in unit tests for API

[Mark Thomas] Fix #45. Add coercion of LambdaExpression to functional interface


------------------------------------------
Started by upstream project "expression-language-master" build number 69
originally caused by:
 Started by an SCM change
Running as SYSTEM
Agent basic-k0blq is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-k0blq"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.el.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-k0blq"
    - 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-k0blq"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.el.svc.cluster.local/el/";
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.7"
    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
    - 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-el"
      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-k0blq (basic) in workspace <https://ci.eclipse.org/el/job/expression-language-master/jdk=adoptopenjdk-openj9-jdk8-latest/ws/>
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/el-ri
 > git init <https://ci.eclipse.org/el/job/expression-language-master/jdk=adoptopenjdk-openj9-jdk8-latest/ws/> # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/el-ri
 > 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 <https://ci.eclipse.org/el/job/expression-language-master/jdk=adoptopenjdk-openj9-jdk8-latest/ws/@tmp/jenkins-gitclient-ssh6148865724413028195.key>
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/el-ri +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/el-ri # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision bcd0eeb349af607eb15428c04853a0be0948f80c (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bcd0eeb349af607eb15428c04853a0be0948f80c # timeout=10
Commit message: "Fix #45. Add coercion of LambdaExpression to functional interface"
 > git rev-list --no-walk 6b42d550e75ae2f0610c105db68d5531bde7d211 # timeout=10
[adoptopenjdk-openj9-jdk8-latest] $ /opt/tools/apache-maven/latest/bin/mvn clean install --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Jakarta Expression Language API                                    [jar]
[INFO] Jakarta Expression Language Specification                          [pom]
[INFO] Jakarta Expression Language Implementation                         [jar]
[INFO] Jakarta Expression Language                                        [pom]
[INFO] 
[INFO] ---------------------< jakarta.el:jakarta.el-api >----------------------
[INFO] Building Jakarta Expression Language API 5.0.0-SNAPSHOT            [1/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.el-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ jakarta.el-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jakarta.el-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jakarta.el-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to <https://ci.eclipse.org/el/job/expression-language-master/jdk=adoptopenjdk-openj9-jdk8-latest/ws/api/target/classes>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Jakarta Expression Language API 5.0.0-SNAPSHOT ..... FAILURE [  5.869 s]
[INFO] Jakarta Expression Language Specification 5.0-SNAPSHOT SKIPPED
[INFO] Jakarta Expression Language Implementation 5.0.0-SNAPSHOT SKIPPED
[INFO] Jakarta Expression Language 5.0.0-SNAPSHOT ......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.373 s
[INFO] Finished at: 2021-09-06T17:01:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jakarta.el-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
Build step 'Invoke top-level Maven targets' marked build as failure
[JavaDocJava CompilerSpotBugs] Skipping execution of recorder since overall result is 'FAILURE'


Back to the top