From issues-return-148918-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon May 6 12:29:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CF1F518060F for ; Mon, 6 May 2019 14:29:02 +0200 (CEST) Received: (qmail 27325 invoked by uid 500); 6 May 2019 12:29:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 27313 invoked by uid 99); 6 May 2019 12:29:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2019 12:29:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1EF40E02BE for ; Mon, 6 May 2019 12:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A193C24597 for ; Mon, 6 May 2019 12:29:00 +0000 (UTC) Date: Mon, 6 May 2019 12:29:00 +0000 (UTC) From: "Chris Graham (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SUREFIRE-1623) TempWmicBatchFile.bat is left in project dirs after surefire tests are run MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)