Build step error return code when no error

ajlennon's Avatar

ajlennon

23 Oct, 2014 04:28 PM

Hi,

My Mono build step is now completing succcessfully (!) I am seeing an issue reported however.

The build command that completes successfully is

%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make; echo $?"

I've added in an output of the last command exit status to double check and that code is 0 for success

However Appveyor is reporting error 259

Command exited with code 259

I can't quite see how this is happening unless it's something to do with bash, which would seem odd.

I have seen some notes in my Googling which indicate this could possibly be a timeout?

This couldn't be anything to do with the Appveyor build hardness could it?

Thanks, Alex

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Oct, 2014 05:37 PM

    Feodor Fitsner's Avatar

    How does it look like? Could you drop a link on that build?

  2. 2 Posted by ajlennon on 23 Oct, 2014 05:40 PM

    ajlennon's Avatar
  3. Support Staff 3 Posted by Feodor Fitsner on 23 Oct, 2014 05:43 PM

    Feodor Fitsner's Avatar

    So, it's all the results of this command?

  4. 4 Posted by ajlennon on 23 Oct, 2014 05:46 PM

    ajlennon's Avatar

    Yes that's the one

  5. Support Staff 5 Posted by Feodor Fitsner on 23 Oct, 2014 05:53 PM

    Feodor Fitsner's Avatar

    OK, I see. Right now there is a timeout of 1 hour for running any process in AppVeyor build runner. Will increase it to, say, 3 hours.

  6. 6 Posted by ajlennon on 23 Oct, 2014 05:55 PM

    ajlennon's Avatar

    Ah great! I thought it was going to take me hours to track that down in bash. Yes it's taking longer than an hour to run the make.

    Could you possibly let me know what that's done and I'll kick off another build?

    Thanks once more, Alex

  7. Support Staff 7 Posted by Feodor Fitsner on 23 Oct, 2014 10:53 PM

    Feodor Fitsner's Avatar

    Sure!

  8. Support Staff 8 Posted by Feodor Fitsner on 24 Oct, 2014 04:58 AM

    Feodor Fitsner's Avatar

    An updated build worker has been deployed with timeout increased to 3 hours (hope that's enough :)

  9. 9 Posted by ajlennon on 24 Oct, 2014 09:47 AM

    ajlennon's Avatar

    Thanks Feodor. I shall test. (So do I!)

  10. 10 Posted by ajlennon on 24 Oct, 2014 05:25 PM

    ajlennon's Avatar

    HI Feodor,

    That's looking much better thanks.

    Unfortunately the build is taking 3 hours and so is being ended -

    e.g. https://ci.appveyor.com/project/ajlennon/mono-817/build/1.0.134

    I don't think a much longer is needed. Is there any way the build time can be extended to, say, 4 hours?

    Thanks, Alex

  11. Support Staff 11 Posted by Feodor Fitsner on 24 Oct, 2014 05:38 PM

    Feodor Fitsner's Avatar

    Done. It's 4 hours now! :)

  12. 12 Posted by ajlennon on 24 Oct, 2014 05:38 PM

    ajlennon's Avatar

    You are amazing :) Thanks!

  13. 13 Posted by ajlennon on 25 Oct, 2014 09:05 AM

    ajlennon's Avatar

    Can I just ask? Are these plan changes against my account or against the github repository that I am building? Presumably my account rather than the repo itself? Thanks

  14. Support Staff 14 Posted by Feodor Fitsner on 25 Oct, 2014 07:14 PM

    Feodor Fitsner's Avatar

    It's against account affecting all projects.

  15. 15 Posted by ajlennon on 26 Oct, 2014 03:01 PM

    ajlennon's Avatar

    Mono is now building and packaging up an installation artifact.

    Thanks for the excellent support Feodor. Really pleased we got this going.

    When I get a chance I'm going to enhance the configuration to including packaging of an MSI installer but I think the worst of it is done now :)

  16. Support Staff 16 Posted by Feodor Fitsner on 27 Oct, 2014 04:42 PM

    Feodor Fitsner's Avatar

    This is great news! Thanks for making this work on AppVeyor platform!

    Let me know if you have any questions while working on MSI.

  17. ajlennon closed this discussion on 30 Oct, 2014 03:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac