RTC 3 and Jenkins
I'm having trouble trying to setup the Jenkins CI server with RTC 3.
First, I tried the last version of Jenkins (1.529) and the plugin didn't work because of these issues:
https://jazz.net/forum/questions/123459/jenkinshudson-rtc-plugin-can-not-connect-to-rtc-server
Then, I tried to downgrade Jenkins to 1.526, and I'm still in pain. Now, I can test the connection to the repository, but having build errors when the build is triggered. Here follows the stack trace:
Started by user Jenkins Admin Building in workspace D:\jenkins\workspace RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "ws_jenkins_AA7_trunk" ... RTC Checkout : Fetching files to fetch destination "D:\Jenkins\workspace" ... FATAL: RTC : checkout failure: Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:336) at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:366) at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:667) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.checkForCollision(HierarchicalLoadEvaluator.java:667) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.getElementsToLoad(HierarchicalLoadEvaluator.java:329) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.doEvaluation(HierarchicalLoadEvaluator.java:178) at com.ibm.team.filesystem.client.internal.operations.LoadEvaluator.evaluateLoadRequests(LoadEvaluator.java:90) at com.ibm.team.filesystem.client.internal.operations.LoadOperation.evaluateLoadRequests(LoadOperation.java:447) at com.ibm.team.filesystem.client.internal.operations.LoadOperation$1.run(LoadOperation.java:590) at com.ibm.team.filesystem.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:802) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:164) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:144) at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:624) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89) at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:619) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:407) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:387) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:92) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:107) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath.act(FilePath.java:906) at hudson.FilePath.act(FilePath.java:879) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:843) at hudson.model.AbstractProject.checkout(AbstractProject.java:1406) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1597) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) ERROR: RTC : checkout failure: Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore Finished: FAILURE
The envirnonment:
Jenkins default installation, version 1.526
Team concert plugin: 1.0.7
Server OS: Windows 2013
Build Toolkit: RTC-BuildSystem-Toolkit-Win-3.0.1.2
3 answers
Upgrading the plugin to 1.0.11:
Started by user Jenkins Admin Building in workspace D:\jenkins\workspace RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "ws_jenkins_AA7_trunk" ... RTC Checkout : Fetching files to fetch destination "D:\Jenkins\workspace" ... FATAL: RTC : checkout failure: java.nio.file.FileSystem.getPath(Ljava/lang/String;)Ljava/nio/file/Path; java.lang.NoSuchMethodError: java.nio.file.FileSystem.getPath(Ljava/lang/String;)Ljava/nio/file/Path; at com.ibm.team.filesystem.client.internal.Java17SymLinkHelper.<init>(Java17SymLinkHelper.java:41) at com.ibm.team.filesystem.client.internal.Java17SymLinkHelper.newInstance(Java17SymLinkHelper.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.filesystem.client.internal.ManagedFileStore.getJava17SymLinkHelper(ManagedFileStore.java:116) at com.ibm.team.filesystem.client.internal.ManagedFileStore.<clinit>(ManagedFileStore.java:146) at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:336) at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:366) at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:667) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.checkForCollision(HierarchicalLoadEvaluator.java:667) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.getElementsToLoad(HierarchicalLoadEvaluator.java:329) at com.ibm.team.filesystem.client.internal.operations.HierarchicalLoadEvaluator.doEvaluation(HierarchicalLoadEvaluator.java:178) at com.ibm.team.filesystem.client.internal.operations.LoadEvaluator.evaluateLoadRequests(LoadEvaluator.java:90) at com.ibm.team.filesystem.client.internal.operations.LoadOperation.evaluateLoadRequests(LoadOperation.java:447) at com.ibm.team.filesystem.client.internal.operations.LoadOperation$1.run(LoadOperation.java:590) at com.ibm.team.filesystem.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:802) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:164) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:144) at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:624) at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89) at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:619) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:429) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:410) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath.act(FilePath.java:906) at hudson.FilePath.act(FilePath.java:879) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:898) at hudson.model.AbstractProject.checkout(AbstractProject.java:1406) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1597) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) ERROR: RTC : checkout failure: java.nio.file.FileSystem.getPath(Ljava/lang/String;)Ljava/nio/file/Path; Finished: FAILURE
Hi Eric,
I don't this that this is directly related to Jenkins. The same errors have been seen before using JRE 1.7.
RTC 3 doesn't support that version of JRE, so you would have to use JRE 1.6 instead. This link describes the support environments: https://jazz.net/library/article/632
Regards,
John
I don't this that this is directly related to Jenkins. The same errors have been seen before using JRE 1.7.
RTC 3 doesn't support that version of JRE, so you would have to use JRE 1.6 instead. This link describes the support environments: https://jazz.net/library/article/632
Regards,
John
Hi John,
I'll need to make Jenkins run on and older VM, right?
I hope I don't have any other side effects doing this.
Regards,
Eric
Comments
showing 5 of 8
show 3 more comments