Hi Sid I want to make sure we both understand the intended behaviour of CC.Net, before pursuing this problem further. It could be a problem of expecting something that CC.Net will never deliver.
1- Each modification will only be displayed for one passing build. If a build passes, then the modification will not be part of the record for subsequent builds. The modification for each build is really just a delta, or a record of change, compared to the previous build. 2- CC.Net expects to be the only person changing its working copy. The changes that developers make should be done in other working copies. Making a change and committing it from CC.Net's working copy might cause CC.Net to "lose" or "skip" that modification. I don't remember what the actual behaviour is here. I just remember that it is not clearly defined and tested. 3- CC.Net expects to have write access to its own installation folder and to any artifacts directories. The .state files in the install folder need to be writeable. Also, this allows the default ccnet.log file to be recorded. Access to artifacts directories allows CC.Net to record the buildlogs and the extra summary files like statistics.csv. When timezone problems occur they are usually related to a difference in timezone between the svn server and the computer that CC.Net is running on. We have also seen problems if the subversion server is Unix-based while the CC.Net server is windows based. From your logs, it looks as if your CC.Net server is in a +0530 timezone. Does this seem correct to you? I can see the "No modifications detected." message in the logs. This could be normal behaviour though, if the modification listed has already triggered a build. I.e., CC.Net expects to get the most recent modification that it already knows about. Only if it gets MORE modifications that it doesn't yet know about will it trigger a build. In order to diagnose further we really need more of the logs. If you could: - delete the .state files, - start up cc.net, - do a build which detects modfications normally, - do a second build which shows the error, - check something in to svn - do a third build which still shows the same error, - email the entire log for all these steps to the list That would really give us the best chance of diagnosing what is wrong. Let me know if any of that helps clarify things, Dave On Fri, Jan 23, 2009 at 4:49 PM, सिद्धार्थ <[email protected]> wrote: > > Hi Dave, > Yes i can see the modification tag in others but they are empty except > the first one. > if i delete the artifacts folder and the project related state file > then again starting ccnet,i am able to see the modification for the > first build and for rest other build i get No modification detected. > > Please find the details of the ccnet.log file below... > is there any date problem if yes, can you tell where i can modify the > config file which can format the date. > > > ================================= > start integration. > 2009-01-23 12:29:46,314 [CCNet Sample:DEBUG] > svn://svn.spanservices.com/NetworkMining/CCSampleApp > 2009-01-23 12:29:46,314 [CCNet Sample:DEBUG] Starting process [C: > \Program Files\CollabNet Subversion\svn.exe] in working directory [D: > \WorkingDirectory\CCSampleApp\CCSampleApp] with arguments [log > svn://svn.spanservices.com/NetworkMining/CCSampleApp -r > "{2009-01-23T06:59:13Z}:{2009-01-23T06:59:46Z}" --verbose --xml -- > username abc--password abc--non-interactive --no-auth-cache] > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <?xml version="1.0"?> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <log> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <logentry > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] revision="168"> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <author>Siddharth</author> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <date>2009-01-23T06:09:46.293863Z</ > date> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <paths> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <path > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] action="M">/CCSampleApp/ > ClassLibrary1/Class1.cs</path> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] </paths> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] <msg>aadded semilon > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] </msg> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] </logentry> > 2009-01-23 12:29:46,455 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] </log> > 2009-01-23 12:29:46,455 [CCNet Sample:INFO] No modifications detected. > 2009-01-23 12:29:46,455 [CCNet Sample:INFO] Building: continuous > triggered a build (ForceBuild) > 2009-01-23 12:29:46,455 [CCNet Sample:DEBUG] Starting process [C: > \Program Files\CollabNet Subversion\svn.exe] in working directory [D: > \WorkingDirectory\CCSampleApp\CCSampleApp] with arguments [update D: > \WorkingDirectory\CCSampleApp\CCSampleApp --username abc--password > abc--non-interactive --no-auth-cache] > 2009-01-23 12:29:46,580 [4484:DEBUG] [CCNet Sample C:\Program Files > \CollabNet Subversion\svn.exe] At revision 168. > 2009-01-23 12:29:47,111 [CCNet Sample:DEBUG] Starting process [D: > \Siddharth\E\software\nant-0.86-beta1\bin\nant.exe] in working > directory [D:\WorkingDirectory\CCSampleApp\CCSampleApp] with arguments > [-nologo -buildfile:default.build -logger:NAnt.Core.XmlLogger - > D:CCNetArtifactDirectory="C:\Program Files\CruiseControl.NET\server > \CCNet Sample\Artifacts" -D:CCNetBuildCondition=ForceBuild - > D:CCNetBuildDate=2009-01-23 -D:CCNetBuildTime=12:29:46 - > D:CCNetFailureUsers= -D:CCNetIntegrationStatus=Unknown - > D:CCNetLabel=1.0_1_2 -D:CCNetLastIntegrationStatus=Success - > D:CCNetListenerFile="C:\Program Files\CruiseControl.NET\server\CCNet > Sample\Artifacts\CCNet Sample_ListenFile.xml" -D:CCNetModifyingUsers= - > D:CCNetNumericLabel=2 -D:CCNetProject="CCNet Sample" - > D:CCNetProjectUrl=http://DOTNET1082/ccnet - > D:CCNetRequestSource=continuous -D:CCNetWorkingDirectory="C:\Program > Files\CruiseControl.NET\server\CCNet Sample\WorkingDirectory"] > 2009-01-23 12:29:50,658 [3836:INFO] Disconnecting remote server: > 2009-01-23 12:29:50,658 [3836:INFO] Unregistering channel: tcp > 2009-01-23 12:29:50,658 [3836:INFO] Aborting CruiseControl.NET Server > 2009-01-23 12:29:50,674 [3836:INFO] Aborting integrator for project: > CCNet Sample > 2009-01-23 12:29:50,674 [CCNet Sample:INFO] Thread aborted while > waiting for 'D:\Siddharth\E\software\nant-0.86-beta1\bin\nant.exe - > nologo -buildfile:default.build -logger:NAnt.Core.XmlLogger - > D:CCNetArtifactDirectory="C:\Program Files\CruiseControl.NET\server > \CCNet Sample\Artifacts" -D:CCNetBuildCondition=ForceBuild - > D:CCNetBuildDate=2009-01-23 -D:CCNetBuildTime=12:29:46 - > D:CCNetFailureUsers= -D:CCNetIntegrationStatus=Unknown - > D:CCNetLabel=1.0_1_2 -D:CCNetLastIntegrationStatus=Success - > D:CCNetListenerFile="C:\Program Files\CruiseControl.NET\server\CCNet > Sample\Artifacts\CCNet Sample_ListenFile.xml" -D:CCNetModifyingUsers= - > D:CCNetNumericLabel=2 -D:CCNetProject="CCNet Sample" - > D:CCNetProjectUrl=http://DOTNET1082/ccnet - > D:CCNetRequestSource=continuous -D:CCNetWorkingDirectory="C:\Program > Files\CruiseControl.NET\server\CCNet Sample\WorkingDirectory"' to > exit. Process id: 2244. This process will now be killed. > 2009-01-23 12:29:50,674 [CCNet Sample:DEBUG] Sending kill to process > 2244 and waiting 10 seconds for it to exit. > 2009-01-23 12:30:00,674 [CCNet Sample:WARN] The process has been > killed: 2244 > 2009-01-23 12:30:00,705 [CCNet Sample:INFO] Integration complete: > Exception - 1/23/2009 12:30:00 PM > 2009-01-23 12:30:00,705 [CCNet Sample:ERROR] Thread aborted for > Project: CCNet Sample > 2009-01-23 12:30:00,705 [CCNet Sample:INFO] Integrator for project: > CCNet Sample is now stopped. > > ================================= > > On Jan 22, 6:55 pm, David Cameron <[email protected]> wrote: >> Hi Sid >> >> Is the version of svn that you are using localized? It may be a >> character set problem. >> >> Is the node missing from all the buildlogs, besides the first one? >> >> If you look at c:\program files\cruisecontrol.net\server\ccnet.log, >> can you see the svn command-line being executed? Are there any unusual >> messages related to it? >> >> Dave Cameron >> CruiseControl.NET -http://ccnet.thoughtworks.com >> >> >> >> On Fri, Jan 23, 2009 at 12:51 AM, सिद्धार्थ <[email protected]> wrote: >> >> > Hi all, >> >> > i am using svn as a source control. >> > the thing i am facing is that the >> > log files in >> >> > C:\Program Files\CruiseControl.NET\server\CCNet Sample\Artifacts >> > \buildlogs >> >> > contains the empty <modifications> node. >> >> > when i am uninstalling the ccnet and again installing it then it is >> > able to detect all the exixsting modification for the first build.but >> > then every time i get no modification detected. >> >> > my source control block is as follows >> >> > ==================================================== >> > <sourcecontrol type="svn" > >> > <trunkUrl>svn://svn.spanservices.com/ >> > NetworkMining/CCSampleApp</ >> > trunkUrl> >> >> > <!--<culture>en-US</culture>--> >> > <workingDirectory>D:\WorkingDirectory >> > \CCSampleApp\CCSampleApp</ >> > workingDirectory> >> > <username>abc</username> >> > <password>abc</password> >> > <autoGetSource>true</autoGetSource> >> > <executable>C:\Program Files\CollabNet >> > Subversion\svn.exe</ >> > executable> >> >> > </sourcecontrol> >> > ======================================================== >> > Guys plz help me out asap. >> > this is killing me like anything .i have spend 5 days but still i >> > have >> > not come to any conclusion >> >> > regards, >> > sid- Hide quoted text - >> >> - Show quoted text -
