Created attachment 3693 [details] autobuilder log There was a failure in oeqa.selftest.recipetool.RecipetoolTests.test_recipetool_appendfile_postinstall that was caused by a division-by-zero error in bb.cache: File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/bitbake/lib/bb/cache.py", line 465, in Cache.load_cachefile(): current_progress = cachefile.tell() + previous_progress > current_percent = 100 * current_progress / cachesize if current_percent > previous_percent: ZeroDivisionError: division by zero Relevant part of the autobuilder log is attached.
Created attachment 3694 [details] autobuilder log
I was not able to reproduce the issue. But, I think it must be rare race in cache file access, experienced under heave io load: the cache file(s) is accessed asynchronously and another thread writes out the file just after we checked it size so we get size if zero but are still able to read data from it just a little bit later. Patch sent for review: https://patchwork.openembedded.org/patch/138986/
Fixed in http://git.openembedded.org/bitbake/commit/?id=227c5acd4b40154bc61202e7bb67a13818a7d727