<?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>5997</bug_id>
          
          <creation_ts>2014-03-18 14:55:20 +0000</creation_ts>
          <short_desc>Build must work even if git is blocked by a firewall</short_desc>
          <delta_ts>2014-09-22 14:53:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Test Plans/Suite</product>
          <component>test-plans/suite</component>
          <version>1.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.7 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Stewart">david.c.stewart</reporter>
          <assigned_to name="Mihail Stanciu">stanciux.mihail</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>41378</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2014-03-18 14:55:20 +0000</bug_when>
    <thetext>If git is blocked due to proxy issues, the system should fall back to a source mirror. (In fact, I thought this worked in the past, so I believe this is a regression).

Make sure this is a permanent part of automated testing. If that&apos;s hard, add it to manual testing until it&apos;s automated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42302</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-04-04 15:31:17 +0000</bug_when>
    <thetext>This has been confirmed to work on 1.6, marking this as an enhancement for the 1.7 testing plans.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44822</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-07-30 08:29:09 +0000</bug_when>
    <thetext>after a short talk with Paul, a first test would be to block before a build the git using the firewall, then see if a build (e.g. minimal) can be completed using the fallback source mirrors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45330</commentid>
    <comment_count>3</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2014-08-29 09:36:40 +0000</bug_when>
    <thetext>Sorry for this, but I am having trouble understanding the original intent of this test (or possibly something was lost in translation)

Do you want this test to check that:

1) if git isn&apos;t working, build completes by getting the needed packages by another method (wget, ftp or whatnot)

or

2) if the git source location (git.yoctoproject.org for example) isn&apos;t working, it switches to a different download mirror (say a local mirror you&apos;ve set up in advance)

I hope I was coherent enough in my description.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45350</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-09-01 13:05:54 +0000</bug_when>
    <thetext>The first thing - that if git isn&apos;t working, the http mirrors have the necessary artifacts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45517</commentid>
    <comment_count>5</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2014-09-10 12:13:20 +0000</bug_when>
    <thetext>Test case proposed:
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1058

Feedback would be appreciated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45678</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-09-18 15:14:40 +0000</bug_when>
    <thetext>Just looking over the test case:

1) It doesn&apos;t specify the starting condition - unless you already assume this for all test cases, you need to ensure you start with these recipes unfetched (so perhaps a bitbake -c cleanall &lt;recipe&gt; first, or alternatively state that you should start completely clean with an empty DL_DIR and TMPDIR)

2) Rather than offering a choice we should be explicit about what needs to be tested. If we&apos;re starting completely clean then I&apos;d say bitbake -c fetchall core-image-sato would be a good target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45741</commentid>
    <comment_count>7</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2014-09-22 12:05:27 +0000</bug_when>
    <thetext>Comments noted. Test case has been updated.

Marking as resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45745</commentid>
    <comment_count>8</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2014-09-22 14:53:46 +0000</bug_when>
    <thetext>Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>