Continuum
  1. Continuum
  2. CONTINUUM-2317

Unable to build some projects in build agent

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3 (Beta)
    • Fix Version/s: 1.3.4 (Beta)
    • Component/s: Distributed Builds
    • Labels:
      None

      Description

      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.

      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
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Maria Catherine Tan
            Reporter:
            Maria Odea Ching
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development