[ 
https://issues.apache.org/jira/browse/SUREFIRE-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833760#comment-16833760
 ] 
Chris Graham edited comment on SUREFIRE-1623 at 5/6/19 12:28 PM:
-----------------------------------------------------------------

{{INFO] 
------------------------------------------------------------------------}}
{{ [INFO] Reactor Summary:}}
{{ [INFO]}}
{{ [INFO] testapp - Root 1.0-SNAPSHOT ........................ SUCCESS [ 6.001 
s]}}
{{ [INFO] testapp - Application .............................. SUCCESS [03:03 
min]}}
{{ [INFO] testapp - Unit Tests ............................... SUCCESS [01:32 
min]}}
{{ [INFO] testapp - Integration Tests 1.0-SNAPSHOT ........... SUCCESS [05:02 
min]}}
{{ [INFO] 
------------------------------------------------------------------------}}
{{ [INFO] BUILD SUCCESS}}
{{ [INFO] 
------------------------------------------------------------------------}}
{{ [INFO] Total time: 09:52 min}}
{{ [INFO] Finished at: 2019-05-06T22:00:02+10:00}}
{{ [INFO] 
------------------------------------------------------------------------}}{{C:\Workspaces\Apache\reproduce-surefire-issue
 master>dir *.bat /s}}
{{ Volume in drive C has no label.}}
{{ Volume Serial Number is 9817-F333}}{{Directory of 
C:\Workspaces\Apache\reproduce-surefire-issue 
master\integration-tests}}{{05/06/2019 10:00 PM 0 TempWmicBatchFile.bat}}
{{ 1 File(s) 0 bytes}}{{Directory of 
C:\Workspaces\Apache\reproduce-surefire-issue master\unit-tests}}{{05/06/2019 
09:54 PM 0 TempWmicBatchFile.bat}}
{{ 1 File(s) 0 bytes}}{{Total Files Listed:}}
{{ 2 File(s) 0 bytes}}
{{ 0 Dir(s) 597,237,760 bytes 
free}}{{C:\Workspaces\Apache\reproduce-surefire-issue master>mvn --version}}
{{ Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-18T04:33:14+10:00)}}
{{ Maven home: C:\apache-maven-3.5.4\bin\..}}
{{ Java version: 1.8.0_152, vendor: Oracle Corporation, runtime: C:\Program 
Files\Java\jdk1.8.0_152\jre}}
{{ Default locale: en_US, platform encoding: Cp1252}}
{{ OS name: "windows xp", version: "5.1", arch: "x86", family: 
"windows"}}{{C:\Workspaces\Apache\reproduce-surefire-issue master>}}

As you can see, I get the same results.

I still get a hang whilst building surefire itself.

I have had a lot of issues installing Java 8 on this VM, The first version that 
was able to be installed was 1.8.0_40, then I installed all of these versions 
1.8.0_45, 74, 101, 111, 131, 141, 151 and finally 1.8.0_152. I am unable to 
installed 161 or higher.


was (Author: chrisgwarp):
{{[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] testapp - Root 1.0-SNAPSHOT ........................ SUCCESS [  6.001 s]
[INFO] testapp - Application .............................. SUCCESS [03:03 min]
[INFO] testapp - Unit Tests ............................... SUCCESS [01:32 min]
[INFO] testapp - Integration Tests 1.0-SNAPSHOT ........... SUCCESS [05:02 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:52 min
[INFO] Finished at: 2019-05-06T22:00:02+10:00
[INFO] ------------------------------------------------------------------------

C:\Workspaces\Apache\reproduce-surefire-issue master>dir *.bat /s
 Volume in drive C has no label.
 Volume Serial Number is 9817-F333

 Directory of C:\Workspaces\Apache\reproduce-surefire-issue 
master\integration-tests

05/06/2019  10:00 PM                 0 TempWmicBatchFile.bat
               1 File(s)              0 bytes

 Directory of C:\Workspaces\Apache\reproduce-surefire-issue master\unit-tests

05/06/2019  09:54 PM                 0 TempWmicBatchFile.bat
               1 File(s)              0 bytes

     Total Files Listed:
               2 File(s)              0 bytes
               0 Dir(s)     597,237,760 bytes free

C:\Workspaces\Apache\reproduce-surefire-issue master>mvn --version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-18T04:33:14+10:00)
Maven home: C:\apache-maven-3.5.4\bin\..
Java version: 1.8.0_152, vendor: Oracle Corporation, runtime: C:\Program 
Files\Java\jdk1.8.0_152\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

C:\Workspaces\Apache\reproduce-surefire-issue master>}}

As you can see, I get the same results.

I still get a hang whilst building surefire itself. 

I have had a lot of issues installing Java 8 on this VM, The first version that 
was able to be installed was 1.8.0_40, then I installed all of these versions 
1.8.0_45, 74, 101, 111, 131, 141, 151 and finally 1.8.0_152. I am unable to 
installed 161 or higher.


> TempWmicBatchFile.bat is left in project dirs after surefire tests are run
> --------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1623
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1623
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M3
>            Reporter: Chris Graham
>            Assignee: Tibor Digana
>            Priority: Blocker
>         Attachments: reproduce-surefire-issue master.zip
>
>
> WINDOWS ONLY:
> When the WMIC command it run to obtain the process start time, the current 
> implementation leaves behind a batch file, TempWmicBatchFile.bat, which is 
> zero bytes long.
> This file needs to be removed post execution.
> Leaving it behind will interfere with the release plugin as a scm status call 
> will fail with files needing to be added. Simply ignoring the file is a very 
> sloppy approach.



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

Reply via email to