<?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>12552</bug_id>
          
          <creation_ts>2018-02-15 15:50:38 +0000</creation_ts>
          <short_desc>checkuri fails in master</short_desc>
          <delta_ts>2018-03-09 06:08:09 +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>OE-Core</product>
          <component>core</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>79454</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-02-15 15:50:38 +0000</bug_when>
    <thetext>Summary: 5 tasks failed:
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-extended/pax/pax_3.4.bb:do_checkuri
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-devtools/zisofs-tools/zisofs-tools-native_1.0.8.bb:do_checkuri
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-extended/lsb/lsbinitscripts_9.72.bb:do_checkuri
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-extended/man/man_1.6g.bb:do_checkuri
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/recipes-kernel/latencytop/latencytop_0.5.bb:do_checkuri


All failing in the fetcher:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:do_checkuri(d)
     0003:
File: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/meta/classes/utility-tasks.bbclass&apos;, lineno: 48, function: do_checkuri
     0044:        return
     0045:
     0046:    try:
     0047:        fetcher = bb.fetch2.Fetch(src_uri, d)
 *** 0048:        fetcher.checkstatus()
     0049:    except bb.fetch2.BBFetchException as e:
     0050:        bb.fatal(str(e))
     0051:}
     0052:
File: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/bitbake/lib/bb/fetch2/__init__.py&apos;, lineno: 1739, function: checkstatus
     1735:            mirrors = mirror_from_string(self.d.getVar(&apos;PREMIRRORS&apos;))
     1736:            ret = try_mirrors(self, self.d, ud, mirrors, True)
     1737:            if not ret:
     1738:                # Next try checking from the original uri, u
 *** 1739:                ret = m.checkstatus(self, ud, self.d)
     1740:                if not ret:
     1741:                    # Finally, try checking uri, u, from MIRRORS
     1742:                    mirrors = mirror_from_string(self.d.getVar(&apos;MIRRORS&apos;))
     1743:                    ret = try_mirrors(self, self.d, ud, mirrors, True)
File: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/bitbake/lib/bb/fetch2/wget.py&apos;, lineno: 336, function: checkstatus
     0332:                add_basic_auth(&quot;%s:%s&quot; % (login, password), r)
     0333:            except (TypeError, ImportError, IOError, netrc.NetrcParseError):
     0334:                 pass
     0335:
 *** 0336:            with opener.open(r) as response:
     0337:                pass
     0338:        except urllib.error.URLError as e:
     0339:            if try_again:
     0340:                logger.debug(2, &quot;checkstatus: trying again&quot;)
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 532, function: open
     0528:        # post-process response
     0529:        meth_name = protocol+&quot;_response&quot;
     0530:        for processor in self.process_response.get(protocol, []):
     0531:            meth = getattr(processor, meth_name)
 *** 0532:            response = meth(req, response)
     0533:
     0534:        return response
     0535:
     0536:    def _open(self, req, data=None):
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 642, function: http_response
     0638:        # According to RFC 2616, &quot;2xx&quot; code indicates that the client&apos;s
     0639:        # request was successfully received, understood, and accepted.
     0640:        if not (200 &lt;= code &lt; 300):
     0641:            response = self.parent.error(
 *** 0642:                &apos;http&apos;, request, response, code, msg, hdrs)
     0643:
     0644:        return response
     0645:
     0646:    https_response = http_response
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 564, function: error
     0560:            dict = self.handle_error
     0561:            meth_name = proto + &apos;_error&apos;
     0562:            http_err = 0
     0563:        args = (dict, proto, meth_name) + args
 *** 0564:        result = self._call_chain(*args)
     0565:        if result:
     0566:            return result
     0567:
     0568:        if http_err:
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 504, function: _call_chain
     0500:        # could.  Otherwise, they return the response.
     0501:        handlers = chain.get(kind, ())
     0502:        for handler in handlers:
     0503:            func = getattr(handler, meth_name)
 *** 0504:            result = func(*args)
     0505:            if result is not None:
     0506:                return result
     0507:
     0508:    def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
