Siegfried Goeschl created EMAIL-190: ---------------------------------------
Summary: Travis build fails for JDK 7 & 11 Key: EMAIL-190 URL: https://issues.apache.org/jira/browse/EMAIL-190 Project: Commons Email Issue Type: Task Affects Versions: 1.6 Reporter: Siegfried Goeschl Assignee: Siegfried Goeschl Fix For: 1.6 The Travis builds on GitHub (see https://travis-ci.org/apache/commons-email/builds/594822196?utm_medium=notification&utm_source=github_status) configured for commons-email actually fail OpenJDK 7 & 11 and only work for OpenJDK 8 {noformat} language: java sudo: false jdk: - openjdk7 - openjdk8 - openjdk11 after_success: - mvn clean cobertura:cobertura coveralls:report {noformat} JDK 7 {noformat} Expected feature release number in range of 9 to 15, but got: 7 181The command "~/bin/install-jdk.sh --target "/home/travis/openjdk7" --workspace "/home/travis/.cache/install-jdk" --feature "7" --license "GPL" --cacerts" failed and exited with 3 during . {noformat} JDK 11 {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project commons-email: There are test failures. 2610[ERROR] 2611[ERROR] Please refer to /home/travis/build/apache/commons-email/target/surefire-reports for the individual test results. 2612[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. 2613[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? 2614[ERROR] Command was /bin/sh -c cd /home/travis/build/apache/commons-email && /usr/local/lib/jvm/openjdk11/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/home/travis/build/apache/commons-email/target/jacoco.exec -jar /home/travis/build/apache/commons-email/target/surefire/surefirebooter14166966509883583450.jar /home/travis/build/apache/commons-email/target/surefire 2020-03-03T19-44-26_219-jvmRun1 surefire7054271297207748655tmp surefire_07799371676210898436tmp 2615[ERROR] Error occurred in starting fork, check output in log 2616[ERROR] Process Exit Code: 134 2617[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? 2618[ERROR] Command was /bin/sh -c cd /home/travis/build/apache/commons-email && /usr/local/lib/jvm/openjdk11/bin/java -javaagent:/home/travis/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/home/travis/build/apache/commons-email/target/jacoco.exec -jar /home/travis/build/apache/commons-email/target/surefire/surefirebooter14166966509883583450.jar /home/travis/build/apache/commons-email/target/surefire 2020-03-03T19-44-26_219-jvmRun1 surefire7054271297207748655tmp surefire_07799371676210898436tmp 2619[ERROR] Error occurred in starting fork, check output in log 2620[ERROR] Process Exit Code: 134 {noformat} A few thoughts along the line * JDK7 might be tricky to support on Travis (there are couple of issues that OpenJDK 7 is not properly supported) * JDK11 should work -- This message was sent by Atlassian Jira (v8.3.4#803005)