| Summary: | test_buildhistory_diff fails on master with python3 | ||
|---|---|---|---|
| Product: | [QA/Testing] Build Testing | Reporter: | Valentin Hangan <valentinx.hangan> |
| Component: | general | Assignee: | Benjamin Esquivel <benjamin.esquivel> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | ||
| Version: | 2.1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
On poky commit: 6c5d7f1fb276cbe0a461ece6c8f0ca17a478fa8c test_buildhistory_diff is failing. Tested on Ubuntu 15.10, Fedora 23, CentOS 7.2 , OpenSUSE 13.2 2016-06-09 18:14:15 - test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests) ... FAIL ====================================================================== FAIL: test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f return func(*args, **kwargs) File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/oescripts.py", line 52, in test_buildhistory_diff result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR')) File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 110, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'buildhistory-diff -p /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp_buildhistory_20160609181418' returned non-zero exit status 1: Please install GitPython (python-git) 0.3.1 or later in order to use this script Try to install GitPython on those machine but seems that we have latest version of python-git. Rerun test but and test is failing. autobuilder@ubuntuAB:~/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build$ oe-selftest --run-tests-by id 295 2016-06-09 20:57:09,341 - selftest - INFO - Running bitbake -e to get BBPATH DEBUG: tc id missing for test_bmap DEBUG: tc id missing for test_sstate_noop_samesigs DEBUG: tc id missing for test_bmap 2016-06-09 20:57:12,126 - selftest - INFO - Checking that everything is in order before running the tests 2016-06-09 20:57:13,427 - selftest - INFO - Running bitbake -p 2016-06-09 20:57:17,793 - selftest - INFO - Loading tests from: oeqa.selftest.oescripts.BuildhistoryDiffTests.test_buildhistory_diff 2016-06-09 20:57:17,795 - selftest - INFO - Adding: "include selftest.inc" in local.conf 2016-06-09 20:57:17,795 - selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2016-06-09 20:57:17 - test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests) ... FAIL ====================================================================== FAIL: test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f return func(*args, **kwargs) File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/oescripts.py", line 52, in test_buildhistory_diff result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR')) File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 110, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'buildhistory-diff -p /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp_buildhistory_20160609205720' returned non-zero exit status 1: Please install GitPython (python-git) 0.3.1 or later in order to use this script ---------------------------------------------------------------------- Ran 1 test in 68.401s FAILED (failures=1) 2016-06-09 20:58:26,197 - selftest - INFO - Finished 2016-06-09 20:58:26,197 - selftest - INFO - Removing the include from local.conf 2016-06-09 20:58:26,198 - selftest - INFO - Removing the include from bblayers.conf