continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <j...@codehaus.org>
Subject [jira] (CONTINUUM-2705) Trunk 1.4.2-SNAPSHOT- error in Shell Build
Date Sat, 08 Jun 2013 20:54:03 GMT

    [ https://jira.codehaus.org/browse/CONTINUUM-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326399#comment-326399
] 

Brent N Atkinson commented on CONTINUUM-2705:
---------------------------------------------

The {{ParallelBuildManager}} implementation looks strange to me. I may be misunderstanding
how it's implemented. It appears as though:

 * The buildProjects method is executed for all projects for a given groupId
 * If the first project found has a null schedule, it will prevent any from being built
 * If a project in the group has a null schedule, it will prevent any subsequent from being
built

The reason is that an exception will be thrown and rather than skipping to another, it will
stop the process at the first.

Also, I'm not sure I understand why the build queues are constructed using the schedule from
only the first project.
                
> Trunk 1.4.2-SNAPSHOT- error in Shell Build
> ------------------------------------------
>
>                 Key: CONTINUUM-2705
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2705
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: linux, tomcat
>            Reporter: Murali Mohan
>            Assignee: Brent N Atkinson
>             Fix For: 1.4.2
>
>         Attachments: CONTINUUM-2705.patch, Screenshot-8.png
>
>
> I am trying to understand the code and may be provide some fixes/patches (example: http://jira.codehaus.org/browse/CONTINUUM-2704).
Checked out latest code from trunk (1.4.2-SNAPSHOT). Trying to execute a shell build when
it fails. StackTrace given below. This is a new build created after running the continuum-webapp
(built from trunk code) for the first time. This is not a migrated build (meaning it was a
new build defined in the fresh instance).
> Screenshot of continuum UI showing the failing build (Test.sh) is also attached.
> Can someone please help? What is the reason for this error?
> StackTrace
> =========
> 2013-03-05 15:42:17,691 [pool-3-thread-2] ERROR org.apache.continuum.buildmanager.ParallelBuildsManager
 - Null values set on build definition (id=6)
> 2013-03-05 15:42:17,691 [pool-3-thread-2] ERROR org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor
 - Unable to build project due to null values set on ( GOALS , ARGUMENTS , BUILD_FILE, SCHEDULE_ID_OID
) of BUILDDEFINITION ID : 6 Please notify your system adminitrator
> org.apache.continuum.buildmanager.BuildManagerException: Unable to build project due
to null values set on ( GOALS , ARGUMENTS , BUILD_FILE, SCHEDULE_ID_OID ) of BUILDDEFINITION
ID : 6 Please notify your system adminitrator
>     at org.apache.continuum.buildmanager.ParallelBuildsManager.buildProjects(ParallelBuildsManager.java:193)
>     at org.apache.maven.continuum.core.action.CreateBuildProjectTaskAction.execute(CreateBuildProjectTaskAction.java:123)
>     at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:647)
>     at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:215)
>     at org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120)
>     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.runWorker(ThreadPoolExecutor.java:987)
>     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>     at java.lang.Thread.run(Thread.java:662)
> 2013-03-05 15:42:17,692 [pool-3-thread-2] ERROR org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor
 - Error executing task
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action
'build-project'
>     at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:657)
>     at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:215)
>     at org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120)
>     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.runWorker(ThreadPoolExecutor.java:987)
>     at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>     at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.continuum.buildmanager.BuildManagerException: Unable to build project
due to null values set on ( GOALS , ARGUMENTS , BUILD_FILE, SCHEDULE_ID_OID ) of BUILDDEFINITION
ID : 6 Please notify your system adminitrator
>     at org.apache.continuum.buildmanager.ParallelBuildsManager.buildProjects(ParallelBuildsManager.java:193)
>     at org.apache.maven.continuum.core.action.CreateBuildProjectTaskAction.execute(CreateBuildProjectTaskAction.java:123)
>     at org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:647)
>     ... 7 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message