You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2007/03/01 09:44:44 UTC

[jira] Created: (CONTINUUM-1194) Project is stuck in the "Build in Progress" state while the build is terminated

Project is stuck in the "Build in Progress" state while the build is terminated
-------------------------------------------------------------------------------

                 Key: CONTINUUM-1194
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
             Project: Continuum
          Issue Type: Bug
          Components: Core system
    Affects Versions: 1.1
            Reporter: Stephane Nicoll
         Attachments: screenshot.png

We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.

Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)

See screenshot.

-- 
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] Closed: (CONTINUUM-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed CONTINUUM-1194.
---------------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Fixed

Fixed by truncating the exception string

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Stephane Nicoll
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-2
>
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse McConnell updated CONTINUUM-1194:
---------------------------------------

    Fix Version/s: 1.1-alpha-2

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Stephane Nicoll
>             Fix For: 1.1-alpha-2
>
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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] Closed: (CONTINUUM-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed CONTINUUM-1194.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1-beta-2)
                   1.1-beta-1

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Stephane Nicoll
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-1
>
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88892 ] 

Stephane Nicoll commented on CONTINUUM-1194:
--------------------------------------------

Ok. The problem is that the exception related to the test failure is very long and is not truncated by Continuum. So when the build status is updated, we got a failure like this:

{noformat}
22646112 [Thread-6] ERROR org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project  - Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: javax.jdo.JDOFatalUserException: Attempt to store value "org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'execute-builder'
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:432)
        at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:145)
        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: javax.jdo.JDOFatalUserException: Attempt to store value 

[BLA BLA BLA VERY LONG]
" in column "`EXCEPTIONSTRING`" that has maximum length of 8192. Please correct your data!
        at org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping.java:214)
        at org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.java:203)
        at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:122)
        at org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2737)
        at org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideField(TestCaseFailure.java)
        at org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideFields(TestCaseFailure.java)
        [...]
{noformat}

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1
>            Reporter: Stephane Nicoll
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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] Reopened: (CONTINUUM-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse reopened CONTINUUM-1194:
-----------------------------------------


> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Stephane Nicoll
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-1
>
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll updated CONTINUUM-1194:
---------------------------------------

    Summary: Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars  (was: Project is stuck in the "Build in Progress" state while the build is terminated)

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1
>            Reporter: Stephane Nicoll
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated CONTINUUM-1194:
----------------------------------------

    Fix Version/s:     (was: 1.1-beta-1)
                   1.1-beta-2

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1-alpha-1
>            Reporter: Stephane Nicoll
>             Fix For: 1.1-beta-2
>
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

-- 
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-1194) Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89031 ] 

Stephane Nicoll commented on CONTINUUM-1194:
--------------------------------------------

The maximum length is actually documented properly but the model generated by modello does not reflect that. We can either update this or check every time the setException method is called. The second option sounds a bit error prone to me but truncating should be an option (or modello should provide some sort of hook).

Thoughts?

> Project is stuck in the "Build in Progress" state if the associated exception has more than 8192 chars
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1194
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1194
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.1
>            Reporter: Stephane Nicoll
>         Attachments: screenshot.png
>
>
> We have added unit tests to one of our project and some of them are crashing from time to time due to a race condition with the database connections.
> Since then, the project is always in the "Build In progress" state even if the build is actually terminated in the log (Build failure because one test failed). The project never leaves this state, if we consult the builds summary we have a couple of builds in the Build In progress state (?!)
> See screenshot.

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