Perforce VCS issues - get perforce diagnostics.

We upgraded our perforce server to 2008.1 recently. Now we intermittently get the error "Could not get project sources". The build log shows the following stack trace:

jetbrains.buildServer.vcs.VcsException: //sprite/users/nic/trunk/assembly/...@17522 - no file(s) to diff.

jetbrains.buildServer.vcs.VcsException: //sprite/users/nic/trunk/assembly/...@17522 - no file(s) to diff.

at jetbrains.buildServer.buildTriggers.vcs.perforce.PerforcePatchProvider.processPatch(PerforcePatchProvider.java:128)
at jetbrains.buildServer.buildTriggers.vcs.perforce.PerforcePatchProvider.buildPatch(PerforcePatchProvider.java:99)
at jetbrains.buildServer.buildTriggers.vcs.perforce.PerforceSupport.buildPatch(PerforceSupport.java:79)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchCacheImpl.buildCleanPatch(PatchCacheImpl.java:11)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:58)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:127)
at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:75)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:185)
at jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$FastClassByCGLIB$$a84db719.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:696) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor.invoke(TeamCityMethodSecurityInterceptor.java:5) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:578) at jetbrains.buildServer.serverSide.impl.BuildTypeImpl$$EnhancerByCGLIB$$299b6bf8.buildPatch(]]>)
at jetbrains.buildServer.serverSide.impl.BuildStarter$3.run(BuildStarter.java:27)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)


Is there somewhere I can get a more detailed log on the error perforce is returning, our turn up a log level to capture this?

Thanks,
Nic

Edited by: Nic Strong on Sep 30, 2008 3:56 AM

3 comments
Comment actions Permalink

Take a look at this issue: http://jetbrains.net/tracker/issue/TW-5613 This seems to be your case.

--
Pavel Sher

0
Comment actions Permalink

Is there a fix for TeamCity 3.0 (Build 5985)? I tried updating the classes as mentioned in the patch for 3.1, but i got a different error.

Thanks

Jeremy

0
Comment actions Permalink

I do not think we will provide a patch for 3.0 version since it is pretty old. Please consider a possibility to upgrade to 3.1.2.

--
Pavel Sher

0

Please sign in to leave a comment.