You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:14 UTC
[jira] (MNG-4358) Multi-projects seem to send interrupt signals to
some tasks
[ https://jira.codehaus.org/browse/MNG-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-4358:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Multi-projects seem to send interrupt signals to some tasks
> -----------------------------------------------------------
>
> Key: MNG-4358
> URL: https://jira.codehaus.org/browse/MNG-4358
> Project: Maven
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 2.2.1
> Environment: All 64 bit. Ubuntu 9.10 b5, OpenJDK Runtime Environment (IcedTea6 1.6) (6b16-1.6-1ubuntu1).
> Reporter: Gustavo Hexsel
> Attachments: interrupt_on_resolve.tar.bz, out.tar.bz
>
>
> Tasks like exec:exec and surefire (testing) seem to receive an occasional interrupt signal, causing the test or task to fail. This only happens on multi-module projects (i.e. if I run it a module at a time, it works).
> Here's an example stacktrace from exec:exec (I can try to reproduce the surefire one as well):
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Command execution failed.
> Embedded error: Error while executing external command, process killed.
> [INFO] ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Command execution failed.
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:288)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> ... 16 more
> Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing external command, process killed.
> at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:199)
> at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:93)
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:437)
> at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:279)
> ... 18 more
> Caused by: java.lang.InterruptedException
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
> at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:147)
> ... 21 more
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)