From issues-return-4157-apmail-continuum-issues-archive=continuum.apache.org@continuum.apache.org Wed Aug 19 12:08:09 2009 Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 19150 invoked from network); 19 Aug 2009 12:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 12:08:09 -0000 Received: (qmail 41096 invoked by uid 500); 19 Aug 2009 12:08:28 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 41067 invoked by uid 500); 19 Aug 2009 12:08:28 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 41057 invoked by uid 99); 19 Aug 2009 12:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 12:08:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 12:08:20 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 1BDE514A8085 for ; Wed, 19 Aug 2009 07:07:59 -0500 (CDT) Message-ID: <22643195.277781250683679086.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 19 Aug 2009 07:07:59 -0500 (CDT) From: "Jonathan Ramsey (JIRA)" To: issues@continuum.apache.org Subject: [jira] Updated: (CONTINUUM-1965) Can't view build log is build is cancel because of timeout In-Reply-To: <9406979.1225961931017.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ramsey updated CONTINUUM-1965: --------------------------------------- Attachment: build-result-screen-showing-build-error-rather-than-output.jpg I got this problem in Continuum v1.2.3 (build number 732759). An automated functional test took longer than the max job time (15 minutes) set on the schedule which the build was running under. The "Output" section of the "Build result" screen would normally show the the maven build output. In this case the "Output" section isn't present, and there is a "Build Error" section instead which contains the following stacktrace. The stacktrace is pretty much the same as the one in the issue description (the line numbers differ probably reflecting the difference between v1.2.1 and v1.2.3). org.apache.maven.continuum.execution.ContinuumBuildCancelledException: The build was cancelled at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:294) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:180) at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:124) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:435) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:170) 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:178) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) 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:199) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:93) at org.apache.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:139) at org.apache.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64) at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:282) ... 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:147) ... 15 more > Can't view build log is build is cancel because of timeout > ---------------------------------------------------------- > > Key: CONTINUUM-1965 > URL: http://jira.codehaus.org/browse/CONTINUUM-1965 > Project: Continuum > Issue Type: Bug > Affects Versions: 1.2.1 > Environment: Ubuntu8.04/tomcat6 > Reporter: Luc Willems > Fix For: 1.x > > Attachments: build-result-screen-showing-build-error-rather-than-output.jpg > > > I have some site-deploy build targets that for some unkown reason take a long time (> 1 hr) > mij default build timeout is set to 1 hr > when the build is cancel because of time out i see this error : > org.apache.maven.continuum.execution.ContinuumBuildCancelledException: The build was cancelled > at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:289) > at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:178) > at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:124) > at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:431) > at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:167) > 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:178) > at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) > at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) > at java.lang.Thread.run(Thread.java:595) > 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.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:131) > at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:59) > at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:277) > ... 11 more > Caused by: java.lang.InterruptedException > This is normal but i would also like to see the build log to verify why it was taken so long. > note : this is a multi module build (flex/java) with about 20 modules. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira