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

show wspaces command uses default Accurev installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • accurev-plugin
    • None
    •  OS: Windows 2008 R2 SP1
      JRE: Oracle JRE 1.8.0_45
      Accurev 5.6 and 6.0.1
      Jenkins: 2.60.3
      Running directly from service setup by Windows installer
      Accurev Plugin: PR57/6

      Using this version of the plugin developed to fix another issue with multiple installations of Accurev https://ci.jenkins.io/job/Plugins/job/accurev-plugin/job/PR-57/6/artifact/target/accurev.hpi

      The show wspaces command is using the default Accurev tool (6.0.1 in my case) as opposed to the 5.6 tool the job has been configured to use and is used initially to login and show streams.

      Building in workspace C:\arworkspaces56\TRUNC\INF_TEOCORE_JENKINS_WAR_vmbld02
      Authenticating with Accurev server...
      [INF_TEOCORE_JENKINS_WAR_vmbld02] $ "C:\Program Files (x86)\AccuRev560\bin\accurev.exe" login -H dc32-eng-cms01.nix.teo.earth:5050 accurev_build ********
      Authentication completed successfully.
      Getting a list of streams...
      [INF_TEOCORE_JENKINS_WAR_vmbld02] $ "C:\Program Files (x86)\AccuRev560\bin\accurev.exe" show -H dc32-eng-cms01.nix.teo.earth:5050 -fx -p TEOCO-HOWELL streams
      Getting a list of workspaces...
      No Accurv tool is chosen, reverting to Default (C:\Program Files (x86)\AccuRev610\bin\accurev.exe)
      [INF_TEOCORE_JENKINS_WAR_vmbld02] $ "C:\Program Files (x86)\AccuRev610\bin\accurev.exe" show -H dc32-eng-cms01.nix.teo.earth:5050 -fx -p TEOCO-HOWELL wspaces
      FATAL: The AccuRev server you are using is too old.
      You must install a newer version before proceeding.
      AccuRev Error: 9
      
              | client: 150 min client: 139 server: 140 min server: 150
      FATAL: Show workspaces command ("C:\Program Files (x86)\AccuRev610\bin\accurev.exe" show -H dc32-eng-cms01.nix.teo.earth:5050 -fx -p TEOCO-HOWELL wspaces) failed with exit code 9
      [INF_TEOCORE_JENKINS_WAR_vmbld02] $ "C:\Program Files (x86)\AccuRev560\bin\accurev.exe" show -H dc32-eng-cms01.nix.teo.earth:5050 -fx -p TEOCO-HOWELL streams
      FATAL: Cannot determine workspace configuration information
      java.lang.IllegalArgumentException: Cannot determine workspace configuration information
      	at hudson.plugins.accurev.delegates.WorkspaceDelegate.checkForRelocation(WorkspaceDelegate.java:60)
      	at hudson.plugins.accurev.delegates.ReftreeDelegate.checkout(ReftreeDelegate.java:128)
      	at hudson.plugins.accurev.delegates.AbstractModeDelegate.checkout(AbstractModeDelegate.java:179)
      	at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:373)
      	at hudson.scm.SCM.checkout(SCM.java:495)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
      	at hudson.model.Run.execute(Run.java:1735)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)
      Notifying upstream projects of job completion
      Finished: FAILURE
      

       

            jetersen Joseph Petersen
            rabdsquirlz James Welch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: