<?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>8290</bug_id>
          
          <creation_ts>2015-09-11 19:48:18 +0000</creation_ts>
          <short_desc>oe-selftest unresolved dependency in buildoptions test</short_desc>
          <delta_ts>2015-10-28 13:49:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>1.9</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>23 Sept 2015 - RESOLVED/FIXED</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Esquivel">benjamin.esquivel</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53987</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-11 19:48:18 +0000</bug_when>
    <thetext>the buildoptions test imports pexpect and not all systems contain it.

You can see it here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/meta/lib/oeqa/selftest/buildoptions.py?id=e47e1c499b302800cf39f08442f6b452483abc62</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54212</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-09-17 15:02:40 +0000</bug_when>
    <thetext>I think this is really a documentation issue. We should be noting this additional dependency in the &quot;Required Packages for the Host Development System&quot; reference manual section, but we need to create an additional category for &quot;Packages required for oe-selftest&quot; under each distro; then of course we need the actual pexpect package name for each distro. For Fedora it&apos;s python-pexpect, for CentOS I think it&apos;s pexpect (though that&apos;s for CentOS 6, I haven&apos;t checked 7).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54220</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-17 16:00:28 +0000</bug_when>
    <thetext>Ok - We can add a category called &quot;OE Self-Test Extras&quot; and in the verbiage I can explain that the packages are necessary to run the OE self-test stuff.  I will need the exact package names for each Distro:

 * Fedora - python-pexpect
 * Ubuntu and Debian - ???
 * CentOS - pexpect (others by Distro release????)
 * OpenSUSE - ???</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54225</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-17 16:34:28 +0000</bug_when>
    <thetext>I confirmed that:

OpenSuse = python-pexpect
Fedora = python-pexpect

And it looks like Ubuntu would also be python-pexpect as well. Needs confirmation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54288</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-18 16:15:44 +0000</bug_when>
    <thetext>I think this patch helps to be clear about what&apos;s going wrong when trying to import pexpect and is not there:

https://bugzilla.yoctoproject.org/buglist.cgi?cmdtype=runnamed&amp;namedcmd=YP-1.9-or-2.0-GDC-Open&amp;list_id=467314

Take into account that before this patch it would just say that buildoptions can&apos;t be imported instead of referring to the actual module it is missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54293</commentid>
    <comment_count>5</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-18 17:00:53 +0000</bug_when>
    <thetext>There is this other dependency that breaks the testing that should get the same treatment: GitPython.

Can we work it out as part of this same bug? should I file another?

Just as an FYI, GitPython OS install table is:

* Fedora: GitPython
* OpenSuse: python-GitPython
* Ubuntu: python-git</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54440</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-22 14:09:38 +0000</bug_when>
    <thetext>Probably handle it here as part of the same bug.  

So what are the final package dependencies we need to cover it all?

Ubuntu and Debian: python-pexpect, python-git
Fedora: python-pexpect, GitPython
CentOS: pexpect
OpenSUSE: python-pexpect, python-GitPython

Does this do it?  Is there another one for CentOS needed?

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54477</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-22 16:43:56 +0000</bug_when>
    <thetext>pexpect turns out to be an unused reference and it has been marked for removal so this means the bug might cover GitPython only.

The list would be:

Ubuntu and Debian: python-git
Fedora/CentOS: GitPython
OpenSUSE: python-GitPython

CentOS reference is added now there</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54557</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-23 15:38:25 +0000</bug_when>
    <thetext>Hi, 

I have added new sections in the ref-manual to cover the required packages when running oe-selftest.  You can see the changes at http://www.yoctoproject.org/docs/1.9/ref-manual/ref-manual.html#required-packages-for-the-host-development-system.  Please look them over and approve or correct.

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54560</commentid>
    <comment_count>9</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-23 15:49:54 +0000</bug_when>
    <thetext>It looks good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54573</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-23 17:36:44 +0000</bug_when>
    <thetext>Great - I am setting to RESOLVED/FIXED and turning the doc flag to &quot;Done.&quot;

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55918</commentid>
    <comment_count>11</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-28 13:49:32 +0000</bug_when>
    <thetext>Verified: is ok with me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>