{"action":"created","issue":{"url":"https://api.github.com/repos/junit-team/junit5/issues/801","repository_url":"https://api.github.com/repos/junit-team/junit5","labels_url":"https://api.github.com/repos/junit-team/junit5/issues/801/labels{/name}","comments_url":"https://api.github.com/repos/junit-team/junit5/issues/801/comments","events_url":"https://api.github.com/repos/junit-team/junit5/issues/801/events","html_url":"https://github.com/junit-team/junit5/issues/801","id":223450194,"number":801,"title":"JUnit vintage failing with \"The forked VM terminated without properly saying goodbye\"","user":{"login":"vmassol","id":628267,"avatar_url":"https://avatars3.githubusercontent.com/u/628267?v=4","gravatar_id":"","url":"https://api.github.com/users/vmassol","html_url":"https://github.com/vmassol","followers_url":"https://api.github.com/users/vmassol/followers","following_url":"https://api.github.com/users/vmassol/following{/other_user}","gists_url":"https://api.github.com/users/vmassol/gists{/gist_id}","starred_url":"https://api.github.com/users/vmassol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmassol/subscriptions","organizations_url":"https://api.github.com/users/vmassol/orgs","repos_url":"https://api.github.com/users/vmassol/repos","events_url":"https://api.github.com/users/vmassol/events{/privacy}","received_events_url":"https://api.github.com/users/vmassol/received_events","type":"User","site_admin":false},"labels":[{"id":508765159,"url":"https://api.github.com/repos/junit-team/junit5/labels/component:%20Surefire","name":"component: Surefire","color":"c2e0c6","default":false},{"id":420912143,"url":"https://api.github.com/repos/junit-team/junit5/labels/component:%20Vintage","name":"component: Vintage","color":"11cc99","default":false},{"id":371966680,"url":"https://api.github.com/repos/junit-team/junit5/labels/theme:%20build","name":"theme: build","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"marcphilipp","id":214207,"avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcphilipp","id":214207,"avatar_url":"https://avatars2.githubusercontent.com/u/214207?v=4","gravatar_id":"","url":"https://api.github.com/users/marcphilipp","html_url":"https://github.com/marcphilipp","followers_url":"https://api.github.com/users/marcphilipp/followers","following_url":"https://api.github.com/users/marcphilipp/following{/other_user}","gists_url":"https://api.github.com/users/marcphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcphilipp/subscriptions","organizations_url":"https://api.github.com/users/marcphilipp/orgs","repos_url":"https://api.github.com/users/marcphilipp/repos","events_url":"https://api.github.com/users/marcphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/marcphilipp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":82,"created_at":"2017-04-21T17:40:27Z","updated_at":"2018-04-11T22:14:38Z","closed_at":"2017-05-17T14:27:16Z","author_association":"NONE","body":"While building https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-oldcore with vintage 4.12.0-M4 I get the error: \r\n\r\n\"The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\"\r\n\r\nThis module builds fine with \"standard\" Maven surefire:\r\n\r\n`````\r\n        <plugin>\r\n          <groupId>org.apache.maven.plugins</groupId>\r\n          <artifactId>maven-surefire-plugin</artifactId>\r\n          <version>2.19.1</version>\r\n        </plugin>\r\n`````\r\n\r\nBut it fails when using:\r\n\r\n`````\r\n<junit5.version>5.0.0-M4</junit5.version>\r\n...\r\n        <plugin>\r\n          <groupId>org.apache.maven.plugins</groupId>\r\n          <artifactId>maven-surefire-plugin</artifactId>\r\n          <version>2.19.1</version>\r\n          <dependencies>\r\n            <!-- Allow running both JUnit4 and JUnit5 tests -->\r\n            <dependency>\r\n              <groupId>org.junit.platform</groupId>\r\n              <artifactId>junit-platform-surefire-provider</artifactId>\r\n              <version>1.0.0-M4</version>\r\n            </dependency>\r\n            <dependency>\r\n              <groupId>org.junit.jupiter</groupId>\r\n              <artifactId>junit-jupiter-engine</artifactId>\r\n              <version>${junit5.version}</version>\r\n            </dependency>\r\n            <dependency>\r\n              <groupId>org.junit.vintage</groupId>\r\n              <artifactId>junit-vintage-engine</artifactId>\r\n              <version>4.12.0-M4</version>\r\n            </dependency>\r\n          </dependencies>\r\n        </plugin>\r\n`````\r\n\r\nThe console has:\r\n\r\n````\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project xwiki-platform-oldcore: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\r\n[ERROR] Command was /bin/sh -c cd /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore && /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/bin/java -jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefirebooter7554021871729302969.jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire4900910245539098485tmp /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire_02307687931243988789tmp\r\n[ERROR] -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project xwiki-platform-oldcore: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\r\nCommand was /bin/sh -c cd /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore && /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/bin/java -jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefirebooter7554021871729302969.jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire4900910245539098485tmp /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire_02307687931243988789tmp\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)\r\n\tat org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:191)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\nCaused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\r\nCommand was /bin/sh -c cd /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore && /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/bin/java -jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefirebooter7554021871729302969.jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire4900910245539098485tmp /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire_02307687931243988789tmp\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n\t... 20 more\r\nCaused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?\r\nCommand was /bin/sh -c cd /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore && /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/bin/java -jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefirebooter7554021871729302969.jar /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire4900910245539098485tmp /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire/surefire_02307687931243988789tmp\r\n\tat org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590)\r\n\tat org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460)\r\n\tat org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229)\r\n\tat org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201)\r\n\tat org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026)\r\n\tat org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862)\r\n\tat org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)\r\n\t... 21 more\r\n[ERROR] \r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException\r\n`````\r\n\r\nTo reproduce:\r\n* Git clone https://github.com/xwiki/xwiki-platform.git (see https://github.com/xwiki/xwiki-platform)\r\n* Configure you maven ~/.m2/settings.xml with what's on http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven\r\n* Run: `mvn clean install -rf xwiki-platform-core/xwiki-platform-oldcore/`\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/junit-team/junit5/issues/comments/380612840","html_url":"https://github.com/junit-team/junit5/issues/801#issuecomment-380612840","issue_url":"https://api.github.com/repos/junit-team/junit5/issues/801","id":380612840,"user":{"login":"Tibor17","id":1045063,"avatar_url":"https://avatars2.githubusercontent.com/u/1045063?v=4","gravatar_id":"","url":"https://api.github.com/users/Tibor17","html_url":"https://github.com/Tibor17","followers_url":"https://api.github.com/users/Tibor17/followers","following_url":"https://api.github.com/users/Tibor17/following{/other_user}","gists_url":"https://api.github.com/users/Tibor17/gists{/gist_id}","starred_url":"https://api.github.com/users/Tibor17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tibor17/subscriptions","organizations_url":"https://api.github.com/users/Tibor17/orgs","repos_url":"https://api.github.com/users/Tibor17/repos","events_url":"https://api.github.com/users/Tibor17/events{/privacy}","received_events_url":"https://api.github.com/users/Tibor17/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T22:14:36Z","updated_at":"2018-04-11T22:14:36Z","author_association":"NONE","body":"You should delete two dependencies within plugin section in the POM and\nkeep the provider only. You already have them in project dependencies.\nThe problem happens when reuseForks=false and forkCount=1.\nObviously there must be a problem with transitive dependencies. I do not\nthink it is packages shading problem.\n\nOn Wed, Apr 11, 2018 at 10:01 PM, Joakim Erdfelt <notifications@github.com>\nwrote:\n\n> @sormuras <https://github.com/sormuras> what happens when\n> surefire-logger-api is a dependency of junit-platform-surefire-provider ?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/junit-team/junit5/issues/801#issuecomment-380577796>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AA_yR7LVfGnCOlKglZSoOlHxAmvZLV4Yks5tnmE1gaJpZM4NEluL>\n> .\n>\n\n\n\n-- \nCheers\nTibor\n"}}
{"actor":{"display_login":"Tibor17"}}