You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/05 22:20:00 UTC

[jira] [Work logged] (EMAIL-190) Travis build fails for JDK 7 & 11

     [ https://issues.apache.org/jira/browse/EMAIL-190?focusedWorklogId=398729&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398729 ]

ASF GitHub Bot logged work on EMAIL-190:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Mar/20 22:19
            Start Date: 05/Mar/20 22:19
    Worklog Time Spent: 10m 
      Work Description: sgoeschl commented on pull request #12: EMAIL-190 Travis build fails for JDK 7 & 11
URL: https://github.com/apache/commons-email/pull/12
 
 
   See https://issues.apache.org/jira/browse/EMAIL-190
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 398729)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>             Fix For: 1.6
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)