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

Jenkins RTC SCM Jobs error out after Master Restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • teamconcert-plugin
    • None
    • Master - Windows 2008 Server
      Slaves - Windows 2008 Server
      Team Concert Plugin v 1.0.11

      Hi, We have jobs that use the Team Concert plugin error out after the master is restarted. If we restart the Jenkins Slave service it repairs itself.
      In our configuration we have the Build Toolkit living on a share, and all of our slaves access it via a unc path (\\server\... etc.) Which is configured in the Global Jenkins config.

      The error we see in the Jenkins job console when attempting a transaction with RTC is:

      00:00:00.012 RTC : checkout...
      00:00:00.560 FATAL: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient
      00:00:00.561 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient
      00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51)
      00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404)
      00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source)
      00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96)
      00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110)
      00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31)
      00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394)
      00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326)
      00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source)
      00:00:00.567 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      00:00:00.567 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      00:00:00.567 at hudson.remoting.Engine$1$1.run(Engine.java:63)
      00:00:00.567 at java.lang.Thread.run(Unknown Source)
      00:00:00.568 ERROR: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient

      We have over 70 slaves so restarting them before jobs jump on there is a little problematic. Any ideas, would be great not to have to worry about his going forward.
      Thanks!

            hfraserdube Heather Fraser-Dube
            bbonn bbonn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: