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

If an incorrect load rule is specified at job creation, you can not successfully reconfigure and run job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      We had incorrectly specified a load rule when a job was created using base
      clearcase. When the job was run and the view created, clearcase complained that
      the path was not found in the load rule and errored out. We fixed the load
      rule, and when we tried to rerun the job, it would error out before it had
      chance to update the config spec.

      Started by user a466245
      Building remotely on saappl03dev
      /opt/applocal/hudson-qa/workspace/aat-tcServer-1.0/hudson_saappl03dev_aat-tcServer-1.0
      element * CHECKEDOUT
      element * /main/LATEST
      load /vob_sai/servers/aat_tcserver
      cleartool: Error: Unable to lookup "aat_tcserver" in
      "/vob_sai/servers@@/main/2": No such file or directory.
      cleartool: Error: Unable to access "/vob_sai/servers/aat_tcserver": No such file
      or directory.
      cleartool: Error: 1 config spec load rule problems encountered.
      FATAL: Base ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command line="update
      -force -log NUL hudson_saappl03dev_aat-tcServer-1.0", actual exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command
      line="update -force -log NUL hudson_saappl03dev_aat-tcServer-1.0", actual exit
      code=1
      at
      hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
      at hudson.plugins.clearcase.ClearToolSnapshot.update(ClearToolSnapshot.java:140)
      at
      hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:76)
      at
      hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:369)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:978)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:421)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:370)
      at hudson.model.Run.run(Run.java:1120)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

            abayer Andrew Bayer
            petehayes Peter Hayes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: