Continuum
  1. Continuum
  2. CONTINUUM-1871

Continuum does not execute builds when last BUILDRESULT.END_TIME=0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      RHEL 5, Continuum 1.2 (SVN 691325), Java 1.6.0_03, MySQL 5.0.45, Maven 2.0.9

      Description

      After adding a set of projects to a Continuum 1.2 instance, the server stopped performing any builds on any projects. CPU usage shoots up to 100%, projects are queued up and are apparently started, but no build processes are invoked. Even the simplest pom-only job times out.

      Looking at the database I noticed that the last entry for the top-queued project in the BUILDRESULT table had an END_TIME of 0. When I changed that field to a current time and restarted the server Continuum started to perform builds again.

      I was able to duplicate the problem by setting the END_TIME of the last BUILDRESULT of a project to 0, starting the server, and waiting for that project to be queued. The problem was resolved again when I reset END_TIME to its original value.

      I've attached a thread dump as suggested on users@continuum. It seems to show that Continuum is in the SCM module's ChangeSet.toString(), which doesn't seem right, but perhaps it will help point to the root cause.

      1. thread-dump.txt
        53 kB
        Peter Janes
      2. thread-dump.txt
        58 kB
        Peter Janes

        Issue Links

          Activity

          Peter Janes created issue -
          Olivier Lamy (*$^¨%`£) made changes -
          Field Original Value New Value
          Fix Version/s 1.2.1 [ 14539 ]
          Peter Janes made changes -
          Attachment thread-dump.txt [ 36889 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Fix Version/s 1.2 [ 13779 ]
          Fix Version/s 1.2.1 [ 14539 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Olivier Lamy [ olamy ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Mark Thomas made changes -
          Workflow jira [ 12710524 ] Default workflow, editable Closed status [ 12740268 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12948477 ] Default workflow, editable Closed status [ 12985532 ]
          Brent N Atkinson made changes -
          Link This issue is related to CONTINUUM-2762 [ CONTINUUM-2762 ]

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Peter Janes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development