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

Michael Osipov commented on SUREFIRE-1810:
------------------------------------------

I can, unfortunately confirm this with:
{noformat}
git clone https://gitbox.apache.org/repos/asf/maven-surefire.git "Maven 
Surefire"
...
[ERROR] 
org.apache.maven.surefire.its.jiras.Surefire772SpecifiedReportsIT.testSkippedFailsafeReportGeneration
 -- Time elapsed: 0.080 s <<< ERROR!
org.apache.maven.surefire.its.fixture.SurefireVerifierException:
Exit code was non-zero: 255; command line and log =
D:\Entwicklung\Programme\apache-maven-3.8.8\bin\mvn -fn -e --batch-mode 
-Dmaven.repo.local=C:\Users\mosipov\.m2\repository 
org.apache.maven.plugins:maven-clean-plugin:clean 
-Dsurefire.version=3.2.4-SNAPSHOT 
-Djacoco.agent="-javaagent:C:\\Users\\mosipov\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.8\\org.jacoco.agent-0.8.8-runtime.jar=destfile=D:\\Entwicklung\\Projekte\\Maven
 
Surefire\\surefire-its\\target\\jacoco.exec,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,excludes=**/HelpMojo.class:**/shadefire/**/*:org/jacoco/**/*:com/vladium/emma/rt/*"
 -nsu -Dclean.skip=true -Dmaven.clean.skip=true -PskipFailsafe 
org.apache.maven.plugins:maven-surefire-report-plugin:3.2.4-SNAPSHOT::failsafe-report-only
 
org.apache.maven.plugins:maven-surefire-report-plugin:3.2.4-SNAPSHOT:report-only
Syntaxfehler.

        at 
org.apache.maven.surefire.its.fixture.MavenLauncher.executeCurrentGoals(MavenLauncher.java:274)
        at 
org.apache.maven.surefire.its.fixture.SurefireLauncher.executeCurrentGoals(SurefireLauncher.java:142)
        at 
org.apache.maven.surefire.its.jiras.Surefire772SpecifiedReportsIT.testSkippedFailsafeReportGeneration(Surefire772SpecifiedReportsIT.java:53)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at 
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:27)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
        at 
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
{noformat}

> Surefire plugin SurefireBooterForkException if path has Spaces in the name
> --------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1810
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1810
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M4
>         Environment: OS:      Microsoft Windows 10 Pro 10.0.19041 Build 19041
> Maven: 3.6.3
> Java: "11.0.7" 2020-04-14 LTS | Java(TM) SE Runtime Environment 18.9 (build 
> 11.0.7+8-LTS) | Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, 
> mixed mode)
>            Reporter: Tiago Jorge Proença Gaspar Casinhas
>            Priority: Major
>              Labels: newbie
>             Fix For: waiting-for-feedback
>
>         Attachments: 2020-06-26T09-50-50_242.dumpstream, dump2.txt
>
>
> When I attempt to run tests using `mvn clean install` or similar commands 
> that run through the verify phase, I get a SurefireBooterForkException if the 
> path to my project contains any space.
> Example: +C:\Users\tcasinhas\Documents\Git\My Project\mproj-subproj-cases+
>  
> If I remove the space, the build runs sucessfully.
> Example: +C:\Users\tcasinhas\Documents\Git\My-Project\mproj-subproj-cases+
> Notes:
>  I ommited the company and project name, but left everything else in the dump 
> as is.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to