| Summary: | Autobuilder rebuild button doesn't always work when using shared repos | ||
|---|---|---|---|
| Product: | [Infrastructure] AutoBuilder | Reporter: | Alejandro <alejandro> |
| Component: | autobuilder | Assignee: | Unassigned <unassigned> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | infras.ab.watcher, Infras.watcher, jon.mason, pidge, randy.macleod, richard.purdie, sakib.sajal, tvgamblin |
| Version: | unspecified | ||
| Target Milestone: | 6.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alejandro
2021-04-14 22:43:07 UTC
Can be avoided by forcing a build rather than hitting the rebuild button. Seen again on https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/2336/steps/6/logs/stdio qemuarm-alt debian10-ty-3 Issue is from the conditional in http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/tree/scripts/shared-repo-unpack#n53 When the build completes, the sources are removed as otherwise the can pile up unbounded on the shared storage. One simple fix would be for the code to check if the sources are there and then just checkout sources again if not. The worry is whether a "rebuild" could/would then rebuild something different and confuse the user? Bulk move from 4.99 or 0.00 to 5.99 We believe the sources cache files are not being deleted which avoids this bug but creates a maintenance issue for cleaning them up |