<?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>10284</bug_id>
          
          <creation_ts>2016-09-15 08:28:31 +0000</creation_ts>
          <short_desc>FTP failures on new cluster resulting in bitbake-selfcheck and checkuri failures</short_desc>
          <delta_ts>2016-10-14 02:03:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>2.2</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></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sjolley.yp.pm</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>66191</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-15 08:28:31 +0000</bug_when>
    <thetext>This is most easily observed in the failures of an otherwise green build #59[1].

The nightly-checkuri contains several log[2] entries like:

ERROR: alsa-utils-scripts-1.1.2-r0 do_checkuri: Function failed: Fetcher failure for URL: &apos;ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.2.tar.bz2&apos;. URL ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.2.tar.bz2 doesn&apos;t work
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/build/tmp/work/i586-poky-linux/alsa-utils-scripts/1.1.2-r0/temp/log.do_checkuri.39012
Log data follows:
| DEBUG: Executing python function do_checkuri
| DEBUG: Testing URL ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.2.tar.bz2
| DEBUG: checkstatus: trying again
| DEBUG: checkstatus() urlopen failed: &lt;urlopen error ftp error: TimeoutError(110, &apos;Connection timed out&apos;)&gt;
| DEBUG: Python function do_checkuri finished
| ERROR: Function failed: Fetcher failure for URL: &apos;ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.2.tar.bz2&apos;. URL ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.2.tar.bz2 doesn&apos;t work
NOTE: recipe alsa-utils-scripts-1.1.2-r0: task do_checkuri: Failed


1. http://autobuilder.yocto.io:8010/builders/nightly/builds/59
2. http://autobuilder.yocto.io:8010/builders/nightly-checkuri/builds/37/steps/BuildImages/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66590</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-26 16:17:13 +0000</bug_when>
    <thetext>Because of the way passive ftp works, opening up high ports at random, our security appliance is unhappy.

Options:
a) either turn off security appliance
b) setup proxy server in DMZ and setup proxy settings on all builders
c) recode recipes to use http or active ftp

b is preference

We may want to think about sun-setting FTP, if possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66949</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2016-10-05 17:00:56 +0000</bug_when>
    <thetext>I&apos;ve updated settings on the firewall and FTP failures have generally abated. While I still see failures when running wget in a loop the current state is good enough. The failures may be on the remote side based on the number of failures. Let&apos;s mark this working for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67040</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-10-07 15:14:47 +0000</bug_when>
    <thetext>Sadly the last builds on the autobuilder showed this issue. Not sure why but we&apos;re going to need to look into this further.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67250</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2016-10-14 02:03:17 +0000</bug_when>
    <thetext>I tried disabling the security appliance and the errors continued. I&apos;ve started to suspect routing or mtu issues.

For now I&apos;ve set up an ftp proxy on another network and enabled it for all workers except ubuntu1510 which is currently busy. I&apos;ll update it next.

This should solve the problem at least for now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>