<?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>4506</bug_id>
          
          <creation_ts>2013-05-17 07:56:40 +0000</creation_ts>
          <short_desc>bitbake self-tests for fetcher fail on python 2.6</short_desc>
          <delta_ts>2013-10-07 13:33:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</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>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Stanacar">sstncr</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>33129</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-05-17 07:56:40 +0000</bug_when>
    <thetext>There are two problems in lib/bb/tests/fetch.py:

@unittest.skipIf(os.environ.get(&quot;BB_SKIP_NETTESTS&quot;) == &quot;yes&quot;,
AttributeError: &apos;module&apos; object has no attribute &apos;skipIf&apos;


and:

File &quot;/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly/build/bitbake/lib/bb/tests/fetch.py&quot;, line 146, in test_gitfetch_premirror3
    subprocess.check_output(&quot;git clone %s %s 2&gt; /dev/null&quot; % (realurl, self.sourcedir), shell=True)


Both unittest.skipIf and subprocess.check_output are new in python 2.7

http://autobuilder.yoctoproject.org:8011/builders/nightly/builds/109/steps/Running%20bitbake-selftest/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly/builds/110/steps/Running%20bitbake-selftest/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33195</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-05-22 10:44:46 +0000</bug_when>
    <thetext>Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=350c36fcd97e8ef223b91e548d39c346c1c4cb29</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37681</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-10-07 13:33:00 +0000</bug_when>
    <thetext>Marking as Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>