<?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>933</bug_id>
          
          <creation_ts>2011-03-25 15:18:25 +0000</creation_ts>
          <short_desc>Add a build profile which checks the things which may need a proxy</short_desc>
          <delta_ts>2011-07-07 10:15:22 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Code under review</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Stewart">david.c.stewart</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>josh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12992</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2011-03-25 15:18:25 +0000</bug_when>
    <thetext>So the next best thing to actually fixing our proxy woes in poky would be a build target which checks things out quickly.

We should be able to do something like:

bitbake check-network

... which would run through all of the supported fetcher backends, check them by fetching something from the internet (maybe even just from a yoctoproject.org location) and make sure each of them work.

If one of them fails, the error message should be something helpful like &quot;failed to fetch from a remote git repository. You might want to be sure that the git command can access the internet and that there is no firewall blocking it. Go to this URL to find a potential solution... &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13478</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-04-28 14:51:43 +0000</bug_when>
    <thetext>*** Bug 1014 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13480</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-04-28 14:55:02 +0000</bug_when>
    <thetext>We should be able to add such checking into the sanity tests (so that it&apos;s run automatically). As this will potentially be a lengthy test we can use the
check_sanity_tmpdir_change() sanity check harness such that it&apos;s only run when the tmpdir location has changed.

It would probably be a nice idea to allow people to disable this test in their local.conf rather than running the test each time a new build dir is used.

Alternatively we may consider adding a new sanity test harness for &quot;first run&quot; or some such which doesn&apos;t rely on any changeable configuration - however this could easily be a part 2 patch implemented later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13485</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-04-28 16:33:46 +0000</bug_when>
    <thetext>I have a first stab at this. Before we can merge it we&apos;ll need a list of uris we can rely on to fetch from (http/https/ftp/git) and to populate the wiki page: https://wiki.yoctoproject.org/wiki/ConnectivityTroubleshooting

The code I have only checks http and https for now, feedback gratefully received!

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=josh/proxy-test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13551</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-03 10:42:19 +0000</bug_when>
    <thetext>Based on some feedback from Richard I&apos;ve updated the patch and pushed it to the same contrib branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13731</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-12 14:40:15 +0000</bug_when>
    <thetext>I have a set of URL&apos;s to use:

https://eula-downloads.yoctoproject.org/

http://yoctoproject.org/

git://git.yoctoproject.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14344</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-06-17 20:05:33 +0000</bug_when>
    <thetext>Code out for review on the oe-core mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14594</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 10:15:22 +0000</bug_when>
    <thetext>Patch merged

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9569e2b3471e0c61f2f105f8d611a1ba71cd93d0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>