From issues-return-130086-archive-asf-public=cust-asf.ponee.io@maven.apache.org Tue Mar 20 03:07:06 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 C8A4C180647 for ; Tue, 20 Mar 2018 03:07:05 +0100 (CET) Received: (qmail 37868 invoked by uid 500); 20 Mar 2018 02:07:04 -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 37852 invoked by uid 99); 20 Mar 2018 02:07:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2018 02:07:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4A17C180518 for ; Tue, 20 Mar 2018 02:07:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fQ1E0IFBl7N2 for ; Tue, 20 Mar 2018 02:07:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C1C855F175 for ; Tue, 20 Mar 2018 02:07: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 B19CFE0117 for ; Tue, 20 Mar 2018 02:07: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 401D6214B6 for ; Tue, 20 Mar 2018 02:07:00 +0000 (UTC) Date: Tue, 20 Mar 2018 02:07:00 +0000 (UTC) From: "Larry West (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1502) Forking fails on OS/X 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-1502?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6405695#comment-16405695 ]=20 Larry West commented on SUREFIRE-1502: -------------------------------------- [~tibor17] I cloned from the=C2=A0[https://github.com/apache/maven-surefire= /tree/SUREFIRE-1422]=C2=A0branch ({{27f68718}}=E2=8B=AE) and stopped settin= g {{reuseForks=3Dfalse}}, but get the same problem (twice) :( : {noformat} . . . [ERROR] Process Exit Code: 0 [ERROR] =09at org.apache.maven.plugin.surefire.booterclient.ForkStarter.for= k(ForkStarter.java:671) [ERROR] =09at org.apache.maven.plugin.surefire.booterclient.ForkStarter.for= k(ForkStarter.java:533) [ERROR] =09at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run= (ForkStarter.java:278) [ERROR] =09at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run= (ForkStarter.java:244) . . . {noformat} I didn't try debugging it... let me know if there's more info or something = else to try.=20 > Forking fails on OS/X > --------------------- > > Key: SUREFIRE-1502 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1502 > Project: Maven Surefire > Issue Type: Bug > Components: process forking > Affects Versions: 2.20.1, 2.21.0 > Environment: OS/X 10.13.3 > Java 1.8.0_162 > Reporter: Larry West > Assignee: Tibor Digana > Priority: Major > Attachments: surefire3972773662020453876tmp, surefire_06790995305= 937656848tmp > > > This is very similar to SUREFIRE-1422, but is still present _intermittent= ly_ on version 2.21.0 as well as 2.20.1.=C2=A0 It was not present on 2.19.1= . > The symptom is that all tests run fine (the reports are there), but as so= on as they do, there is an error: > {noformat} > The forked VM terminated without properly saying goodbye. VM crash or Sys= tem.exit called? > ... > Process Exit Code: 0 > {noformat} > This of course fails the build. > This occurs on roughly half the builds (with 2.21.0, at least). > Maven version 3.5.3. Java 1.8.0_162. OS/X 10.13.3. > h5. Selected output from mvn -X > {noformat} > [DEBUG] Forking command line: /bin/sh -c cd /Users/lwest/git/caas/jsk-cc = && /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin= /java -jar /Users/lwest/git/caas/jsk-cc/target/surefire/surefirebooter44968= 43559994461722.jar /Users/lwest/git/caas/jsk-cc/target/surefire 2018-03-16T= 16-08-09_300-jvmRun1 surefire3972773662020453876tmp surefire_06790995305937= 656848tmp > {noformat} > ... then, after all the tests have run, successfully, it reports failure: > {noformat} > Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: = The forked VM terminated without properly saying goodbye. VM crash or Syste= m.exit called? > Command was /bin/sh -c cd /Users/lwest/git/caas/jsk-cc && /Library/Java/J= avaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java -jar /Users/= lwest/git/caas/jsk-cc/target/surefire/surefirebooter4496843559994461722.jar= /Users/lwest/git/caas/jsk-cc/target/surefire 2018-03-16T16-08-09_300-jvmRu= n1 surefire3972773662020453876tmp surefire_06790995305937656848tmp > Process Exit Code: 0 > at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (Fo= rkStarter.java:671) > at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (Fo= rkStarter.java:533) > at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (For= kStarter.java:278) > at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (For= kStarter.java:244) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvi= der (AbstractSurefireMojo.java:1148) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfter= PreconditionsChecked (AbstractSurefireMojo.java:977) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (Abs= tractSurefireMojo.java:853) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (Def= aultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExec= utor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExec= utor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExec= utor.java:146) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildPr= oject (LifecycleModuleBuilder.java:117) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildPr= oject (LifecycleModuleBuilder.java:81) > at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleT= hreadedBuilder.build (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (Life= cycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorI= mpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodA= ccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:498) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (= Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher= .java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode= (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.j= ava:356) > {noformat} > There are no "[date]-jvmRun[N].dump", "[date].dumpstream" or "[date]-jvmR= un[N].dumpstream" files. > h5. Addendum > One detail that is perhaps not relevant is that our projects always use {= {file.encoding=3DUTF-8}}, but I see that ForkStarter=C2=A0has hard-coded {{= ISO_8859_1}} as the StreamCharset param to=C2=A0executeCommandLineAsCallabl= e(). -- This message was sent by Atlassian JIRA (v7.6.3#76005)