Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Tag CVS repository #1152

cindya ·
I had been tagging several CVS repositorys for quite a while from within quickbuild. It seems that right about the time I went to QB 3.0.8 the tag fails. I get WARN - cvs server: nothing known about <filename> for every file in the repository I'm trying to tag. I can checkout and commit files without any problem. It fails whether I use my own label or the drop down option ConvertToCVSLabel(build.version). Thank you for your help.

13:52:19,341 [master>TagAWFDevTools@RI150WS737:8810] ERROR - Step 'TagDevTools' is failed.
com.pmease.quickbuild.QuickbuildException: Failed to run command: "C:\Program Files\CVSNT\cvs.exe" -d:pserver:cruisecontrol@version02:/cvs/CVSRepo tag -F v1_0_39 , returned code: 1
at com.pmease.quickbuild.execution.CommandExecutor.run(CommandExecutor.java:145)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository.labelOnRevision(CvsRepository.java:568)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.CGLIB$labelOnRevision$8(<generated>)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e$$FastClassByCGLIB$$6c8c40e.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.labelOnRevision(<generated>)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository.labelOnRevision(CvsRepository.java:1)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.CGLIB$labelOnRevision$7(<generated>)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e$$FastClassByCGLIB$$6c8c40e.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.labelOnRevision(<generated>)
at com.pmease.quickbuild.repositorysupport.Repository.label(Repository.java:171)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.CGLIB$label$45(<generated>)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e$$FastClassByCGLIB$$6c8c40e.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
at com.pmease.quickbuild.plugin.scm.cvs.CvsRepository$$EnhancerByCGLIB$$dbf74a2e.label(<generated>)
at com.pmease.quickbuild.plugin.basis.LabelStep.run(LabelStep.java:83)
at com.pmease.quickbuild.plugin.basis.LabelStep$$EnhancerByCGLIB$$29c5545.CGLIB$run$0(<generated>)
at com.pmease.quickbuild.plugin.basis.LabelStep$$EnhancerByCGLIB$$29c5545$$FastClassByCGLIB$$c759e3.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:271)
at com.pmease.quickbuild.plugin.basis.LabelStep$$EnhancerByCGLIB$$29c5545.run(<generated>)
at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:449)
at com.pmease.quickbuild.stepsupport.StepJob.execute(StepJob.java:34)
at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:120)
at java.lang.Thread.run(Unknown Source)
  • replies 6
  • views 2569
  • stars 0
robinshen ADMIN ·
This seems to me more like a cvsnt issue. To verify, please run build in debug logging level, and the build log will contain the full tag command executed as well as current directory for the command. Then you may run the same command from command line in that directory to see if the same error still exists.

I also googled for this error message and found this thread relevant:
http://www.cvsnt.org/pipermail/cvsnt/20 ... 22061.html
cindya ·
I can tag from the command line using the working directory. Within the logs, the working directory seems to change when it goes from updating the folders to updating files.

07:59:05,846 [master>TagPlugins@localhost:8810] DEBUG - Command working directory: C:\Policy_Dev\Workspace1\PCPROJECT
07:59:06,674 [master>TagPlugins@localhost:8810] DEBUG - cvs server: Updating .
....
....
07:59:09,877 [master>TagPlugins@localhost:8810] DEBUG - Command working directory: C:\Policy_Dev\Workspace1
07:59:31,299 [master>TagPlugins@localhost:8810] WARN - cvs server: nothing known about .classpath

Thanks for any help you can give me on this.
robinshen ADMIN ·
Tagging in the workspace directory will tag all checked out cvs modules all together, and it can succeed without any problems. Nevertheless, we will change cvs integration to tag per module to see if it solves the problem at your side. The fix will be delivered in next patch release.
cindya ·
Thank you!
robinshen ADMIN ·
Please upgrade to 3.0.13 to see if it solves the problem.
cindya ·
Thanks! That fixed it.