Message ID | bde34a174886161def6f9f2c5194870a4edfefb2.1741355508.git.steve@sakoman.com |
---|---|
State | New |
Headers | show |
Series | [styhead,2.10,1/4] utils: Print information about lock issue before exiting | expand |
diff --git a/lib/bb/utils.py b/lib/bb/utils.py index ebee65d3d..0dfe47dc5 100644 --- a/lib/bb/utils.py +++ b/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: