<?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>8961</bug_id>
          
          <creation_ts>2016-01-20 17:05:36 +0000</creation_ts>
          <short_desc>sudoku-savant does not get downloaded correctly</short_desc>
          <delta_ts>2017-01-12 16:25:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.0.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://errors.yoctoproject.org/Errors/Details/27469/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Yi Zhao">yi.zhao</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>58004</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-01-20 17:05:36 +0000</bug_when>
    <thetext>Core error seems to be that wget is failing to get the tarball correctly.

The actual size is 232K, but it&apos;s trying to download 91M!

Saving to: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testimage-sdk//sudoku/sudoku-savant-1.3.tar.bz2&apos;

     0K                                                       100% 91.4M=0s

2016-01-15 12:58:53 (91.4 MB/s) - &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testimage-sdk//sudoku/sudoku-savant-1.3.tar.bz2&apos; saved [639/639]

bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ERROR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66397</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-09-21 06:41:21 +0000</bug_when>
    <thetext>Actually the 91M is not the size but the download speed calculate by wget (91.4 MB/s). Because it downloads a 639 Bytes file in a short time that make the download speed is very high. (I guess this file is an error page) 

When download file from the sourceforge, the server will redirect to a mirror and return the new URL to the client. But seems like the server returns a wrong URL:

Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|54.240.190.157|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/#!/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2 [following]  


The correct server response should be like below:

Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://heanet.dl.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2 [following]


So this issue maybe caused by a server error for sourceforge. But if it happens frequently, we can change the original URL to a mirror for download.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69757</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-01-12 16:23:21 +0000</bug_when>
    <thetext>This seems to be working at the moment, we can reopen if we start having problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69758</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-01-12 16:25:33 +0000</bug_when>
    <thetext>FWIW oe-core 5e52f208a17e7122209675fa96de6e7807c62feb and 4a81b3f669073455c9b2ee1514c43b96df9f7faa removed soduku-savant from the test suites.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>