Bug 13003 - Build hangs if expected bitbake.lock lock file is missing
Summary: Build hangs if expected bitbake.lock lock file is missing
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-11-09 13:47 UTC by Michael Halstead
Modified: 2018-12-08 21:53 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Halstead 2018-11-09 13:47:21 UTC
Code should gracefully handle the missing bitbake.lock file allowing testing continue.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/nightly-bringup/build/meta/lib/oeqa/core/utils/concurrencytest.py", line 211, in fork_for_tests
    removebuilddir(newbuilddir)
  File "/home/pokybuild/yocto-worker/nightly-bringup/build/meta/lib/oeqa/core/utils/concurrencytest.py", line 137, in removebuilddir
    bb.utils.prunedir(d)
  File "/home/pokybuild/yocto-worker/nightly-bringup/build/bitbake/lib/bb/utils.py", line 709, in prunedir
    os.remove(os.path.join(root, name))
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/nightly-bringup/build/build-st-30256/bitbake.lock'