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

Plugin does not currently work for Clearcase Base

      When attempting to use Base Clearcase on a Linux Slave to access a snapshot, the parameters "stgloc -auto" are added to the cleartool command line. This is ONLY appropriate for Clearcase UCM, NOT for Base Clearcase. By always adding these parameters, Base Clearcase will error/fail on View Creation. Note that -vws is also not appropriate in this scenario.

          [JENKINS-16234] Plugin does not currently work for Clearcase Base

          Steve Davidson added a comment - - edited

          So far as I can tell, we don't have colocated views – which is what's probably messing up the default code in the plugin.

          Steve Davidson added a comment - - edited So far as I can tell, we don't have colocated views – which is what's probably messing up the default code in the plugin.

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          src/main/java/hudson/plugins/clearcase/ClearCaseInstallation.java
          src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          src/main/java/hudson/plugins/clearcase/ClearCaseUcmSCM.java
          src/main/java/hudson/plugins/clearcase/ClearToolExec.java
          src/main/java/hudson/plugins/clearcase/MkViewParameters.java
          src/main/java/hudson/plugins/clearcase/PluginImpl.java
          src/main/java/hudson/plugins/clearcase/viewstorage/DefaultViewStorage.java
          src/main/java/hudson/plugins/clearcase/viewstorage/ServerViewStorage.java
          src/main/java/hudson/plugins/clearcase/viewstorage/SpecificViewStorage.java
          src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorage.java
          src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorageDescriptor.java
          src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorageFactory.java
          src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/help-overrideViewStorage.html
          src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/help-viewStorage.html
          src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/overrideViewStorage.jelly
          src/main/resources/hudson/plugins/clearcase/ClearCaseInstallation/global.jelly
          src/main/resources/hudson/plugins/clearcase/ClearCaseInstallation/help-defaultViewStorage.html
          src/main/resources/hudson/plugins/clearcase/ClearCaseSCM/config.jelly
          src/main/resources/hudson/plugins/clearcase/ClearCaseUcmSCM/config.jelly
          src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/config.jelly
          src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/help-assignedLabelString.html
          src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/help-server.html
          src/main/resources/hudson/plugins/clearcase/viewstorage/SpecificViewStorage/config.jelly
          src/main/resources/hudson/plugins/clearcase/viewstorage/ViewStorage/config.jelly
          src/test/java/hudson/plugins/clearcase/ClearCaseSCMDummy.java
          src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java
          src/test/java/hudson/plugins/clearcase/viewstorage/DefaultViewStorageTest.java
          src/test/java/hudson/plugins/clearcase/viewstorage/ServerViewStorageTest.java
          src/test/java/hudson/plugins/clearcase/viewstorage/SpecificViewStorageTest.java
          http://jenkins-ci.org/commit/clearcase-plugin/2c5413b2782250aaa2a56db254a7d7d5998fd1ec
          Log:
          Merge pull request #19 from jenkinsci/JENKINS-16234

          [Jenkins 16234] Support no argument for View Location in mkview

          Compare: https://github.com/jenkinsci/clearcase-plugin/compare/7a9db8216496...2c5413b27822

          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/ClearCaseInstallation.java src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java src/main/java/hudson/plugins/clearcase/ClearCaseUcmSCM.java src/main/java/hudson/plugins/clearcase/ClearToolExec.java src/main/java/hudson/plugins/clearcase/MkViewParameters.java src/main/java/hudson/plugins/clearcase/PluginImpl.java src/main/java/hudson/plugins/clearcase/viewstorage/DefaultViewStorage.java src/main/java/hudson/plugins/clearcase/viewstorage/ServerViewStorage.java src/main/java/hudson/plugins/clearcase/viewstorage/SpecificViewStorage.java src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorage.java src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorageDescriptor.java src/main/java/hudson/plugins/clearcase/viewstorage/ViewStorageFactory.java src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/help-overrideViewStorage.html src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/help-viewStorage.html src/main/resources/hudson/plugins/clearcase/AbstractClearcaseScm/overrideViewStorage.jelly src/main/resources/hudson/plugins/clearcase/ClearCaseInstallation/global.jelly src/main/resources/hudson/plugins/clearcase/ClearCaseInstallation/help-defaultViewStorage.html src/main/resources/hudson/plugins/clearcase/ClearCaseSCM/config.jelly src/main/resources/hudson/plugins/clearcase/ClearCaseUcmSCM/config.jelly src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/config.jelly src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/help-assignedLabelString.html src/main/resources/hudson/plugins/clearcase/viewstorage/ServerViewStorage/help-server.html src/main/resources/hudson/plugins/clearcase/viewstorage/SpecificViewStorage/config.jelly src/main/resources/hudson/plugins/clearcase/viewstorage/ViewStorage/config.jelly src/test/java/hudson/plugins/clearcase/ClearCaseSCMDummy.java src/test/java/hudson/plugins/clearcase/ClearCaseSCMTest.java src/test/java/hudson/plugins/clearcase/viewstorage/DefaultViewStorageTest.java src/test/java/hudson/plugins/clearcase/viewstorage/ServerViewStorageTest.java src/test/java/hudson/plugins/clearcase/viewstorage/SpecificViewStorageTest.java http://jenkins-ci.org/commit/clearcase-plugin/2c5413b2782250aaa2a56db254a7d7d5998fd1ec Log: Merge pull request #19 from jenkinsci/ JENKINS-16234 [Jenkins 16234] Support no argument for View Location in mkview Compare: https://github.com/jenkinsci/clearcase-plugin/compare/7a9db8216496...2c5413b27822

          We need to get rid of that "stgloc auto". As of the last pull, this is still an issue. Job Output;
          Started by user Stephen Davidson
          Building remotely on DevBuild in workspace /export/home/jenkins.dev/workspace/DemoWestBuild_JanRVL
          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s
          [INFO] computeChangeLogBeforeCheckout = false
          [INFO] computeChangeLogAfterCheckout = true
          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL
          cleartool: Error: No matching entries found for view tag "DevJenkins_DevBuild_DemoWestBuild_JanRVL".
          FATAL: Base ClearCase failed. exit code=1
          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL -stgloc -auto DevJenkins_DevBuild_DemoWestBuild_JanRVL
          cleartool: Error: No available Server Storage Location entries.
          FATAL: Base ClearCase failed. exit code=1
          java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL <b>-stgloc -auto</b> DevJenkins_DevBuild_DemoWestBuild_JanRVL", actual exit code=1
          at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:121)
          at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:657)
          at hudson.plugins.clearcase.action.SnapshotCheckoutAction.cleanAndCreateViewIfNeeded(SnapshotCheckoutAction.java:163)
          at hudson.plugins.clearcase.action.BaseSnapshotCheckoutAction.checkout(BaseSnapshotCheckoutAction.java:53)
          at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:667)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1325)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
          at hudson.model.Run.execute(Run.java:1543)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
          Sending e-mails to: stephen.davidson@one.verizon.com

          Finished: FAILURE

          The appropriate command line here is something along the lines of:
          mkview -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL -snapshot DevJenkins_DevBuild_DemoWestBuild_JanRVL
          Btw, this is approximately equivalent to the IBM documented command line of;
          mkview -tag dev -snapshot ~bert/my_views

          Suggestions as to how to get the plugin to generate this command line please?
          -Steve

          Steve Davidson added a comment - We need to get rid of that "stgloc auto". As of the last pull, this is still an issue. Job Output; Started by user Stephen Davidson Building remotely on DevBuild in workspace /export/home/jenkins.dev/workspace/DemoWestBuild_JanRVL [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s [INFO] computeChangeLogBeforeCheckout = false [INFO] computeChangeLogAfterCheckout = true [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL cleartool: Error: No matching entries found for view tag "DevJenkins_DevBuild_DemoWestBuild_JanRVL". FATAL: Base ClearCase failed. exit code=1 [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL -stgloc -auto DevJenkins_DevBuild_DemoWestBuild_JanRVL cleartool: Error: No available Server Storage Location entries. FATAL: Base ClearCase failed. exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL <b>-stgloc -auto</b> DevJenkins_DevBuild_DemoWestBuild_JanRVL", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:121) at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:657) at hudson.plugins.clearcase.action.SnapshotCheckoutAction.cleanAndCreateViewIfNeeded(SnapshotCheckoutAction.java:163) at hudson.plugins.clearcase.action.BaseSnapshotCheckoutAction.checkout(BaseSnapshotCheckoutAction.java:53) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:667) at hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Sending e-mails to: stephen.davidson@one.verizon.com Finished: FAILURE The appropriate command line here is something along the lines of: mkview -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL -snapshot DevJenkins_DevBuild_DemoWestBuild_JanRVL Btw, this is approximately equivalent to the IBM documented command line of; mkview -tag dev -snapshot ~bert/my_views Suggestions as to how to get the plugin to generate this command line please? -Steve

          Hello Steve,
          The new version introduces 'Default' as a new view storage strategy for jobs (under the advanced section in the job configuration>clearcase section). Try with that.

          Vincent Latombe added a comment - Hello Steve, The new version introduces 'Default' as a new view storage strategy for jobs (under the advanced section in the job configuration>clearcase section). Try with that.

          Ok, checkouts are working!
          Custom build.xml locations are now broken???? This is only for the system that Build 53 of this plugin – the other Jenkins test & prod systems we have are not having this issue (in fact, I am using settings & and a job from one of them for this testing). In this case, the build.xml file is in the directory "build_files", and the "Build File" setting in the "Invoke Ant" has been modified to reflect this. And is using the same settings as is working on other targets. Console output is as follows;
          Started by user Stephen Davidson
          Building remotely on DevBuild in workspace /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL

          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s

          DevJenkins_DevBuild_DemoWestBuild_JanRVL
          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL
          DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg
          [INFO] computeChangeLogBeforeCheckout = true
          [INFO] computeChangeLogAfterCheckout = false
          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool pwv -root

          /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL
          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL
          DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg

          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lshistory -all -since 18-jan-13.18:44:13utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:APB_MR09_JAN_RVL -nco vob/apb
          "20130118.124429" "........" "/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb/build_files/build.xml" "/main/APB_MR09_JAN_RVL/3" "create version" "checkin"
          Added deploy for built application files.
          Added aggregate target for deploying to a running WL instance.
          Added target to stop/start Admin Server.

          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL

          DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg
          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s
          DevJenkins_DevBuild_DemoWestBuild_JanRVL
          Removing view because 'Use Update' isn't checked.
          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool rmview -force DevJenkins_DevBuild_DemoWestBuild_JanRVL

          [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL DevJenkins_DevBuild_DemoWestBuild_JanRVL

          Created view.
          Host-local path: eamrsd3:/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg
          Global path: /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg
          It has the following rights:
          User : ....... : rwx
          Group: staff : r-x
          Other: : r-x
          Created snapshot view directory "DevJenkins_DevBuild_DemoWestBuild_JanRVL".

          Running cleartool setcs, this operation may take a while
          [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool setcs /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/configspec3421279836326354639.txt

          [INFO] updt file name: '/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/update.2013-01-18T12:56:08-06:00.updt'

          [build_files] $ ant -file build.xml -DAPB_BUILD_HOME=/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb all
          FATAL: command execution failed.Maybe you need to configure the job to choose one of your Ant installations?
          java.io.IOException: Cannot run program "ant" (in directory "/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb/build_files"): error=2, No such file or directory
          at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
          at hudson.Proc$LocalProc.<init>(Proc.java:244)
          at hudson.Proc$LocalProc.<init>(Proc.java:216)
          at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
          at hudson.Launcher$ProcStarter.start(Launcher.java:353)
          at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:988)
          at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:955)
          at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:326)
          at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: java.io.IOException: error=2, No such file or directory
          at java.lang.UNIXProcess.forkAndExec(Native Method)
          at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
          at java.lang.ProcessImpl.start(ProcessImpl.java:65)
          at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
          ... 15 more
          Build step 'Invoke Ant' marked build as failure

          Sending e-mails to: stephen.davidson@one.verizon.com

          Finished: FAILURE

          Steve Davidson added a comment - Ok, checkouts are working! Custom build.xml locations are now broken???? This is only for the system that Build 53 of this plugin – the other Jenkins test & prod systems we have are not having this issue (in fact, I am using settings & and a job from one of them for this testing). In this case, the build.xml file is in the directory "build_files", and the "Build File" setting in the "Invoke Ant" has been modified to reflect this. And is using the same settings as is working on other targets. Console output is as follows; Started by user Stephen Davidson Building remotely on DevBuild in workspace /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s DevJenkins_DevBuild_DemoWestBuild_JanRVL [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg [INFO] computeChangeLogBeforeCheckout = true [INFO] computeChangeLogAfterCheckout = false [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool pwv -root /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lshistory -all -since 18-jan-13.18:44:13utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:APB_MR09_JAN_RVL -nco vob/apb "20130118.124429" "........" "/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb/build_files/build.xml" "/main/APB_MR09_JAN_RVL/3" "create version" "checkin" Added deploy for built application files. Added aggregate target for deploying to a running WL instance. Added target to stop/start Admin Server. [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview DevJenkins_DevBuild_DemoWestBuild_JanRVL DevJenkins_DevBuild_DemoWestBuild_JanRVL /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool lsview -cview -s DevJenkins_DevBuild_DemoWestBuild_JanRVL Removing view because 'Use Update' isn't checked. [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool rmview -force DevJenkins_DevBuild_DemoWestBuild_JanRVL [DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool mkview -snapshot -tag DevJenkins_DevBuild_DemoWestBuild_JanRVL DevJenkins_DevBuild_DemoWestBuild_JanRVL Created view. Host-local path: eamrsd3:/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg Global path: /net/eamrsd3/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/.view.stg It has the following rights: User : ....... : rwx Group: staff : r-x Other: : r-x Created snapshot view directory "DevJenkins_DevBuild_DemoWestBuild_JanRVL". Running cleartool setcs, this operation may take a while [DevJenkins_DevBuild_DemoWestBuild_JanRVL] $ /usr/atria/bin/cleartool setcs /export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/configspec3421279836326354639.txt [INFO] updt file name: '/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/update.2013-01-18T12:56:08-06:00.updt' [build_files] $ ant -file build.xml -DAPB_BUILD_HOME=/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb all FATAL: command execution failed.Maybe you need to configure the job to choose one of your Ant installations? java.io.IOException: Cannot run program "ant" (in directory "/export/home/jenkins.steve/workspace/DemoWestBuild_JanRVL/DevJenkins_DevBuild_DemoWestBuild_JanRVL/vob/apb/build_files"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:763) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:988) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:955) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 15 more Build step 'Invoke Ant' marked build as failure Sending e-mails to: stephen.davidson@one.verizon.com Finished: FAILURE

          Forgot to mention, I cleaned the above output of some internal data (if you see a field with an odd value). I forgot to mention that you needed to take note of the "-f build.xml" in the command line, even though.... error=2???
          Oh dear, that's the "Ant Not Found" scenario.
          Doing some digging.....

          Steve Davidson added a comment - Forgot to mention, I cleaned the above output of some internal data (if you see a field with an odd value). I forgot to mention that you needed to take note of the "-f build.xml" in the command line, even though.... error=2??? Oh dear, that's the "Ant Not Found" scenario. Doing some digging.....

          Misconfigured Slave Controller in test master. Confirmed that this patch fixes issue – THANKS!
          I will rebase and document usage.

          Steve Davidson added a comment - Misconfigured Slave Controller in test master. Confirmed that this patch fixes issue – THANKS! I will rebase and document usage.

          Forgot to add, I should have documentation uploaded with a Pull request by Monday AM.

          Steve Davidson added a comment - Forgot to add, I should have documentation uploaded with a Pull request by Monday AM.

          Fixed in 1.3.13

          Vincent Latombe added a comment - Fixed in 1.3.13

          And somebody has already updated the Wiki appropriately. I will be delighted to close this issue when 1.3.13 is released.

          Steve Davidson added a comment - And somebody has already updated the Wiki appropriately. I will be delighted to close this issue when 1.3.13 is released.

            northgorky Steve Davidson
            northgorky Steve Davidson
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: