PDA

View Full Version : interesting error


tan125
05-28-2008, 07:34 AM
Last night during our nightly build, VBP threw an error while calling another .bld file

(logfile says: 5/27/2008 5:52:27 PM: Building project step 'Call Copy to Help Server'...
Process completed with exit code 1
5/27/2008 5:53:34 PM: Step 'Call Copy to Help Server' failed
5/27/2008 5:53:34 PM: Building failure step 'Send Error Notification'...).

About an hour later, I noticed the error, and went to start manually the .bld file which threw the error when called, when I noticed that despite the error on the call step, the called .bld file had opened and run anyway! Have you seen this before? I'm running v6.7.

kinook
05-28-2008, 07:46 AM
It did call the child .bld file, but the child instance returned an exit code of 1 (which indicates that a step in the child project failed to build). The log file for the child project should include the failure information.

tan125
05-28-2008, 07:48 AM
Yes, the child .bld did run into an error, but usually when this happens, doesn't the parent .bld file just wait for the child to finish anyway? It's set to Wait For Completion.

kinook
05-28-2008, 07:55 AM
It appears that it did wait. It looks like the child instance ran for about 67 seconds, and the parent instance did capture its exit code, which wouldn't be available until after the called process had exited.