[Anthill-pro] Error when running build second time
Varban
vvv at urbancode.com
Fri Apr 4 15:04:46 CST 2008
Sunita,
it looks like the cvs log command complains about a batik-all-1.5b2.jar
file in ecommerce/edocsCore/appl/lib, is that jar resolved via
dependencies? If so can you move the changelog step to be right after
the populate workspace step in the job? Or is this failing during the
request for the build life?
Also try and enable cleanup in the source config for the workflow and
see if that is going to help.
Regards,
Varban
Monga, Sunita (GE Comm Fin) wrote:
> I got the same error when I used CVSNT instead of tortoisecvs. When I
> upgraded to tortoisecvs 1.10.5, I did not even get this far. I got an
> error at Populate workspace step.
>
> Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382
> (client/server)
>
> command line: C:\Program Files\CVSNT\cvs log -d2008-04-04 20:23:33
> GMT>2008-04-04 20:22:42 GMT -rHEAD ecommerce/edocsCore
> command work dir: C:\Program
> Files\anthill3\agent\var\jobs\projects\edocsCore\edocsCore_workflow
> command environment:
>
> CVSROOT=:pserver:221019722 at vfsheillindev01.comfin.ge.com:/usr/local/cvsh
> ome
> CVS_RSH=
> cvs log: Logging ecommerce/edocsCore
> cvs log: Logging ecommerce/edocsCore/appl
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge/cdf
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/data
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/entity
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/exceptions
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/handler
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/logging
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/parser
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/util
> cvs log: Logging ecommerce/edocsCore/appl/databases
> cvs log: Logging ecommerce/edocsCore/appl/databases/edoc
> cvs log: Logging ecommerce/edocsCore/appl/lib
> cvs log: nothing known about batik-all-1.5b2.jar
> cvs log: Logging ecommerce/edocsCore/build
> cvs log: Logging ecommerce/edocsCore/build/config
> cvs log: Logging ecommerce/edocsCore/test
> cvs log: Logging ecommerce/edocsCore/test/JavaSource
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge/cdf
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge/cdf/edocs
> cvs log: Logging
> ecommerce/edocsCore/test/JavaSource/com/ge/cdf/edocs/junit
> cvs log: Logging ecommerce/edocsCore/test/config
> cvs log: Logging ecommerce/edocsCore/test/lib
> CVS command exit status: 1
> change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
> changeSetCount: 0
> changeCount: 0
> latestChangeSetUser: null
> latestChangeSetDate: 1969-12-31 18:00:00 -0600
> }
>
> Error using upgraded TortoiseCVS:
>
> command line: C:\Program Files\TortoiseCVS\cvs checkout -D2008-04-04
> 20:38:18 GMT ecommerce/edocsCore
> command working directory: C:\Program
> Files\anthill3\agent\var\jobs\projects\edocsCore\edocsCore_workflow
> command environment:
>
> CVSROOT=:pserver:221019722 at vfsheillindev01.comfin.ge.com:/usr/local/cvsh
> ome
> CVS_RSH=
>
>
> -----Original Message-----
> From: anthill-pro-bounces at caladin.urbancode.com
> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Monga,
> Sunita (GE Comm Fin)
> Sent: Friday, April 04, 2008 2:52 PM
> To: AnthillPro user and support list.
> Subject: RE: [Anthill-pro] Error when running build second time
>
> Thanks for the response. I will try with new cvs client. In the meantime
> here is the complete output.
>
> command line: C:\Program Files\TortoiseCVS\cvs log -d2008-03-31 18:42:50
> GMT>2008-03-31 18:41:38 GMT -rHEAD ecommerce/edocsCore
> command work dir: C:\Program
> Files\anthill3\agent\var\jobs\projects\edocsCore\edocsCore_workflow
> command environment:
>
> CVSROOT=:pserver:221019722 at vfsheillindev01.comfin.ge.com:/usr/local/cvsh
> ome
> CVS_RSH=
> cvs log: Logging ecommerce/edocsCore
> cvs log: Logging ecommerce/edocsCore/appl cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge/cdf
> cvs log: Logging ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/data
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/entity
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/exceptions
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/handler
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/logging
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/parser
> cvs log: Logging
> ecommerce/edocsCore/appl/JavaSource/com/ge/cdf/edocs/util
> cvs log: Logging ecommerce/edocsCore/appl/databases
> cvs log: Logging ecommerce/edocsCore/appl/databases/edoc
> cvs log: Logging ecommerce/edocsCore/appl/lib cvs log: nothing known
> about batik-all-1.5b2.jar cvs log: Logging ecommerce/edocsCore/build
> cvs log: Logging ecommerce/edocsCore/build/config cvs log: Logging
> ecommerce/edocsCore/test cvs log: Logging
> ecommerce/edocsCore/test/JavaSource
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge/cdf
> cvs log: Logging ecommerce/edocsCore/test/JavaSource/com/ge/cdf/edocs
> cvs log: Logging
> ecommerce/edocsCore/test/JavaSource/com/ge/cdf/edocs/junit
> cvs log: Logging ecommerce/edocsCore/test/config cvs log: Logging
> ecommerce/edocsCore/test/lib CVS command exit status: 1
> change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
> changeSetCount: 0
> changeCount: 0
> latestChangeSetUser: null
> latestChangeSetDate: 1969-12-31 18:00:00 -0600 }
>
> -----Original Message-----
> From: anthill-pro-bounces at caladin.urbancode.com
> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Varban
> Sent: Friday, April 04, 2008 2:45 PM
> To: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Error when running build second time
>
> Sunita,
>
> it seems that for whatever reason the cvs client is returning with error
> code 1 which means failure, any chance you could install another cvs
> client (cvsnt maybe), or update your tortoisecvs to the latest version
> (I saw that they had some exit code issues in one of the versions) and
> also can you send us the full output from the command?
>
> Regards,
> Varban
>
> Monga, Sunita (GE Comm Fin) wrote:
>> Any help on this? We are in the process of evaluating Anthill pro and
>> with the luck so far I am not too sure.
>>
>> Thanks
>>
>> -----Original Message-----
>> From: anthill-pro-bounces at caladin.urbancode.com
>> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Monga,
>
>> Sunita (GE Comm Fin)
>> Sent: Monday, March 31, 2008 12:47 PM
>> To: AnthillPro user and support list.
>> Subject: RE: [Anthill-pro] Error when running build second time
>>
>> command line: C:\Program Files\TortoiseCVS\cvs log -d2008-03-31
>> 17:12:00
>> GMT>2008-03-28 21:10:29 GMT -rHEAD ecommerce/edocsCore
>>
>> -----Original Message-----
>> From: anthill-pro-bounces at caladin.urbancode.com
>> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Varban
>> Sent: Monday, March 31, 2008 12:37 PM
>> To: AnthillPro user and support list.
>> Cc: AnthillPro user and support list.
>> Subject: Re: [Anthill-pro] Error when running build second time
>>
>> Sunita,
>>
>> the problem is that the cvs log command returns with exit code 1 which
>
>> usually means failure, it's not related to you forcing the build. Can
>> you look in the command output and see what command is ran (first line
>
>> of the output)
>>
>> Monga, Sunita (GE Comm Fin) wrote:
>>> Hi Steve,
>>>
>>> I got the errror when I forced the build. I got the error in both
>>> cases when there were changes and when there were no changes made
>>> since the last build.
>>>
>>> I also get the error when I have a scheduled trigger setup and there
>>> are no changes since the last build, instead of getting a new build
>>> life is not needed. The only difference is that the error shows up in
>
>>> the server command window and not on the web UI.
>>>
>>> The changelog step is configured to look at the start status of
>> "success".
>>>
>>> Thanks
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --
>>> *From:* anthill-pro-bounces at caladin.urbancode.com
>>> [mailto:anthill-pro-bounces at caladin.urbancode.com] *On Behalf Of
>>> *Steve Boone
>>> *Sent:* Monday, March 31, 2008 11:27 AM
>>> *To:* AnthillPro user and support list.
>>> *Cc:* anthill-pro at caladin.urbancode.com
>>> *Subject:* Re: [Anthill-pro] Error when running build second time
>>>
>>> Sunita,
>>>
>>> Did you try to force the build a second time, or is the problem that
>>> the changelog is not picking up any changes? How do you have your
>>> changelog step configured? Most likely you will want to get the
>>> changes from the last "Success" status. If you do not have a status
>>> selected for your chagelog step, then it will not work.
>>>
>>> Were any changes made since you tried to do the build again? If not,
>
>>> and you did not force the build, it would tell you that a new build
>>> life was not needed.
>>>
>>> On Fri, Mar 28, 2008 at 12:47 PM, Monga, Sunita (GE Comm Fin)
>>> <sunita.monga at ge.com <mailto:sunita.monga at ge.com>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I am new to Anthill pro. I setup a simple workflow and job to
>> build
>>> the project using ant script. I was able to force the build the
>>> first time and it completed fine. However any subsequent builds
>> give
>>> following errors in Get Changelog step:
>>>
>>> Errors:
>>> BuildLifeJobTrace Failed 2008-03-28 11:36:33,152 ERROR 387 -
>> Caught
>>> unexpected exception
>>> Step 2: Get Changelog Failed 2008-03-28 11:36:33,136 ERROR 387 1
>> -
>>> PostProcessingScript Failing command: ExitCode 1 was not in {0}
>>>
>>> view output
>>> cvs log: Logging ecommerce/serviceRunner/appl/lib
>>> cvs log: Logging ecommerce/serviceRunner/appl/metadata
>>> cvs log: Logging ecommerce/serviceRunner/build
>>> CVS command exit status: 1
>>> change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
>>> changeSetCount: 0
>>> changeCount: 0
>>> latestChangeSetUser: null
>>> latestChangeSetDate: 1969-12-31 18:00:00 -0600
>>>
>>>
>>> 2008-03-28 11:36:33,152 ERROR 387 - Caught unexpected exception
>>> com.urbancode.command.CommandResultException:
>> PostProcessingScript
>>> Failing command: ExitCode 1 was not in {0}
>>> at
>>>
>>> com.urbancode.devilfish.services.command.CommandExecutionThread.postP
>>> r
>>> ocessResult(CommandExecutionThread.java:175)
>>>
>>>
>>> at
>>>
>>> com.urbancode.devilfish.services.command.CommandExecutionThread.run(C
>>> o
>>> mmandExecutionThread.java:119)
>>>
>>> 2008-03-28 11:36:33,370 INFO 387 - Job 387 released working
>>> directory C:\Program
>>>
>> Files\anthill3\agent\var\jobs\projects\serviceRunner\serviceRunner_wor
>> kf
>> low
>>> on agent sunitaAgent
>>>
>>> 2008-03-28 11:36:33,370 INFO 387 - Job Trace
>>>
> com.urbancode.anthill3.domain.jobtrace.buildlife.BuildLifeJobTrace
>>> [387] released acquired agent tcp://127.0.0.1:4568
>>> (endpointId=c2Z4MzBrMnhxMzMxeW1vaTU0MD
>>>
>>> Thanks
>>>
>>> Sunita
>>>
>>>
>>> _______________________________________________
>>> Anthill-pro mailing list
>>> Anthill-pro at lists.urbancode.com
>> <mailto:Anthill-pro at lists.urbancode.com>
>>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --
>>>
>>> _______________________________________________
>>> Anthill-pro mailing list
>>> Anthill-pro at lists.urbancode.com
>>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list