<?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>11896</bug_id>
          
          <creation_ts>2017-08-04 09:51:29 +0000</creation_ts>
          <short_desc>checkpkg needs to have exemption in metadata</short_desc>
          <delta_ts>2017-08-17 10:31:56 +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>devtools / tool chain</component>
          <version>2.4</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</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>75646</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-08-04 09:51:29 +0000</bug_when>
    <thetext>The checkpkg selftest has to maintain a separate list of recipes that can&apos;t pass checkpkg&apos;s upgrade testing.  This isn&apos;t scalable to other layers as there is only a single exception list.

The checkpkg logic should have a variable that recipes can set to exclude themselves from the upgrade check.  This will speed up checkpkg, and allow tooling to tell between &quot;couldn&apos;t tell if there is an upgrade&quot; and &quot;we cannot tell if there is an upgrade&quot; (where the former could be fixed or be transient network failure).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75684</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-08-07 10:23:51 +0000</bug_when>
    <thetext>I think there is a need for two per-recipe variables actually:

UPSTREAM_CHECK_UNKNOWN - set if the upstream check fails reliably, e.g. absent git tags, or weird versions used on our or on upstream side. The upstream check test will treat this the same way it treats the exception list now - mismatches both ways will be reported as failures.

UPSTREAM_CHECK_UNRELIABLE - set if the upstream check cannot be reliably performed due to transient network failures, or server behaving weirdly. This one should be used sparingly, as it completely excludes a recipe from upstream checking. The upstream check test will never fail.


Agree?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75765</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-08-09 10:55:45 +0000</bug_when>
    <thetext>That seems reasonable, yes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>