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

Computing change log from snapshot using update file fails on slaves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Windows Server 2003 (both master and slave)

    Description

      When using a slave the ClearCase plugin fails if configured to use a snapshot view with update and "use the update .upt file for change log".

      The plugin is looking on the master for the .upt file rather than the slave's workarea.
      Each time the build was run, the update would complete and then I would receive a "Cannot find the path specified" Java error when the plugin attempted to read the .upt file.

      I tested out copying the .upt file to the master node in the same location as it was created on the slave node by the plugin while it was updating, and when the plugin attempted to create the change log it succeeded because it was able to find the file on the master (the file I copied manaully to verify this was the problem).

      Attachments

        Activity

          Also on MS Win7 & Linux slave. Possibly a duplicate of JENKINS-12911 ?

          northgorky Steve Davidson added a comment - Also on MS Win7 & Linux slave. Possibly a duplicate of JENKINS-12911 ?
          hu3b10q7 Csaba Gyorfi added a comment -

          I have the same problem on win2008.
          This issue prohibits setting up distributed build.

          hu3b10q7 Csaba Gyorfi added a comment - I have the same problem on win2008. This issue prohibits setting up distributed build.

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          src/main/java/hudson/plugins/clearcase/ClearTool.java
          src/main/java/hudson/plugins/clearcase/ClearToolExec.java
          src/main/java/hudson/plugins/clearcase/ClearToolLauncher.java
          src/main/java/hudson/plugins/clearcase/CleartoolUpdateResult.java
          src/main/java/hudson/plugins/clearcase/HudsonClearToolLauncher.java
          src/main/java/hudson/plugins/clearcase/action/BaseDynamicCheckoutAction.java
          src/main/java/hudson/plugins/clearcase/action/BaseSnapshotCheckoutAction.java
          src/main/java/hudson/plugins/clearcase/action/CheckoutAction.java
          src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java
          src/main/java/hudson/plugins/clearcase/base/BaseHistoryAction.java
          src/main/java/hudson/plugins/clearcase/history/AbstractHistoryAction.java
          src/main/java/hudson/plugins/clearcase/history/HistoryAction.java
          src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java
          src/test/java/hudson/plugins/clearcase/action/BaseSnapshotCheckoutActionTest.java
          src/test/java/hudson/plugins/clearcase/action/DynamicCheckoutActionTest.java
          src/test/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutActionTest.java
          http://jenkins-ci.org/commit/clearcase-plugin/a148d532d9d02a6a0f4976d724d82c9e38f69535
          Log:
          JENKINS-16122 Revamped parsing update file to support properly
          distributed builds.

          Compare: https://github.com/jenkinsci/clearcase-plugin/compare/1bef6fd15d36...a148d532d9d0

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java src/main/java/hudson/plugins/clearcase/ClearTool.java src/main/java/hudson/plugins/clearcase/ClearToolExec.java src/main/java/hudson/plugins/clearcase/ClearToolLauncher.java src/main/java/hudson/plugins/clearcase/CleartoolUpdateResult.java src/main/java/hudson/plugins/clearcase/HudsonClearToolLauncher.java src/main/java/hudson/plugins/clearcase/action/BaseDynamicCheckoutAction.java src/main/java/hudson/plugins/clearcase/action/BaseSnapshotCheckoutAction.java src/main/java/hudson/plugins/clearcase/action/CheckoutAction.java src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java src/main/java/hudson/plugins/clearcase/base/BaseHistoryAction.java src/main/java/hudson/plugins/clearcase/history/AbstractHistoryAction.java src/main/java/hudson/plugins/clearcase/history/HistoryAction.java src/test/java/hudson/plugins/clearcase/ClearToolExecTest.java src/test/java/hudson/plugins/clearcase/action/BaseSnapshotCheckoutActionTest.java src/test/java/hudson/plugins/clearcase/action/DynamicCheckoutActionTest.java src/test/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutActionTest.java http://jenkins-ci.org/commit/clearcase-plugin/a148d532d9d02a6a0f4976d724d82c9e38f69535 Log: JENKINS-16122 Revamped parsing update file to support properly distributed builds. Compare: https://github.com/jenkinsci/clearcase-plugin/compare/1bef6fd15d36...a148d532d9d0

          Fixed in 1.3.15

          vlatombe Vincent Latombe added a comment - Fixed in 1.3.15

          People

            vlatombe Vincent Latombe
            pixman20 pixman20
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: