<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9716</bug_id>
          
          <creation_ts>2016-06-06 14:59:21 +0000</creation_ts>
          <short_desc>GitPython dependency missing on Autobuilder Setup</short_desc>
          <delta_ts>2016-06-17 16:15:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro Hernandez">alejandro.hernandez</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>bill.randle</cc>
    
    <cc>edwin.plauchu.camacho</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>valentinx.hangan</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62657</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-06-06 14:59:21 +0000</bug_when>
    <thetext>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 &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/oescripts.py&quot;, line 52, in test_buildhistory_diff
    result = runCmd(&quot;buildhistory-diff -p %s&quot; % get_bb_var(&apos;BUILDHISTORY_DIR&apos;))
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 110, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;buildhistory-diff -p /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp_buildhistory_20160602130120&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62829</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-06-09 15:11:06 +0000</bug_when>
    <thetext>*** Bug 9742 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62848</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-06-09 16:56:24 +0000</bug_when>
    <thetext>According to comments on bug 9742... &quot;Try to install GitPython on those machine but seems that we have latest version of python-git. Rerun test but and test is failing.&quot;.. This seems to be a compatibility issue with python3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63070</commentid>
    <comment_count>3</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-06-16 17:13:28 +0000</bug_when>
    <thetext>We have GitPython (1.0.2) for Python3 installed on all the Autobuilders now. I haven&apos;t tried running the tests to verify they&apos;re ok now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63075</commentid>
    <comment_count>4</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-06-16 19:45:34 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; We have GitPython (1.0.2) for Python3 installed on all the Autobuilders now.
&gt; I haven&apos;t tried running the tests to verify they&apos;re ok now.

Could you elaborate more your comment...

For instance... which package did you installed over what distro...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63078</commentid>
    <comment_count>5</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-06-16 21:05:39 +0000</bug_when>
    <thetext>If the builder had a distribution version of GitPython for Python3, that was used. If not, then &apos;pip3 install GitPython&apos; was used for installation.

It was applied to all the builders in Linux Foundation run cluster. This was done last Tuesday (6/14).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63108</commentid>
    <comment_count>6</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-06-17 16:09:40 +0000</bug_when>
    <thetext>The last several nightly-oe-selftest builds have been successful and it&apos;s verified that GitPython is installed on all the AB&apos;s, so marking resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63110</commentid>
    <comment_count>7</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-06-17 16:15:07 +0000</bug_when>
    <thetext>Pass in latest AB builds:

#557
#556
#555

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>