You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/04/10 11:12:00 UTC

[jira] [Commented] (SUREFIRE-1513) Latest `maven:3.5-jdk-8` Docker image cause `failsafe` to fail

    [ https://issues.apache.org/jira/browse/SUREFIRE-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432076#comment-16432076 ] 

Michael Osipov commented on SUREFIRE-1513:
------------------------------------------

Please retry with plain Maven. We do not support unofficial packages, especially when I do not see the full stacktrace.

> Latest `maven:3.5-jdk-8` Docker image cause `failsafe` to fail
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-1513
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1513
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: raghavan chockalingam
>            Priority: Major
>
> {code:java}
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 04:44 min
> [INFO] Finished at: 2018-04-09T11:38:52Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test (default) on project XYZ: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test failed: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 -> [Help 1]
> {code}
> *Docker image*: {{maven:3.5-jdk-8 mvn failsafe:integration-test}}
> Even though there were no failures or errors from the tests, F\{{ailsafe}} plugin seem to fail with exception {{StringIndexOutOfBoundsException}}. With {{mvn -X,}} it shows up as related to {{jansi}}. But when running in batch mode using {{-B}} it was throwing exception {{ConcurrentModificationException}}. Also during some of the executions, the tests would be stuck / blocked at some point and would not proceed to completion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)