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

lsactivity attempting to use URL for its directory

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: PC, OS: Linux

      project is UCM - and we are using an existing dynamic view.
      This project is ClearQuest integrated.

      started
      [workspace] $ cleartool startview hudson_ETS_FIRMSOFT6.0_int
      [hudson_ETS_FIRMSOFT6.0_int] $ cleartool chstream -generate
      stream:ETS_FIRMSOFT6.0_integration@/cc/ETS_GFIXCCM_PROJECT
      Changed stream "stream:ETS_FIRMSOFT6.0_integration@/cc/ETS_GFIXCCM_PROJECT".
      [workspace] $ cleartool setcs -tag hudson_ETS_FIRMSOFT6.0_int -stream
      [hudson_ETS_FIRMSOFT6.0_int] $ cleartool lshistory -r -since 5-mar.13:30:58 -
      fmt '\"%Nd\" \"%En\" \"%Vn\" \"%[activity]p\" \"%e\" \"%o\" \n%c\n' -branch
      brtype:ETS_FIRMSOFT6.0_integration -
      nco /view/hudson_ETS_FIRMSOFT6.0_int/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT
      "20090305.142932" "/view/hudson_ETS_FIRMSOFT6.0_int/cc/ETS_FIRMSOFT_SOURCE/FIRMS
      OFT/firmsoft-
      web/src/site/fml/faq.fml" "/main/ETS_FIRMSOFT6.0_integration/2" "CQPRD00205213"
      "create version" "checkin"

      [hudson_ETS_FIRMSOFT6.0_int] $ cleartool lsactivity -fmt '\"%[headline]p\" \"%
      [stream]p\" \"%u\" \n' CQPRD00205213
      FATAL: Cannot run program "cleartool" (in directory "http://qa1091c:8080/job/ci-
      fs6.0/ws/hudson_ETS_FIRMSOFT6.0_int") : java.io.IOException: error=2, No such
      file or directory
      java.io.IOException: Cannot run program "cleartool" (in
      directory "http://qa1091c:8080/job/ci-fs6.0/ws/hudson_ETS_FIRMSOFT6.0_int") :
      java.io.IOException: error=2, No such file or directory
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
      at hudson.Proc$LocalProc.<init>(Proc.java:132)
      at hudson.Proc$LocalProc.<init>(Proc.java:110)
      at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:351)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:334)
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run
      (HudsonClearToolLauncher.java:66)
      at hudson.plugins.clearcase.ClearToolExec.lsactivity
      (ClearToolExec.java:74)
      at hudson.plugins.clearcase.ucm.UcmChangeLogAction.callLsActivity
      (UcmChangeLogAction.java:157)
      at hudson.plugins.clearcase.ucm.UcmChangeLogAction.parseHistory
      (UcmChangeLogAction.java:119)
      at hudson.plugins.clearcase.ucm.UcmChangeLogAction.getChanges
      (UcmChangeLogAction.java:62)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout
      (AbstractClearCaseScm.java:251)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:801)
      at hudson.model.AbstractBuild$AbstractRunner.checkout
      (AbstractBuild.java:314)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      at hudson.model.Run.run(Run.java:896)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)
      Caused by: java.io.IOException: java.io.IOException: error=2, No such file or
      directory
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
      at java.lang.ProcessImpl.start(ProcessImpl.java:65)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
      ... 17 more

          [JENKINS-3237] lsactivity attempting to use URL for its directory

          rlyons_cme added a comment -

          I think this is directly related to it being a re-used dynamic view. the
          workspace is empty and since there is no population of the workspace through a
          snapshot view, it is attempting to perform an lsactivity in a non-existant
          folder.

          Where it should be performing this is
          at ../../../../../../../view/hudson_ETS_FIRMSOFT6.0_int
          or
          it should be using the stream's string to grab the PVOB...
          activity:<activity>@/cc/ETS_GFIXCCM_PROJECT
          that would also work.

          In reality, it would be much nicer if I didnt have to
          use ../../../../../../../<ad infinitum>/../ - and allow for my workspace to be
          my /view/<viewname> root. but I suppose thats another ticket entirely.

          rlyons_cme added a comment - I think this is directly related to it being a re-used dynamic view. the workspace is empty and since there is no population of the workspace through a snapshot view, it is attempting to perform an lsactivity in a non-existant folder. Where it should be performing this is at ../../../../../../../view/hudson_ETS_FIRMSOFT6.0_int or it should be using the stream's string to grab the PVOB... activity:<activity>@/cc/ETS_GFIXCCM_PROJECT that would also work. In reality, it would be much nicer if I didnt have to use ../../../../../../../<ad infinitum>/../ - and allow for my workspace to be my /view/<viewname> root. but I suppose thats another ticket entirely.

          rlyons_cme added a comment -

          Workaround for this issue was to create a symlink to /view/$viewname/cc/vobname
          from $ws/$viewname.

          Perhaps this can be part of the fix?

          rlyons_cme added a comment - Workaround for this issue was to create a symlink to /view/$viewname/cc/vobname from $ws/$viewname. Perhaps this can be part of the fix?

            sunfire sunfire
            rlyons_cme rlyons_cme
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: