Build step error return code when no error
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
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
Support Staff 1 Posted by Feodor Fitsner on 23 Oct, 2014 05:37 PM
How does it look like? Could you drop a link on that build?
2 Posted by ajlennon on 23 Oct, 2014 05:40 PM
This is the log Feodor -
https://ci.appveyor.com/project/ajlennon/mono-817/build/1.0.121
Support Staff 3 Posted by Feodor Fitsner on 23 Oct, 2014 05:43 PM
So, it's all the results of this command?
4 Posted by ajlennon on 23 Oct, 2014 05:46 PM
Yes that's the one
Support Staff 5 Posted by Feodor Fitsner on 23 Oct, 2014 05:53 PM
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 Posted by ajlennon on 23 Oct, 2014 05:55 PM
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
Support Staff 7 Posted by Feodor Fitsner on 23 Oct, 2014 10:53 PM
Sure!
Support Staff 8 Posted by Feodor Fitsner on 24 Oct, 2014 04:58 AM
An updated build worker has been deployed with timeout increased to 3 hours (hope that's enough :)
9 Posted by ajlennon on 24 Oct, 2014 09:47 AM
Thanks Feodor. I shall test. (So do I!)
10 Posted by ajlennon on 24 Oct, 2014 05:25 PM
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
Support Staff 11 Posted by Feodor Fitsner on 24 Oct, 2014 05:38 PM
Done. It's 4 hours now! :)
12 Posted by ajlennon on 24 Oct, 2014 05:38 PM
You are amazing :) Thanks!
13 Posted by ajlennon on 25 Oct, 2014 09:05 AM
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
Support Staff 14 Posted by Feodor Fitsner on 25 Oct, 2014 07:14 PM
It's against account affecting all projects.
15 Posted by ajlennon on 26 Oct, 2014 03:01 PM
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 :)
Support Staff 16 Posted by Feodor Fitsner on 27 Oct, 2014 04:42 PM
This is great news! Thanks for making this work on AppVeyor platform!
Let me know if you have any questions while working on MSI.
ajlennon closed this discussion on 30 Oct, 2014 03:52 PM.