| Summary: |
CheckOutLayers build step fails if OPTIMIZED_GIT_CLONE is not True |
| Product: |
[Infrastructure] AutoBuilder
|
Reporter: |
Bill Randle <bill.randle> |
| Component: |
autobuilder | Assignee: |
Bill Randle <bill.randle> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
infras.ab.watcher, Infras.watcher, pidge
|
| Version: |
2.2 | |
|
| Target Milestone: |
2.2 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
If OPTIMIZED_GIT_CLONE is set False (because, for example, the git trash dir is on a different filesystem than the build directory), then the build fails in CheckOutLayers step with an error message like: File "/home/pokybuild/yocto-autobuilder/lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py", line 599, in _mirrorExists mirror = self.mirrordir + "/" + self.repourl.replace("git://", "") + "/" exceptions.TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' This happens because if OPTIMIZED_GIT_CLONE is not True, mirrordir is not set.