[jira] Created: (CONTINUUM-1854) Error executing action 'update-project-from-working-directory'

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (CONTINUUM-1854) Error executing action 'update-project-from-working-directory'

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Error executing action 'update-project-from-working-directory'
--------------------------------------------------------------

                 Key: CONTINUUM-1854
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1854
             Project: Continuum
          Issue Type: Bug
          Components: Core system, SCM
    Affects Versions: 1.1
         Environment: Linux
            Reporter: Raffaele Verre
            Priority: Critical


Everytime a project is building, after some minutes while the project in continuum is in building state, in continuum.log we have a situation like that:

3276085 [pool-1-thread-1] ERROR org.apache.maven.continuum.buildcontroller.BuildController:default  - Error executing action update-project-from-working-directory '
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory'
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:434)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:139)
        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: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.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata:add.project.artifact.not.found.error
add.project.unknown.error

        at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:157)
        at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:75)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408)
        ... 8 more


After this error, start the building (in continuum we can see the log) and all work


3276086 [pool-1-thread-1] INFO  org.apache.maven.continuum.buildcontroller.BuildController:default  - Performing action execute-builder
3276205 [pool-1-thread-1] WARN  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  - Could not find the executable 'mvn' in this path:
3276579 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Executing: /bin/sh -c "cd /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180 && mvn --batch-mode --non-recursive -DENV=sviluppo -Dcontinuum.project.lastBuild.state=3 -Dcontinuum.project.nextBuild.number=2 -Dcontinuum.project.group.name=Piattaforme -Dcontinuum.project.lastBuild.number=1 scm:bootstrap"
3276581 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Working directory: /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180
....


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

       

[jira] Commented: (CONTINUUM-1854) Error executing action 'update-project-from-working-directory'

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


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

Wendy Smoak commented on CONTINUUM-1854:
----------------------------------------

Are you still experiencing this problem?  If so, we'll need a sample project in order to reproduce it.

It looks like there may be a problem with the project's poms:
Error while mapping metadata:add.project.artifact.not.found.error add.project.unknown.error

> Error executing action 'update-project-from-working-directory'
> --------------------------------------------------------------
>
>                 Key: CONTINUUM-1854
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1854
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, SCM
>    Affects Versions: 1.1
>         Environment: Linux
>            Reporter: Raffaele Verre
>            Priority: Critical
>
> Everytime a project is building, after some minutes while the project in continuum is in building state, in continuum.log we have a situation like that:
> 3276085 [pool-1-thread-1] ERROR org.apache.maven.continuum.buildcontroller.BuildController:default  - Error executing action update-project-from-working-directory '
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory'
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:434)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:139)
>         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: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.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata:add.project.artifact.not.found.error
> add.project.unknown.error
>         at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:157)
>         at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:75)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408)
>         ... 8 more
> After this error, start the building (in continuum we can see the log) and all work
> 3276086 [pool-1-thread-1] INFO  org.apache.maven.continuum.buildcontroller.BuildController:default  - Performing action execute-builder
> 3276205 [pool-1-thread-1] WARN  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  - Could not find the executable 'mvn' in this path:
> 3276579 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Executing: /bin/sh -c "cd /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180 && mvn --batch-mode --non-recursive -DENV=sviluppo -Dcontinuum.project.lastBuild.state=3 -Dcontinuum.project.nextBuild.number=2 -Dcontinuum.project.group.name=Piattaforme -Dcontinuum.project.lastBuild.number=1 scm:bootstrap"
> 3276581 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Working directory: /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180
> ....

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

       

[jira] Updated: (CONTINUUM-1854) Error executing action 'update-project-from-working-directory'

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


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

Brett Porter updated CONTINUUM-1854:
------------------------------------

    Fix Version/s: 1.x

I'd need to confirm, but I believe this can be reproduced by adding a project with no parent, then changing it to have a parent that cannot be found

> Error executing action 'update-project-from-working-directory'
> --------------------------------------------------------------
>
>                 Key: CONTINUUM-1854
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1854
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, SCM
>    Affects Versions: 1.1
>         Environment: Linux
>            Reporter: Raffaele Verre
>            Priority: Critical
>             Fix For: 1.x
>
>
> Everytime a project is building, after some minutes while the project in continuum is in building state, in continuum.log we have a situation like that:
> 3276085 [pool-1-thread-1] ERROR org.apache.maven.continuum.buildcontroller.BuildController:default  - Error executing action update-project-from-working-directory '
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory'
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:434)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:139)
>         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: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.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata:add.project.artifact.not.found.error
> add.project.unknown.error
>         at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:157)
>         at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:75)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408)
>         ... 8 more
> After this error, start the building (in continuum we can see the log) and all work
> 3276086 [pool-1-thread-1] INFO  org.apache.maven.continuum.buildcontroller.BuildController:default  - Performing action execute-builder
> 3276205 [pool-1-thread-1] WARN  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  - Could not find the executable 'mvn' in this path:
> 3276579 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Executing: /bin/sh -c "cd /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180 && mvn --batch-mode --non-recursive -DENV=sviluppo -Dcontinuum.project.lastBuild.state=3 -Dcontinuum.project.nextBuild.number=2 -Dcontinuum.project.group.name=Piattaforme -Dcontinuum.project.lastBuild.number=1 scm:bootstrap"
> 3276581 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Working directory: /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180
> ....

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

       

[jira] Commented: (CONTINUUM-1854) Error executing action 'update-project-from-working-directory'

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


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

Zac Thompson commented on CONTINUUM-1854:
-----------------------------------------

I've seen this issue a few times with my continuum 1.1 installation and it has always been due to a pom error (most recently was a duplicated section).

> Error executing action 'update-project-from-working-directory'
> --------------------------------------------------------------
>
>                 Key: CONTINUUM-1854
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1854
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, SCM
>    Affects Versions: 1.1
>         Environment: Linux
>            Reporter: Raffaele Verre
>            Priority: Critical
>             Fix For: Backlog
>
>
> Everytime a project is building, after some minutes while the project in continuum is in building state, in continuum.log we have a situation like that:
> 3276085 [pool-1-thread-1] ERROR org.apache.maven.continuum.buildcontroller.BuildController:default  - Error executing action update-project-from-working-directory '
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory'
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:434)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:139)
>         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: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.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata:add.project.artifact.not.found.error
> add.project.unknown.error
>         at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:157)
>         at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:75)
>         at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:408)
>         ... 8 more
> After this error, start the building (in continuum we can see the log) and all work
> 3276086 [pool-1-thread-1] INFO  org.apache.maven.continuum.buildcontroller.BuildController:default  - Performing action execute-builder
> 3276205 [pool-1-thread-1] WARN  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  - Could not find the executable 'mvn' in this path:
> 3276579 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Executing: /bin/sh -c "cd /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180 && mvn --batch-mode --non-recursive -DENV=sviluppo -Dcontinuum.project.lastBuild.state=3 -Dcontinuum.project.nextBuild.number=2 -Dcontinuum.project.group.name=Piattaforme -Dcontinuum.project.lastBuild.number=1 scm:bootstrap"
> 3276581 [pool-1-thread-1] INFO  org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  - Working directory: /home/decanter/SCM/apache-tomcat-6.0.16/webapps/continuum-ci/WEB-INF/working-directory/180
> ....

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