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

Chris Graham commented on SUREFIRE-1623:
----------------------------------------

{noformat}
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[DEBUG] Determined Maven Process ID 3332
[DEBUG] boot classpath:  C:\Documents and 
Settings\admin\.m2\repository\org\apache\maven\surefire\surefire-shadefire\3.0.0-M3\surefire-shadefire-3.0.0-M3.jar
  C:\Wor
kspaces\Apache\maven-surefire\surefire-booter\target\test-classes  
C:\Workspaces\Apache\maven-surefire\surefire-booter\target\classes  
C:\Workspaces\Apache\maven-sur
efire\surefire-api\target\surefire-api-3.0.0-SNAPSHOT.jar  
C:\Workspaces\Apache\maven-surefire\surefire-logger-api\target\surefire-logger-api-3.0.0-SNAPSHOT.jar
  C:\
Documents and 
Settings\admin\.m2\repository\org\apache\maven\shared\maven-shared-utils\3.1.0\maven-shared-utils-3.1.0.jar
  C:\Documents and Settings\admin\.m2\reposi
tory\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar  
C:\Documents and 
Settings\admin\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar  C:\
Documents and 
Settings\admin\.m2\repository\com\google\code\findbugs\jsr305\2.0.3\jsr305-2.0.3.jar
  C:\Documents and Settings\admin\.m2\repository\commons-codec\comm
ons-codec\1.11\commons-codec-1.11.jar  C:\Documents and 
Settings\admin\.m2\repository\org\mockito\mockito-core\2.21.0\mockito-core-2.21.0.jar
  C:\Documents and Setti
ngs\admin\.m2\repository\net\bytebuddy\byte-buddy\1.8.15\byte-buddy-1.8.15.jar  
C:\Documents and 
Settings\admin\.m2\repository\net\bytebuddy\byte-buddy-agent\1.8.15\
byte-buddy-agent-1.8.15.jar  C:\Documents and 
Settings\admin\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar  
C:\Documents and Settings\admin\.m2\reposi
tory\org\powermock\powermock-core\2.0.0-RC.1\powermock-core-2.0.0-RC.1.jar  
C:\Documents and 
Settings\admin\.m2\repository\org\powermock\powermock-reflect\2.0.0-RC.1
\powermock-reflect-2.0.0-RC.1.jar  C:\Documents and 
Settings\admin\.m2\repository\org\javassist\javassist\3.22.0-GA\javassist-3.22.0-GA.jar
  C:\Documents and Setting
s\admin\.m2\repository\org\powermock\powermock-module-junit4\2.0.0-RC.1\powermock-module-junit4-2.0.0-RC.1.jar
  C:\Documents and Settings\admin\.m2\repository\org\po
wermock\powermock-module-junit4-common\2.0.0-RC.1\powermock-module-junit4-common-2.0.0-RC.1.jar
  C:\Documents and Settings\admin\.m2\repository\org\hamcrest\hamcrest
-core\1.3\hamcrest-core-1.3.jar  C:\Documents and 
Settings\admin\.m2\repository\org\powermock\powermock-api-mockito2\2.0.0-RC.1\powermock-api-mockito2-2.0.0-RC.1.jar
  C:\Documents and 
Settings\admin\.m2\repository\org\powermock\powermock-api-support\2.0.0-RC.1\powermock-api-support-2.0.0-RC.1.jar
  C:\Documents and Settings\admin
\.m2\repository\junit\junit\4.12\junit-4.12.jar  C:\Documents and 
Settings\admin\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar
  C:\Docume
nts and 
Settings\admin\.m2\repository\org\easytesting\fest-assert\1.4\fest-assert-1.4.jar
  C:\Documents and Settings\admin\.m2\repository\org\easytesting\fest-util\1
.1.6\fest-util-1.1.6.jar
[DEBUG] boot(compact) classpath:  surefire-shadefire-3.0.0-M3.jar  test-classes 
 classes  surefire-api-3.0.0-SNAPSHOT.jar  
surefire-logger-api-3.0.0-SNAPSHOT.jar  ma
ven-shared-utils-3.1.0.jar  commons-lang3-3.8.1.jar  commons-io-2.6.jar  
jsr305-2.0.3.jar  commons-codec-1.11.jar  mockito-core-2.21.0.jar  
byte-buddy-1.8.15.jar  by
te-buddy-agent-1.8.15.jar  objenesis-2.6.jar  powermock-core-2.0.0-RC.1.jar  
powermock-reflect-2.0.0-RC.1.jar  javassist-3.22.0-GA.jar  
powermock-module-junit4-2.0.0
-RC.1.jar  powermock-module-junit4-common-2.0.0-RC.1.jar  hamcrest-core-1.3.jar 
 powermock-api-mockito2-2.0.0-RC.1.jar  powermock-api-support-2.0.0-RC.1.jar  
junit-4
.12.jar  hamcrest-library-1.3.jar  fest-assert-1.4.jar  fest-util-1.1.6.jar
[DEBUG] Forking command line: cmd.exe /X /C ""C:\Program 
Files\Java\jdk1.8.0_152\jre\..\bin\java" -server -XX:+UseG1GC -Xms128m -Xmx144m 
-XX:+TieredCompilation -XX:T
ieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true 
-Djdk.net.URLClassPath.disableClassPathURLCheck=true "-javaagent:C:\\Documents 
and Setting
s\\admin\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\\Workspaces\\Apache\\maven-surefire\\surefire-booter\
\target\\jacoco.exec,append=true,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,inclnolocationclasses=true,jmx=false"
 -Dnet.bytebuddy.experim
ental=true org.apache.maven.shadefire.surefire.booter.ForkedBooter 
"C:\Documents and Settings\admin\Local 
Settings\Temp\surefire8806289940760796727" 2019-05-06T22-39
-26_587-jvmRun1 surefire5561095777841642908tmp surefire_17325591220434640506tmp"
[INFO] Running org.apache.maven.surefire.booter.JUnit4SuiteTest{noformat}
This has been running (ie hung) like this from last night. mvn -X clean install 
from the surefire root. MAVEN_OPTS=-Xmx512M.

 

 

> 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