continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-2317) Unable to build some projects in build agent
Date Mon, 10 Aug 2009 06:15:00 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186520#action_186520
] 

Maria Odea Ching commented on CONTINUUM-2317:
---------------------------------------------

After doing some investigation, it seems this error occurs only for projects whose parent
is a SNAPSHOT version. We added all the wagon jars from Continuum master to the build agent's
WEB-INF/lib and the build proceeded. 

Encountered a problem though if the <scm> is not configured in the module but instead
it is configured at the parent..

{code}
2009-08-10 12:17:10,483 [pool-1-thread-1] ERROR org.apache.continuum.buildagent.build.execution.maven.m2.DefaultBuildAgentMavenBuilderHelper
 - Missing 'scm' element in the Centrepoint Selenium Test Suite POM.
2009-08-10 12:17:10,488 [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':
Centrepoint Selenium Test Suite

	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-10 12:17:10,928 [pool-1-thread-1] INFO  org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
 - Checking if project should build
2009-08-10 12:17:10,928 [pool-1-thread-1] INFO  org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor
 - Starting build of Centrepoint Selenium Test Suite
2009-08-10 12:17:11,026 [pool-1-thread-1] INFO  org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient
 - Return project currently building
2009-08-10 12:17:11,027 [pool-1-thread-1] INFO  org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor
 - Performing action update-project-from-agent-working-directory
2009-08-10 12:17:11,030 [pool-1-thread-1] INFO  org.apache.continuum.buildagent.action.UpdateProjectFromWorkingDirectoryAction
 - Updating project 'Centrepoint Selenium Test Suite' from checkout.
2009-08-10 12:17:11,842 [pool-1-thread-1] ERROR org.apache.continuum.buildagent.build.execution.maven.m2.DefaultBuildAgentMavenBuilderHelper
 - Missing 'scm' element in the Centrepoint Selenium Test Suite POM.
2009-08-10 12:17:11,871 [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:
Error while mapping metadata:Can't load the maven project. Verify that your scm url is correct
and remove/readd the project.
Centrepoint Selenium Test Suite

	at org.apache.continuum.buildagent.build.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromWorkingDirectory(MavenTwoBuildExecutor.java:250)
	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}

It looks like the POMs weren't merged?

> 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
>             Fix For: 1.3.4
>
>
> 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

        

Mime
View raw message