Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8408

Large number of jobs triggered on Hudson restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      Hi Tom

      I havent heard of any similar issue so it would be great if you could
      add it to the jira so it can be tracked.

      Are all builds triggered by a SCM change? You can tell by looking at
      one of the builds page, and if it says "triggered by SCM".
      Are the jobs built on the same machine?

      The build is started either because the workspace is invalid (or not
      present on the machine) or if there has been a commit during a period.
      Newer Hudson versions store the SCM polling log together with the
      build (if it was started by a SCm change), so hopefully we can get
      some info from that. To see the polling log for a certain build, go to
      the Build page, click on the "Started by a SCM change and you should
      see the full log. (similar to
      http://ramfelt.se/job/Mockito/528/pollingLog/?)

      If you dont have a link for the SCM change then you will have to
      manually watch the SCM polling log just after you reboot your server
      to see why the plugin triggers a new build.

      Regards
      //Erik
      =========================================================================================
      On Tue, Jan 4, 2011 at 13:57, Tom wrote:
      > Good morning,
      >
      > We have a large Hudson master/slave farm using both the TFS and base clear
      > case SCM plugins. We've been trying to figure out why each time we restart
      > Hudson (usually to install a plugin), Hudson triggers a lot of builds. Not
      > all, but a large number. This morning I restarted, and looking at the
      > list, realized all of the builds it's triggering on restart are TFS
      > based. Some blow away the workspace, some do not.

        Attachments

          Issue Links

            Activity

            tdiz tdiz created issue -
            b_dean Ben Dean made changes -
            Field Original Value New Value
            Component/s mercurial [ 15502 ]
            Component/s pollscm [ 17336 ]
            Environment Windows 2008 R2 build farm. 1 master, 7 slaves. Windows 2008 R2 build farm. 1 master, 7 slaves.

            reproduced on different environment:

            Jenkins Master OS: CentOS 6.4
            Jenkins Slave OSes: CentOS 6.4 and Windows Server 2008R2
            approx. 45-50 slaves

            Jenkins version: 1.528
            Mercurial plugin: 1.46
            Priority Major [ 3 ] Critical [ 2 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            kohsuke Kohsuke Kawaguchi made changes -
            Link This issue is duplicated by JENKINS-20227 [ JENKINS-20227 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 138518 ] JNJira + In-Review [ 188033 ]

              People

              Assignee:
              redsolo redsolo
              Reporter:
              tdiz tdiz
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: