bitbake exit codes?
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the testscript.sh from the contrib subdir i hit the following problem.
bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Has bitbake a defined set of exit codes that we can evaluate in the testscript.sh?
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 4 lines
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the
testscript.shfrom the contrib subdir i hit the following problem.bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
Quoted 9 lines
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Has bitbake a defined set of exit codes that we can evaluate in the
testscript.sh?Steffen
There have been a few threads on this in the past.
One of the ways (and maybe the best one) to get around this is to fix the QA errors.
Frans
Re: bitbake exit codes? (testing-release-2011.03 build results)
Am 14.02.2011 09:11, schrieb Frans Meulenbroeks:
Quoted 9 lines
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 8 lines
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the
testscript.shfrom the contrib subdir i hit the following problem.bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Quoted 7 lines
Quoted 3 lines
Has bitbake a defined set of exit codes that we can evaluate in the
testscript.sh?Steffen
There have been a few threads on this in the past.
One of the ways (and maybe the best one) to get around this is to fix the QA errors.
Of course. You are right.
But for the moment the question is: "Do we mark such a builds as successful in our test matrix or not?"
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Re: bitbake exit codes? (testing-release-2011.03 build results)
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 18 lines
Am 14.02.2011 09:11, schrieb Frans Meulenbroeks:
Quoted 9 lines
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 8 lines
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the
testscript.shfrom the contrib subdir i hit the following problem.bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Quoted 7 lines
Quoted 3 lines
Has bitbake a defined set of exit codes that we can evaluate in the
testscript.sh?Steffen
There have been a few threads on this in the past.
One of the ways (and maybe the best one) to get around this is to fix the QA errors.
Quoted 6 lines
Of course. You are right.
But for the moment the question is: "Do we mark such a builds as successful in our test matrix or not?"
Steffen
Personally I'm inclined to say no. Marking them as unsuccessful increases the chance of getting them fixed.
Then again others may think differently & I don't know exactly how many QA errors we're talking about.
(I seem to recall that my console-image build had four, for cups I saw a patch, binutils is being looked at or maybe already resolved by Khem, no idea about the other two).
Best regards, Frans.
Re: bitbake exit codes? (testing-release-2011.03 build results)
Got an error when sending the message below. Not sure if it made it to the list (gmane does not have it yet), so resending. Apologies if you get this twice.
Frans
2011/2/14 Frans Meulenbroeks <[email protected]>:
Quoted 36 lines
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 18 lines
Am 14.02.2011 09:11, schrieb Frans Meulenbroeks:
Quoted 9 lines
2011/2/14 Steffen Sledz <[email protected]>:
Quoted 8 lines
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the
testscript.shfrom the contrib subdir i hit the following problem.bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Quoted 7 lines
Quoted 3 lines
Has bitbake a defined set of exit codes that we can evaluate in the
testscript.sh?Steffen
There have been a few threads on this in the past.
One of the ways (and maybe the best one) to get around this is to fix the QA errors.Quoted 6 lines
Of course. You are right.
But for the moment the question is: "Do we mark such a builds as successful in our test matrix or not?"
Steffen
Personally I'm inclined to say no. Marking them as unsuccessful increases the chance of getting them fixed.
Then again others may think differently & I don't know exactly how many QA errors we're talking about.
(I seem to recall that my console-image build had four, for cups I saw a patch, binutils is being looked at or maybe already resolved by Khem, no idea about the other two).Best regards, Frans.
Re: bitbake exit codes? (testing-release-2011.03 build results)
In reply to Steffen SledzQuoted 14 lines · Steffen Sledz
Am 14.02.2011 09:11, schrieb Frans Meulenbroeks:
Quoted 13 lines
2011/2/14 Steffen Sledz<[email protected]>:
Quoted 11 lines
While setting up Jenkins/Hudson jobs for the testing-release-2011.03 branch based on the
testscript.shfrom the contrib subdir i hit the following problem.bitbake (1.10.2) finally reports "NOTE: Task Summary: Attempted 1217 tasks of which 0 didn't need to be rerun and 0 failed.". So it seems that the build was successful. But bitbake did not return 0 but 1. So Jenkins marks the build as failed.
I guess the exit code 1 is coming from some QA Issues. How do we handle that if if my guess is right?
Do we mark such a build run as successful in our test matrix?
Has bitbake a defined set of exit codes that we can evaluate in the
testscript.sh?Steffen
Quoted 7 lines
Quoted 3 lines
There have been a few threads on this in the past.
One of the ways (and maybe the best one) to get around this is to fix the QA errors.Of course. You are right.
But for the moment the question is: "Do we mark such a builds as successful in our test matrix or not?"
Well, as the code stands today (post tag) the change to make those failures kill the build have been merged.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation