From c0432f8eda225aef979a27ac5977e5dd8847f086 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 3 Mar 2025 11:55:42 +0000 Subject: bitbake: utils: Print information about lock issue before exiting (Bitbake rev: bde34a174886161def6f9f2c5194870a4edfefb2) Signed-off-by: Richard Purdie (cherry picked from commit cdf6c51a064f8f335c3262b7f102618996f1a229) Signed-off-by: Steve Sakoman --- bitbake/lib/bb/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index ebee65d3dd..0dfe47dc5a 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -1862,6 +1862,7 @@ def lock_timeout(lock): held = lock.acquire(timeout=5*60) try: if not held: + bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack()) os._exit(1) yield held finally: -- cgit v1.2.3-54-g00ecf