Hello, could it be, that WinCVS tries to start a GUI? That doesn't work, because ccnet runs as service. It the process hangs and times out. Please try to use the command line client of cvs.
Daniel 2011/3/22 Vande Matram <[email protected]> > I tried increasing the timeout to 5 minutes. But still getting the same > error. > > I also found that cvspass file is being created in the artifacts folder. > The file size is 0. > > Thanks > Pranjal R Nigam > > > > On Sat, Mar 19, 2011 at 3:22 AM, gwestbro <[email protected]> wrote: > >> Try increasing the value of this tag: <timeout units="Minutes">1</ >> timeout> >> in your SourceControlProvider section >> >> On Mar 18, 12:01 pm, Vande Matram <[email protected]> wrote: >> > Hi, >> > >> > Many thanks for your reply. >> > >> > Where do I need to go and change the timeout value? I want to know the >> XML >> > tag where I need to do this? Is the change in milli second or seconds? >> > >> > Thanks >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > On Fri, Mar 18, 2011 at 8:33 PM, gwestbro <[email protected]> wrote: >> > > Did you try increasing the timeout to allow your source control enough >> > > time to checkout all of your files? I was getting similar errors and >> > > incresing the timeout solved my issues. >> > >> > > On Mar 16, 6:12 am, Vande Matram <[email protected]> wrote: >> > > > Thanks for your quick reply. >> > >> > > > Yes Daniel, I am able to check out myself. I know the WinCVS is not >> able >> > > to >> > > > check out the files when I use use CC.Net. Although it does open up >> the >> > > > WinCVS application, but it is not able to do the checkout (to get >> the >> > > latest >> > > > modified files). >> > >> > > > Please assist me. Thanks for your co-operation. >> > >> > > > On Wed, Mar 16, 2011 at 4:24 PM, Daniel Nauck < >> [email protected] >> > > >wrote: >> > >> > > > > The problem is a timeout: >> > >> > > > > *ThoughtWorks.CruiseControl.Core.CruiseControlException: Source >> control >> > > > > operation has timed out.* >> > >> > > > > Can you run the checkout yourself (under the user ccnet runs on) ? >> > >> > > > > Daniel >> > >> > > > > 2011/3/15 Vande Matram <[email protected]> >> > >> > > > >> Hi Daniel, >> > >> > > > >>> Based on your feedback, here is the log file with the ccnet >> config >> > > > >>> file. >> > >> > > > >>> @pranjalnigam Can you please post you ccnet config and the >> logfile >> > > > >>> (debug level) to our mailinglist?http://bit.ly/gbHBev#CCNet >> > >> > > > >>> Please do the needful >> > >> > > > >>> - <cruisecontrol project="ALIX"> >> > > > >>> <request source="PRNIG" buildCondition="ForceBuild">pr.nig >> triggered >> > > > >>> a build (ForceBuild) from PRNIG</request> >> > > > >>> - <parameters> >> > > > >>> <parameter name="$CCNetArtifactDirectory" value="D:\Program >> Files >> > > > >>> \CruiseControl.NET\Artifacts" /> >> > > > >>> <parameter name="$CCNetBuildCondition" value="ForceBuild" /> >> > > > >>> <parameter name="$CCNetBuildDate" value="2011-03-10" /> >> > > > >>> <parameter name="$CCNetBuildTime" value="18:35:32" /> >> > > > >>> <parameter name="$CCNetFailureUsers" >> > > > >>> value="System.Collections.ArrayList" /> >> > > > >>> <parameter name="$CCNetIntegrationStatus" value="Unknown" /> >> > > > >>> <parameter name="$CCNetLabel" value="5.2" /> >> > > > >>> <parameter name="$CCNetLastIntegrationStatus" value="Success" >> /> >> > > > >>> <parameter name="$CCNetListenerFile" value="D:\Program Files >> > > > >>> \CruiseControl.NET\Artifacts\ALIX_ListenFile.xml" /> >> > > > >>> <parameter name="$CCNetModifyingUsers" >> > > > >>> value="System.Collections.ArrayList" /> >> > > > >>> <parameter name="$CCNetNumericLabel" value="2" /> >> > > > >>> <parameter name="$CCNetProject" value="ALIX" /> >> > > > >>> <parameter name="$CCNetProjectUrl" value=" >> http://192.168.1.156/ >> > > > >>> ccnet" /> >> > > > >>> <parameter name="$CCNetRequestSource" value="PRNIG" /> >> > > > >>> <parameter name="$CCNetUser" value="pr.nig" /> >> > > > >>> <parameter name="$CCNetWorkingDirectory" >> value="D:\Pranjal\Projects >> > > > >>> \ALIX\ALIX" /> >> > > > >>> </parameters> >> > > > >>> <modifications /> >> > > > >>> - <integrationProperties> >> > > > >>> <CCNetArtifactDirectory>D:\Program Files\CruiseControl.NET >> > > > >>> \Artifacts</CCNetArtifactDirectory> >> > > > >>> <CCNetBuildCondition>ForceBuild</CCNetBuildCondition> >> > > > >>> <CCNetBuildDate>2011-03-10</CCNetBuildDate> >> > > > >>> <CCNetBuildTime>18:35:32</CCNetBuildTime> >> > > > >>> <CCNetFailureUsers /> >> > > > >>> <CCNetIntegrationStatus>Exception</CCNetIntegrationStatus> >> > > > >>> <CCNetLabel>5.2</CCNetLabel> >> > > > >>> >> <CCNetLastIntegrationStatus>Success</CCNetLastIntegrationStatus> >> > > > >>> <CCNetListenerFile>D:\Program Files\CruiseControl.NET\Artifacts >> > > > >>> \ALIX_ListenFile.xml</CCNetListenerFile> >> > > > >>> <CCNetModifyingUsers /> >> > > > >>> <CCNetNumericLabel>2</CCNetNumericLabel> >> > > > >>> <CCNetProject>ALIX</CCNetProject> >> > > > >>> <CCNetProjectUrl>http://192.168.1.156/ccnet</CCNetProjectUrl> >> > > > >>> <CCNetRequestSource>PRNIG</CCNetRequestSource> >> > > > >>> <CCNetWorkingDirectory>D:\Pranjal\Projects\ALIX\ALIX</ >> > > > >>> CCNetWorkingDirectory> >> > > > >>> <CCNetUser>pr.nig</CCNetUser> >> > > > >>> <LastIntegrationStatus>Success</LastIntegrationStatus> >> > > > >>> <LastSuccessfulIntegrationLabel>5.2</ >> > > > >>> LastSuccessfulIntegrationLabel> >> > > > >>> <LastModificationDate>3/9/2011 6:36:33 >> PM</LastModificationDate> >> > > > >>> </integrationProperties> >> > > > >>> <build date="2011-03-10 18:35:32" buildtime="00:01:01" >> > > > >>> buildcondition="ForceBuild" /> >> > > > >>> - <exception> >> > > > >>> - <![CDATA[ >> > > > >>> ThoughtWorks.CruiseControl.Core.CruiseControlException: Source >> > > control >> > > > >>> operation has timed out. >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute( >> > > ProcessInfo >> > > > >>> processInfo) >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.GetModif >> > > ications(ProcessInfo >> > > > >>> info, DateTime from, DateTime to) >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Cvs.GetModifications(IIntegra >> > > tionResult >> > > > >>> from, IIntegrationResult to) >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications( >> > > ISourceControl >> > > > >>> sourceControl, IIntegrationResult lastBuild, IIntegrationResult >> > > > >>> thisBuild) >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegra >> > > tionResult >> > > > >>> from, IIntegrationResult to) >> > > > >>> at >> > >> > > >> ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequ >> > > est >> > > > >>> request) >> > > > >>> ]]> >> > > > >>> </exception> >> > > > >>> </cruisecontrol> >> > >> > > > >>> -------------------- >> > >> > > > >>> <!--<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> >> > > > >>> --><!-- This is your CruiseControl.NET Server Configuration >> file. >> > > Add >> > > > >>> your projects below! --><!-- >> > > > >>> --><!-- >> > > > >>> <project name="MyFirstProject" /> >> > > > >>> --><!-- >> > > > >>> </cruisecontrol>--> >> > >> > > >> <!--<ccnetconfig><configurationVersion>1.4</configurationVersion></ccnetcon >> > > fig>--> >> > > > >>> <cruisecontrol> >> > > > >>> <project name="ALIX" queue="1" queuePriority="0"> >> > >> > > <workingDirectory>D:\Pranjal\Projects\ALIX\ALIX</workingDirectory> >> > >> > > > >>> <artifactDirectory>D:\Program >> > > > >>> Files\CruiseControl.NET\Artifacts</artifactDirectory> >> > > > >>> <webURL>http://192.168.1.156/ccnet</webURL> >> > > > >>> <modificationDelaySeconds>10</modificationDelaySeconds> >> > > > >>> <sourcecontrol type="cvs"> >> > > > >>> <executable>C:\Program Files\GNU\WinCvs >> > > 1.3\wincvs.exe</executable> >> > >> > > <workingDirectory>D:\Pranjal\Projects\ALIX\ALIX</workingDirectory> >> > > > >>> <cvsroot>:pserver:pr.nigam@eslserver >> > > :/cvs/portal_repos/</cvsroot> >> > >> > > > >>> <module>InsuranceBusinessManager</module> >> > > > >>> <restrictLogins>False</restrictLogins> >> > > > >>> <autoGetSource>True</autoGetSource> >> > > > >>> <labelOnSuccess>True</labelOnSuccess> >> > > > >>> <cleanCopy>True</cleanCopy> >> > > > >>> <timeout units="Minutes">1</timeout> >> > > > >>> </sourcecontrol> >> > > > >>> <triggers /> >> > > > >>> <tasks> >> > > > >>> <nullTask /> >> > > > >>> </tasks> >> > > > >>> <state type="state" /> >> > > > >>> <labeller type="iterationlabeller"> >> > > > >>> <releaseStartDate>2010/12/30</releaseStartDate> >> > > > >>> </labeller> >> > > > >>> </project> >> > > > >>> </cruisecontrol> >> > >> > > > >>> Thanks >> > > > >>> Pranjal R Nigam >> > >> > > > -- >> > > > Pranjal Nigam >> > >> > > > 0091 9825117726 >> > > > Skype : pranjal.r.nigam >> > > > Yahoo: [email protected] >> > > > Hotmail: [email protected] >> > >> > -- >> > Pranjal Nigam >> > >> > 0091 9825117726 >> > Skype : pranjal.r.nigam >> > Yahoo: [email protected] >> > Hotmail: [email protected] >> > > > > -- > Pranjal Nigam > > 0091 9825117726 > Skype : pranjal.r.nigam > Yahoo: [email protected] > Hotmail: [email protected] >