File: &apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-checkuri/build/bitbake/lib/bb/fetch2/wget.py&apos;, lineno: 279, function: http_error_405
     0275:                                  if k.lower() not in (&quot;content-length&quot;, &quot;content-type&quot;))
     0276:                return self.parent.open(urllib.request.Request(req.get_full_url(),
     0277:                                                        headers=newheaders,
     0278:                                                        origin_req_host=req.origin_req_host,
 *** 0279:                                                        unverifiable=True))
     0280:
     0281:            &quot;&quot;&quot;
     0282:            Some servers (e.g. GitHub archives, hosted on Amazon S3) return 403
     0283:            Forbidden when they actually mean 405 Method Not Allowed.
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 532, function: open
     0528:        # post-process response
     0529:        meth_name = protocol+&quot;_response&quot;
     0530:        for processor in self.process_response.get(protocol, []):
     0531:            meth = getattr(processor, meth_name)
 *** 0532:            response = meth(req, response)
     0533:
     0534:        return response
     0535:
     0536:    def _open(self, req, data=None):
File: &apos;/usr/lib/python3.6/urllib/request.py&apos;, lineno: 642, function: http_response
     0638:        # According to RFC 2616, &quot;2xx&quot; code indicates that the client&apos;s
     0639:        # request was successfully received, understood, and accepted.
     0640:        if not (200 &lt;= code &lt; 300):
     0641:            response = self.parent.error(
 *** 0642:                &apos;http&apos;, request, response, code, msg, hdrs)
     0643:
     0644:        return response
     0645:
     0646:    https_response = http_response
[ ... ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79775</commentid>
    <comment_count>1</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2018-03-09 04:51:43 +0000</bug_when>
    <thetext>The checkuril log looks a bit confusing:

-------
zisofs-tools was removed on Feb 12:

commit d594496190c0a4009a7690adbf54e80a95f36642
Author: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Date:   Mon Feb 12 13:05:16 2018 +0200

    image-live.bbclass: drop support for compressed ISO images
    
    While modern Linux kernels still support it, the userspace tools
    haven&apos;t been updated in over a decade. Also, squashfs provides
    both better performance, and better compression ratio:
    
    https://elinux.org/Squash_Fs_Comparisons
    
    (From OE-Core rev: 9443981d3934b366e39404719486d2b34d8a9d73)
    
    Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
    Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
-------

pax was removed on Feb 12

commit 1dd146d5acd6bb4c0d65045071e2fd27590b8df4
Author: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Date:   Mon Feb 12 13:05:15 2018 +0200

    pax: remove the recipe
    
    The situation with pax (vs. tar and cpio) is perfectly described here:
    https://xkcd.com/927/
    
    The only reason pax is still around, kind of, is because both POSIX and LSB
    mandate it. Outside of those documents, it&apos;s not used by anyone.
    
    Meanwhile, the upstream URI we&apos;ve been taking it from went down, and rather
    than seek an alternative source, I just went ahead and removed the recipe.
    
    (From OE-Core rev: a62a7e11274c4965e122ed5bf01024cae8437af0)
    
    Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
    Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

-----

latencytop was removed on March 1

commit bcbc7bbc4fb967d8d4ae6333f71b73491a80b94e
Author: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Date:   Thu Mar 1 16:00:41 2018 +0200

    latencytop: remove recipe
    
    Last commit and release were in 2009; website is down; it&apos;s a dead project.
    
    (From OE-Core rev: 36aae56e7f86a4d5ce93e4528e7dcc42f60c705e)
    
    Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
    Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

------

man was replaced with man-db on Feb 12

commit d9046f8fd88108b006bf0615d56a826552b986a2
Author: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Date:   Mon Feb 12 13:05:18 2018 +0200

    man-db: replace the outdated man implementation
    
    Until now oe-core has been using a well obsolete implementation of man.
    
    Man-db on the other hand is used by all modern Linux distros, is actively
    maintained, has a standard build system, and does not require 30 patches
    to build.
    
    (From OE-Core rev: 69e549a841a1681f927667f5017a1cd669ac9914)
    
    Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
    Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79776</commentid>
    <comment_count>2</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2018-03-09 05:35:26 +0000</bug_when>
    <thetext>In the case of sbinitscripts, 

&quot;pkgs.fedoraproject.org&quot; redirects to &quot;https://src.fedoraproject.org&quot;. It will be good to update SRC_URI to reflect it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79777</commentid>
    <comment_count>3</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2018-03-09 06:08:09 +0000</bug_when>
    <thetext>Alex has already sent a fix/upgrade for lsbinitscripts.
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148046.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>