Bug 13861 - selftest failing on tumbleweed due to missing gitpython
Summary: selftest failing on tumbleweed due to missing gitpython
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Michael Halstead
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-04-07 07:25 UTC by Richard Purdie
Modified: 2020-04-08 12:33 UTC (History)
0 users

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 Richard Purdie 2020-04-07 07:25:52 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/997

2020-04-07 04:20:09,353 - oe-selftest - INFO - ======================================================================
2020-04-07 04:20:09,353 - oe-selftest - INFO - FAIL: oescripts.BuildhistoryDiffTests.test_buildhistory_diff (subunit.RemotedTestCase)
2020-04-07 04:20:09,353 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-04-07 04:20:09,353 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/oescripts.py", line 22, in test_buildhistory_diff
    result = runCmd("buildhistory-diff -p %s" % get_bb_var('BUILDHISTORY_DIR'))
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 199, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'buildhistory-diff -p /home/pokybuild/yocto-worker/oe-selftest/build/build-st-2892/tmp_buildhistory_20200407012849' returned non-zero exit status 1:
Please install GitPython (python3-git) 0.3.4 or later in order to use this script
Comment 1 Richard Purdie 2020-04-08 12:33:19 UTC
I ran "zypper install python3-GitPython" to fix this on that host.