Bug 9716 - GitPython dependency missing on Autobuilder Setup
Summary: GitPython dependency missing on Autobuilder Setup
Status: VERIFIED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M1
Assignee: Michael Halstead
QA Contact:
URL:
Whiteboard:
: 9742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-06 14:59 UTC by Alejandro Hernandez
Modified: 2016-06-17 16:15 UTC (History)
7 users (show)

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 Alejandro Hernandez 2016-06-06 14:59:21 UTC
GitPython (python-git) seems to be missing on the AB, the following message is displayed when executing nightly-oe-selftest:

======================================================================
FAIL: test_buildhistory_diff (oeqa.selftest.oescripts.BuildhistoryDiffTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/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/pokybuild/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/pokybuild/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/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp_buildhistory_20160602130120' returned non-zero exit status 1:
Please install GitPython (python-git) 0.3.1 or later in order to use this script

This is the link to the stdio:
https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/540/steps/Running%20oe-selftest/logs/stdio
Comment 1 Benjamin Esquivel 2016-06-09 15:11:06 UTC
*** Bug 9742 has been marked as a duplicate of this bug. ***
Comment 2 Jose Perez C 2016-06-09 16:56:24 UTC
According to comments on bug 9742... "Try to install GitPython on those machine but seems that we have latest version of python-git. Rerun test but and test is failing.".. This seems to be a compatibility issue with python3.
Comment 3 Bill Randle 2016-06-16 17:13:28 UTC
We have GitPython (1.0.2) for Python3 installed on all the Autobuilders now. I haven't tried running the tests to verify they're ok now.
Comment 4 Plauchu Edwin 2016-06-16 19:45:34 UTC
(In reply to comment #3)
> We have GitPython (1.0.2) for Python3 installed on all the Autobuilders now.
> I haven't tried running the tests to verify they're ok now.

Could you elaborate more your comment...

For instance... which package did you installed over what distro...
Comment 5 Bill Randle 2016-06-16 21:05:39 UTC
If the builder had a distribution version of GitPython for Python3, that was used. If not, then 'pip3 install GitPython' was used for installation.

It was applied to all the builders in Linux Foundation run cluster. This was done last Tuesday (6/14).
Comment 6 Bill Randle 2016-06-17 16:09:40 UTC
The last several nightly-oe-selftest builds have been successful and it's verified that GitPython is installed on all the AB's, so marking resolved.
Comment 7 Jose Perez C 2016-06-17 16:15:07 UTC
Pass in latest AB builds:

#557
#556
#555

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest