| Summary: | Toaster unclean shutdown should be handled gracefully | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Belen Barros Pena <belen.barros.pena> | ||||
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | alexandru.damian, andreea.b.proca, belen.barros.pena, bluelightning, jessica.zhang | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.6 M4 | ||||||
| Hardware: | All | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Belen Barros Pena
2013-10-22 16:04:02 UTC
On dora-toaster:e5cf3e598e1e36b87a6cb07829f8a5013d78f534 This works wonderfully if I close my terminal window while Toaster is running, then: 1. open a new terminal 2. set up my build environment 3. type the toaster start command. It still reports a bitbake lock state error if I close my terminal window while Toaster is running, then: 1. open a new terminal 2. set up my build environment 3. type the toaster stop command If I issue the toaster stop command when toaster is not running, I would expect to be told: "Toaster is not running so it cannot be stopped. Would you like to start Toaster? [y/n]" kind of thing. After the latest changes to bin/bitbake from Jason Wessel, the server is stopped when attempting to launch oe-init-build-env from another terminal. This leads to an inconsistency in setup and failure of toaster. Using this bug to track all the problems related to starting toaster. Patches submitted for review. Any update about these patches, I'm still experiencing the problem with the latest toaster/master This patch was submitted for review with the set of patches for Toaster build functionality, but probably will not be merged in 1.6. Simplified patch submitted for review. This patch just forces a toaster shutdown on the stop command. Merged into origin/master. Created attachment 1832 [details]
lock state error message
This is how the new error message looks like. Jessica, Paul: feel free to comment as needed.
This isn't the fix we discussed. What we discussed was toaster starting what needs to be started even if part of it is running, with a warning if some previous (known invalid) state is present. A new bug will be opened for this issue and I will set this as verified. |