Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1634

Normal build output should not be replaced by timeout stacktrace when build is timed out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1
    • None
    • None
    • None

    Description

      When a build timeout is thrown, normal build output is replaced by an ugly and unuseful stacktrace (see below).

      Is it possible to keep the normal build output ? Is it available somewhere ?

      Thanks

      Stacktrace :

       
      org.apache.maven.continuum.execution.ContinuumBuildCancelledException:
      The build was cancelled
            at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:214)
            at org.apache.maven.continuum.execution.maven.m1.MavenOneBuildExecutor.build(MavenOneBuildExecutor.java:106)
            at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:118)
            at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408)
            at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:147)
            at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
            at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
            at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
            at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
            at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
            at java.lang.Thread.run(Thread.java:619)
      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:164)
            at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:89)
            at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:114)
            at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:59)
            at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:202)
            ... 11 more
      Caused by: java.lang.InterruptedException
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)
            at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:128)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlecan dlecan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: