From issues-return-131049-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri Apr 6 13:49:04 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 14FAA180649 for ; Fri, 6 Apr 2018 13:49:03 +0200 (CEST) Received: (qmail 6360 invoked by uid 500); 6 Apr 2018 11:49:03 -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 6349 invoked by uid 99); 6 Apr 2018 11:49:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2018 11:49:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9F887C2E74 for ; Fri, 6 Apr 2018 11:49:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aoElrNnD7tju for ; Fri, 6 Apr 2018 11:49:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9D8B65F5E0 for ; Fri, 6 Apr 2018 11:49:01 +0000 (UTC) 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 D9907E080F for ; Fri, 6 Apr 2018 11:49:00 +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 450A925626 for ; Fri, 6 Apr 2018 11:49:00 +0000 (UTC) Date: Fri, 6 Apr 2018 11:49:00 +0000 (UTC) From: "Julian Reschke (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1444) /usr/bin/ps and /bin/ps not found. Forked JVM fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SUREFIRE-1444?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6428233#comment-16428233 ]=20 Julian Reschke commented on SUREFIRE-1444: ------------------------------------------ I have the same problem on Window (non-docker), and apparently it only star= ted a few days ago, so something else must have changed on this machine. Re= verting to an old Surefire version fixes the issue. Running {{wmic}} yields= : {noformat} > wmic wmic:root\cli> {noformat} What can I do to debug this? > /usr/bin/ps and /bin/ps not found. Forked JVM fails. > ---------------------------------------------------- > > Key: SUREFIRE-1444 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1444 > Project: Maven Surefire > Issue Type: Bug > Components: process forking > Affects Versions: 2.20.1 > Environment: Windows 7 Pro 64 bits > Maven 3.5.2 , jdk 1.8.0_152 > Reporter: rfs > Assignee: Tibor Digana > Priority: Major > Attachments: dump.txt, mavenlog.txt > > > mvn test is failed with maven 3.5.2, jdk 1.8.0_x, maven surefire 2.20.1 > maven repository is deleted before but same result. > mvn test is successfull with maven 3.5.2, jdk 1.8.0_x, maven surefire 2.1= 9.1 > [INFO] ------------------------------------------------------------------= ------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > [INFO] Total time: 9.490 s > [INFO] Finished at: 2017-11-16T08:58:19+01:00 > [INFO] Final Memory: 35M/290M > [INFO] ------------------------------------------------------------------= ------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-pl= ugin:2.20.1:test (default-test) on project project-name: There are test fa > ilures. > [ERROR] > [ERROR] Please refer to R:\src\project-name\target\surefire-reports for t= he individual test results. > [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, = [date].dumpstream and [date]-jvmRun[N].dumpstream. > [ERROR] The forked VM terminated without properly saying goodbye. VM cras= h or System.exit called? > [ERROR] Command was cmd.exe /X /C "R:\tools\jdk1.8.0_152\jre\bin\java -ja= r d:\Profiles\XXX\AppData\Local\Temp\surefire4973827123764606195\sur > efirebooter7359328160006854832.jar D:\Profiles\XXX\AppData\Local\Temp\sur= efire4973827123764606195 2017-11-16T08-58-14_352-jvmRun1 surefire80634 > 62497440390334tmp surefire_0627218662296028436tmp" > [ERROR] Error occurred in starting fork, check output in log > [ERROR] Process Exit Code: 1 > [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The= forked VM terminated without properly saying goodbye. VM crash or System.e= xi > t called? > [ERROR] Command was cmd.exe /X /C "R:\tools\jdk1.8.0_152\jre\bin\java -ja= r d:\Profiles\XXX\AppData\Local\Temp\surefire4973827123764606195\sur > efirebooter7359328160006854832.jar D:\Profiles\XXX\AppData\Local\Temp\sur= efire4973827123764606195 2017-11-16T08-58-14_352-jvmRun1 surefire80634 > 62497440390334tmp surefire_0627218662296028436tmp" > [ERROR] Error occurred in starting fork, check output in log > [ERROR] Process Exit Code: 1 > [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStar= ter.fork(ForkStarter.java:686) > [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStar= ter.fork(ForkStarter.java:535) > [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStar= ter.run(ForkStarter.java:280) > [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStar= ter.run(ForkStarter.java:245) > [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.= executeProvider(AbstractSurefireMojo.java:1124) > [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.= executeAfterPreconditionsChecked(AbstractSurefireMojo.java:954) > [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.= execute(AbstractSurefireMojo.java:832) > [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.exec= uteMojo(DefaultBuildPluginManager.java:134) > [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execu= te(MojoExecutor.java:208) > [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execu= te(MojoExecutor.java:154) > [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execu= te(MojoExecutor.java:146) > [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBui= lder.buildProject(LifecycleModuleBuilder.java:117) > [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBui= lder.buildProject(LifecycleModuleBuilder.java:81) > [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethre= aded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.e= xecute(LifecycleStarter.java:128) > [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.j= ava:309) > [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.j= ava:194) > [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.jav= a:107) > [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:95= 5) > [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290= ) > [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:194) > [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Me= thod) > [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth= odAccessorImpl.java:62) > [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega= tingMethodAccessorImpl.java:43) > [ERROR] at java.lang.reflect.Method.invoke(Method.java:498) > [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.laun= chEnhanced(Launcher.java:289) > [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.laun= ch(Launcher.java:229) > [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main= WithExitCode(Launcher.java:415) > [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main= (Launcher.java:356) > [ERROR] > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the = -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, ple= ase read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExe= cutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the = command > [ERROR] mvn -rf :project-name > 'cmd' n'est pas reconnu en tant que commande interne > ou externe, un programme ex=C3=A9cutable ou un fichier de commandes. > dump file : ******-jvmRun1.dump > Killing self fork JVM. Maven process died. -- This message was sent by Atlassian JIRA (v7.6.3#76005)