| Summary: |
bitbake self-tests for fetcher fail on python 2.6 |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Stefan Stanacar <sstncr> |
| Component: |
bitbake | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
poky.bs.watcher, poky.watcher, sgw
|
| Version: |
unspecified | |
|
| Target Milestone: |
1.5 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
There are two problems in lib/bb/tests/fetch.py: @unittest.skipIf(os.environ.get("BB_SKIP_NETTESTS") == "yes", AttributeError: 'module' object has no attribute 'skipIf' and: File "/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly/build/bitbake/lib/bb/tests/fetch.py", line 146, in test_gitfetch_premirror3 subprocess.check_output("git clone %s %s 2> /dev/null" % (realurl, self.sourcedir), shell=True) Both unittest.skipIf and subprocess.check_output are new in python 2.7 http://autobuilder.yoctoproject.org:8011/builders/nightly/builds/109/steps/Running%20bitbake-selftest/logs/stdio http://autobuilder.yoctoproject.org:8011/builders/nightly/builds/110/steps/Running%20bitbake-selftest/logs/stdio