Re: temp.file is not created but build continue anyway
Julian Simpson <[email protected]> Thu, 2 Feb 2012 20:30:43 +0000
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <CANwBkz9NqWRWUTBDCnYD3cL4x4NwVMq4Y2_S-2RV_1Sv_0KWig@mail.gmail.com> |
Hi, On 1 February 2012 21:47, Mathieu Jobin <[email protected]> wrote: > Hello, > > I've got a weird issue. Maybe someone already encountered it? > This cause the build to fail to copy artifacts and logs properly > and in some weird circumstance, to fail really early in the process. > but I see a stack trace when cruisecontrol is trying to create the temp > file. > > Generally this happens when the Ant build fails so quickly, it doesn't write out its XML log file. J. > 2012-02-01 15:12:20,825 [Thread-12291] ERROR Project - exception > attempting build in project argus_trunk > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > at > net.sourceforge.cruisecontrol.builders.AntBuilder.getAntLogAsElement(AntBuilder.java:424) > at > net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:213) > at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:165) > at net.sourceforge.cruisecontrol.Project.build(Project.java:226) > at net.sourceforge.cruisecontrol.Project.execute(Project.java:149) > at > net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:405) > at > net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69) > at java.lang.Thread.run(Thread.java:595) > > [15:13:56][rsoft@qcdvbs1022 cruisecontrol]$ grep temp.file config.xml | > sort -u > <ant antscript="${build.script}" buildfile="${build.file}" > tempfile="${temp.file}" uselogger="false" usequiet="true"> > <property name="temp.file" value="/tmp/${product.name}_${view.name > }_log.xml"/> > [15:14:01][rsoft@qcdvbs1022 cruisecontrol]$ grep /tmp/ cruisecontrol.log > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_2011r4_log.xml does not exist. > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > net.sourceforge.cruisecontrol.CruiseControlException: ant logfile > /tmp/argus_trunk_log.xml does not exist. > [15:14:21][rsoft@qcdvbs1022 cruisecontrol]$ > > this for 1 project out of 171. > > [15:55:10][rsoft@qcdvbs1022 cruisecontrol]$ grep "temp\.\?file" > config.xml | sort | uniq -c > 171 <ant antscript="${build.script}" buildfile="${build.file}" > tempfile="${temp.file}" uselogger="false" usequiet="true"> > 1 <property name="temp.file" value="/tmp/${product.name}_${view.name > }_log.xml"/> > [15:55:16][rsoft@qcdvbs1022 cruisecontrol]$ > > any idea what could cause this? > > > * > -* > *Mathieu Jobin* > Technology Analyst**** > Equipe SCM > *Taleo ** > *T. 418.524.5665 x1795**** > > Ce courriel et toute pièce jointe peuvent contenir des renseignements > confidentiels, particuliers ou protégés pour l'usage exclusif du > destinataire du message original. Toute révision, copie ou distribution du > présent courriel (ou de toute pièce jointe) par autrui est formellement > interdite. Si vous n'êtes pas le destinataire prévu, veuillez retourner > immédiatement le courriel à l'expéditeur et effacer définitivement > l'original, les copies et les pièces jointes.**** > > This email and any attachments thereto may contain private, confidential, > and privileged material for the sole use of the intended recipient named in > the original email to which this message was attached. Any review, copying, > or distribution of this email (or any attachments thereto) by others is > strictly prohibited. If you are not the intended recipient, please return > this email to the sender immediately and permanently delete the original > and any copies of this email and any attachments thereto.**** > ** ** > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected] (+44) 207 183 0323 ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user