| Summary: |
bitbake server failing to start or connect need better messaging |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Saul Wold <sgw> |
| Component: |
bitbake | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
minor
|
|
|
| Priority: |
Medium
|
CC: |
poky.bs.watcher, poky.watcher
|
| Version: |
2.4 | |
|
| Target Milestone: |
4.99 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
New (Never tested)
|
|
Verified:
|
|
Documentation change:
|
Yes (doc changes required)
|
In a couple of different failures recently, the failure to start or connect to the server for various reasons needs better messaging. In one case I had started a bitbake in another window and then tried to start another task in a different window. NOTE: Reconnecting to bitbake server... NOTE: Retrying server connection... NOTE: Reconnecting to bitbake server... NOTE: Retrying server connection... ERROR: Unable to connect to bitbake server, or start one In another case I forgot to be in the BUILDDIR and got the following message: NOTE: Retrying server connection... (Traceback (most recent call last): File "/srv/sdc/builds/x32/bitbake/lib/bb/main.py", line 427, in setup_bitbake topdir, lock = lockBitbake() File "/srv/sdc/builds/x32/bitbake/lib/bb/main.py", line 494, in lockBitbake lockfile = topdir + "/bitbake.lock" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' ) ERROR: Unable to connect to bitbake server, or start one