maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1397) "ExecutionException Cannot create workingDirectory" occurs randomly when forkCount>1
Date Sun, 17 Sep 2017 21:12:00 GMT

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

Tibor Digana commented on SUREFIRE-1397:
----------------------------------------

[~piotr.krokowski@sabre.com]
I used your POM and added {{ATest.java}} with versions {{2.19.1}}, {{2.20}}, {{2.20.1}} and
the folder was always created {{target/test-run}} with my command {{mvn clean test -T 2}}
.
{{mvn --version}}
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
Maven home: D:\apache-maven-3.2.1
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: e:\Program Files\Java\jdk1.8.0_144\jre
Default locale: en_US, platform encoding: Cp1250
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

> "ExecutionException Cannot create workingDirectory" occurs randomly when forkCount>1
> ------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1397
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1397
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19, 2.19.1, 2.20
>            Reporter: Piotr Krokowski
>            Assignee: Tibor Digana
>         Attachments: debug-output.txt, pom.xml
>
>
> I've verified the same scenario with 2.18, 2.19 and 2.20 versions of the plugin.
> It looks like the issue was introduced in 2.19.
> I'd kindly like to ask to fix this as soon as possible, as this is a blocker in adopting
JUnit5!
> Steps to reproduce:
> - Have a simple project with at least two tests
> - Configure {code}forkCount=2{code}
> - Configure workingDirectory, eg. {code}${project.basedir}/target/test-run{code}
> - Run {code}mvn clean test -T 2{code}
> - Observe the exception (might occur randomly)
> I'm attaching the error message, full stack trace, and my example pom.xml, that I used
to reproduce the issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message