Bug 8112

Summary: bitbake.lock error on AB
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mihail Stanciu <stanciux.mihail>
Component: coreAssignee: Ross Burton <ross.burton>
Status: VERIFIED DUPLICATE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.9   
Target Milestone: 1.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2015-08-06 09:11:01 UTC
Tested on 1.9 M2 rc1: 22078d5e533e59a9aa6999abefbf6ece4e01de8d
Affected OS: Ubuntu 15.04, CentOS 7

Some builders ran for 30+ hours and had to be stopped manually. Usually they run for 2-3 hours.

All were showing the following message repeatedly:

Delaying shutdown due to active processes which appear to be holding bitbake.lock:
COMMAND    PID        USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
sh        2129 autobuilder   13u   REG  253,2        0 37116534 /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-rpm/build/build/bitbake.lock
runqemu   2130 autobuilder   13u   REG  253,2        0 37116534 /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-rpm/build/build/bitbake.lock
qemu-syst 2289 autobuilder   13u   REG  253,2        0 37116534 /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-rpm/build/build/bitbake.lock

Example log located at: 
http://10.237.112.85/autobuilder/builders/nightly-rpm/builds/29/steps/Running%20Sanity%20Tests/logs/stdio
Comment 1 Richard Purdie 2015-08-09 23:17:37 UTC
This is very similar to the other bug and the traceback shows it comes from the same underlying problem. The fixes from the other bug should resolve this too.

*** This bug has been marked as a duplicate of bug 8129 ***
Comment 2 Alexandru Georgescu 2015-08-18 15:12:13 UTC
verified as per RP's comments