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

Find changes on a branch not working correctly with CC multisite

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Linux (RHEL) , Jenkins ver. 1.411, ClearCase plugin 1.3.5

      When plug-in looking for changes on a branch with , -since time stamp option, time for time stamp is changing to last execution time.
      When CC multisite is used for that branch changes not detected because when they sync to the system tame stamp is preserved and it is older
      Then time stamp that in lshistory command.
      Plug-in should use time stamp from last successful build to find changes .

          [JENKINS-9703] Find changes on a branch not working correctly with CC multisite

          abelous created issue -

          VladDRussian added a comment -

          Would it also be a viable option to use the polling time from the last recommended baseline.

          VladDRussian added a comment - Would it also be a viable option to use the polling time from the last recommended baseline.

          Waldek M added a comment - - edited

          Same issue here. When changes aren't made on the same CC replica but arrive via replication, those changes never trigger the build.
          We could use a switch to change polling behavior - to either poll since last check, or since last build.

          Update:
          As advised by colleague, using "Multisite poll buffer" from Advanced options.

          Waldek M added a comment - - edited Same issue here. When changes aren't made on the same CC replica but arrive via replication, those changes never trigger the build. We could use a switch to change polling behavior - to either poll since last check, or since last build. Update: As advised by colleague, using "Multisite poll buffer" from Advanced options.

          Actually this can be worked around using existing option of multi-site poll buffer. Unfortunately, even if the polling is done since previous build, it still will not be reliable. Consider such scenario:

          • 9.00 AM - VOB sync is performed
          • 9.05 AM - a change is submitted in remote site
          • 9.10 AM - a build is done locally
          • 9.15 AM - VOB sync is performed bringing changes from remote replica from 9.05

          Now, even if the polling is run since last build (that is 9.10 AM), it will not include remote changes. I think that while multi-site poll buffer is a bit naive workaround, it works quite well until something smarter is invented.

          Krzysztof Malinowski added a comment - Actually this can be worked around using existing option of multi-site poll buffer. Unfortunately, even if the polling is done since previous build, it still will not be reliable. Consider such scenario: 9.00 AM - VOB sync is performed 9.05 AM - a change is submitted in remote site 9.10 AM - a build is done locally 9.15 AM - VOB sync is performed bringing changes from remote replica from 9.05 Now, even if the polling is run since last build (that is 9.10 AM), it will not include remote changes. I think that while multi-site poll buffer is a bit naive workaround, it works quite well until something smarter is invented.

          Waldek M added a comment -

          Waldek M added a comment - Submitted documentation patch. https://github.com/jenkinsci/clearcase-plugin/pull/32
          Waldek M made changes -
          Assignee Original: Vincent Latombe [ vlatombe ] New: Waldek M [ weakcamel ]
          Waldek M made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          The polling was changed to reflect multisite settings.

          Krzysztof Malinowski added a comment - The polling was changed to reflect multisite settings.
          Krzysztof Malinowski made changes -
          Link New: This issue is related to JENKINS-17882 [ JENKINS-17882 ]

          Code changed in jenkins
          User: Waldek Maleska
          Path:
          src/main/webapp/multiSitePollBuffer.html
          http://jenkins-ci.org/commit/clearcase-plugin/452ca27c92a596313976c19fecd22427fa90ae9d
          Log:
          Doc improvement for Multi-site poll buffer

          In response to:
          https://issues.jenkins-ci.org/browse/JENKINS-9703

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Waldek Maleska Path: src/main/webapp/multiSitePollBuffer.html http://jenkins-ci.org/commit/clearcase-plugin/452ca27c92a596313976c19fecd22427fa90ae9d Log: Doc improvement for Multi-site poll buffer In response to: https://issues.jenkins-ci.org/browse/JENKINS-9703

            weakcamel Waldek M
            abelous abelous
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: