| Summary: | [webhob-poky/master]The interruption of a building does not have the expected behavior. | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Andreea Brandusa Proca <andreea.b.proca> |
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | belen.barros.pena |
| Version: | unspecified | ||
| Target Milestone: | 1.6 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | bitbake | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Andreea Brandusa Proca
2013-08-29 07:01:01 UTC
Any build that doesn't complete should be reported as failed, including interrupted builds. Hopefully BitBake will provide some kind of message that will tell users the reason of the fail (i.e. this build was interrupted). Fixed in webhob-poky/master-1_5-1909 In webhob-poky/webhob-master-1_5-2009 the problem is not solved. The outcome is "Succeeded". This is what bitbake reports, and what I think should happen - If the build is manually stopped, the user wittingly sent the stop command, and the system is in an 'OK' state. Failures happen only on errors. (In reply to comment #4) > This is what bitbake reports, and what I think should happen - > > If the build is manually stopped, the user wittingly sent the stop command, > and the system is in an 'OK' state. The system is in an OK state, but the outcome is about the build, not the build system. An interrupted build is not a successful build. > > Failures happen only on errors. A successful build is a build that completes without errors. An interrupted build did not complete, so it does not pass the first criteria of a successful build. I think we have 2 options: 1. We create an 'interrupted' outcome 2. We use the existing outcome that most closely reflects the situation with the build itself, which it's probably 'failed' patch on bitbake-devel mailing list merged to master. Interrupted build outcome is now "Failed" with an "Stopped build" error, which is good. Verified in master:3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e |