[ 
http://jira.codehaus.org/browse/CONTINUUM-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Catherine Tan closed CONTINUUM-2317.
------------------------------------------

    Resolution: Fixed

Closing since the original issue is fixed.

> Unable to build some projects in build agent
> --------------------------------------------
>
>                 Key: CONTINUUM-2317
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2317
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>    Affects Versions: 1.3.3
>            Reporter: Maria Odea Ching
>            Assignee: Maria Catherine Tan
>             Fix For: 1.3.4
>
>         Attachments: CONTINUUM-2317-test-project.zip
>
>
> A build agent is installed and running on the same machine where the master 
> is running. In my master Continuum server, I have a multi-module project in 
> one project group (let's name this Project Group A). It has a selenium test 
> module that is in a different profile which I added it in a separate group 
> (let's call this Project Group B) in the master Continuum server. I 
> configured both groups to use a specific build environment where the build 
> agent is attached. Project Group A builds successfully on the build agent, 
> but Project Group B does not. 
> Below is the error that I saw from the build agent's logs when building 
> Project Group B. 
> I also noticed that the pom.xml keeps being deleted causing the second error 
> in the log snippet below. I manually updated the working directory to restore 
> the missing pom.xml, but it got deleted again when I tried to build the group.
> \\
> {code}
> 2009-08-05 14:05:32,304 [pool-1-thread-1] ERROR 
> org.apache.continuum.buildagent.build.execution.maven.m2.DefaultBuildAgentMavenBuilderHelper
>   - Cannot build maven project from 
> /home/deng/test/continuum/continuum-build-agent/working-directory/57/pom.xml 
> (No bean named 'wagon#http' is defined).
> 2009-08-05 14:05:32,304 [pool-1-thread-1] ERROR 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor  
> - Error getting maven project
> org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutorException:
>  Unable to read the Maven project descriptor 
> '/home/deng/test/continuum/continuum-build-agent/working-directory/57/pom.xml':
>  No bean named 'wagon#http' is defined
>       at 
> org.apache.continuum.buildagent.build.execution.maven.m2.MavenTwoBuildExecutor.getMavenProject(MavenTwoBuildExecutor.java:275)
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.getMavenProject(BuildProjectTaskExecutor.java:515)
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.shouldBuild(BuildProjectTaskExecutor.java:405)
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:117)
>       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.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:595)
> 2009-08-05 14:05:32,491 [pool-1-thread-1] INFO  
> org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
>   - Checking if project should build
> 2009-08-05 14:05:32,492 [pool-1-thread-1] INFO  
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor  
> - Starting build of Centrepoint Selenium Test Suite
> 2009-08-05 14:05:32,506 [pool-1-thread-1] INFO  
> org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
>   - Return project currently building
> 2009-08-05 14:05:32,506 [pool-1-thread-1] INFO  
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor  
> - Performing action update-project-from-agent-working-directory
> 2009-08-05 14:05:32,506 [pool-1-thread-1] INFO  
> org.apache.continuum.buildagent.action.UpdateProjectFromWorkingDirectoryAction
>   - Updating project 'Centrepoint Selenium Test Suite' from checkout.
> 2009-08-05 14:05:32,508 [pool-1-thread-1] ERROR 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor  
> - Error executing action update-project-from-agent-working-directory '
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error 
> executing action 'update-project-from-agent-working-directory'
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.performAction(BuildProjectTaskExecutor.java:283)
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:129)
>       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.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:595)
> Caused by: 
> org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutorException:
>  Could not find Maven project descriptor.
>       at 
> org.apache.continuum.buildagent.build.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromWorkingDirectory(MavenTwoBuildExecutor.java:241)
>       at 
> org.apache.continuum.buildagent.action.UpdateProjectFromWorkingDirectoryAction.execute(UpdateProjectFromWorkingDirectoryAction.java:49)
>       at 
> org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.performAction(BuildProjectTaskExecutor.java:261)
>       ... 7 more
> {code}

-- 
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

        

Reply via email to