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

SCM Sync Configuration plugin conflicts with Parameterized Trigger plugin. (stuck on waiting for the completion of OtherBuild)

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • OS: Windows Server 2008 R2
      Jenkins: 1.461, 1.470, 1.473, 1.475
      Jenkins Parameterized Trigger plugin: 2.15
      SCM Sync Configuration Plugin: 0.0.5

      Very simple builds where Build A triggers build B and waits for completion results in the following output:

      Started by user anonymous
      Building in workspace C:\JW\A
      Waiting for the completion of B
      

      And even after B has completed, A never finishes. Configuration files for builds A and B are attached.

      I tested this in all the versions of Jenkins mentioned in the Environment section above and it was present in all of them.

      The problem seems to be caused by the SCM Sync Configuration Plugin. I tested it with a fresh install of Jenkins 1.473 and only the two plugins for SCM Sync and Parameterized Trigger enabled and the bug was present. Disabling SCM Sync caused it to go away.

          [JENKINS-14329] SCM Sync Configuration plugin conflicts with Parameterized Trigger plugin. (stuck on waiting for the completion of OtherBuild)

          Ben Dean added a comment -

          fixing hilarious typo

          Ben Dean added a comment - fixing hilarious typo

          I have Jenkins 1.461, Parametrized Trigger Plugin 2.13, and SCM Sync 0.0.4. I Do not experience this issue.

          In your A config I see the following line.
          <triggerWithNoParameters>false</triggerWithNoParameters>

          Looks like you should supply some parameters, but you actually don't. Don't know if that makes a difference.

          peter_schuetze added a comment - I have Jenkins 1.461, Parametrized Trigger Plugin 2.13, and SCM Sync 0.0.4. I Do not experience this issue. In your A config I see the following line. <triggerWithNoParameters>false</triggerWithNoParameters> Looks like you should supply some parameters, but you actually don't. Don't know if that makes a difference.

          Ben Dean added a comment -

          The test I did was with SCM Sync version 0.0.5, not 0.0.4, I don't know if this was a bug in 0.0.4

          As far as the xml element triggerWithNoParameters being false .. I don't know why that's like that. The builds I made are supposed to be the simplest possible case. There is a child build (B) that has no parameters and no build steps, just a blank free-style project. Then there's the parent build (A) that is a free-style project with one build step, to trigger the build of another project and block until it's complete. The xml files I attached are just from doing that. There's no parameters to pass and I don't tell it to pass anything, I don't know why the xml looks the way it does.

          With the SCM Sync 0.0.5 enabled the build never finishes (triggers child(B) and B completes, but A just waits there). With the SCM Sync plugin unchecked, build A triggers B as a build step, B completes and then A completes, both builds successful.

          Ben Dean added a comment - The test I did was with SCM Sync version 0.0.5, not 0.0.4, I don't know if this was a bug in 0.0.4 As far as the xml element triggerWithNoParameters being false .. I don't know why that's like that. The builds I made are supposed to be the simplest possible case. There is a child build (B) that has no parameters and no build steps, just a blank free-style project. Then there's the parent build (A) that is a free-style project with one build step, to trigger the build of another project and block until it's complete. The xml files I attached are just from doing that. There's no parameters to pass and I don't tell it to pass anything, I don't know why the xml looks the way it does. With the SCM Sync 0.0.5 enabled the build never finishes (triggers child(B) and B completes, but A just waits there). With the SCM Sync plugin unchecked, build A triggers B as a build step, B completes and then A completes, both builds successful.

          At least for now I will not upgrade to SCM Sync 0.0.5.

          peter_schuetze added a comment - At least for now I will not upgrade to SCM Sync 0.0.5.

          Ben Dean added a comment -

          Updated environment to include Jenkins version 1.475, I tested and the bug still exists there (same versions of the two plugins).

          Ben Dean added a comment - Updated environment to include Jenkins version 1.475, I tested and the bug still exists there (same versions of the two plugins).

          cjo9900 added a comment -

          please retest with latest versions of plugins paramaritrized trigger 2.17 and SCM Sync version 0.0.7

          cjo9900 added a comment - please retest with latest versions of plugins paramaritrized trigger 2.17 and SCM Sync version 0.0.7

          Pete W added a comment -

          I still see this issue. However my Jenkins log has errors in that look the same as issues 13593 / 18041 (https://issues.jenkins-ci.org/browse/JENKINS-13593). These other issues may be causing this one...somehow

          Pete W added a comment - I still see this issue. However my Jenkins log has errors in that look the same as issues 13593 / 18041 ( https://issues.jenkins-ci.org/browse/JENKINS-13593 ). These other issues may be causing this one...somehow

          Pete W added a comment -

          When this issue occurs my Jenkins log looks similar to the ones described in 13593 and 18041. Fixing those issues may fix this one...

          Pete W added a comment - When this issue occurs my Jenkins log looks similar to the ones described in 13593 and 18041. Fixing those issues may fix this one...

          Leo Gallucci added a comment - - edited

          I can recreate when using https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin but without having installed the Sync Configuration plugin

          Leo Gallucci added a comment - - edited I can recreate when using https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin but without having installed the Sync Configuration plugin

          Cannot reproduce in 0.0.9

          Craig Rodrigues added a comment - Cannot reproduce in 0.0.9

            huybrechts huybrechts
            b_dean Ben Dean
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: