<?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>14277</bug_id>
          
          <creation_ts>2021-03-04 22:24:58 +0000</creation_ts>
          <short_desc>oe-selftest: test_maintainers fails with oe-core works with poky</short_desc>
          <delta_ts>2021-04-18 10:47:19 +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>oe-core other</component>
          <version>3.3</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>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy MacLeod">randy.macleod</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <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>89504</commentid>
    <comment_count>0</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-04 22:24:58 +0000</bug_when>
    <thetext>If you run:

oe-selftest -r distrodata.Distrodata.test_maintainers

using poky:
   c8075ed8f1 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes
it passes:
   2021-03-04 17:13:37,706 - oe-selftest - INFO - Ran 1 test in 113.987s
   2021-03-04 17:13:37,706 - oe-selftest - INFO - OK
   2021-03-04 17:13:44,049 - oe-selftest - INFO - RESULTS:
   2021-03-04 17:13:44,050 - oe-selftest - INFO - RESULTS - distrodata.Distrodata.test_maintainers: PASSED (111.00s)
   2021-03-04 17:13:44,050 - oe-selftest - INFO - SUMMARY:
   2021-03-04 17:13:44,051 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 113.988s
   2021-03-04 17:13:44,051 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

but with oe-core:

   6db24928d6 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes
and bitbake:
   d0f5c590 fetch2/wget: Avoid crashing when connection drops mid checkstatus

it fails due to the error:
   2021-03-04 17:21:32,878 - oe-selftest - INFO - ======================================================================
   2021-03-04 17:21:32,878 - oe-selftest - INFO - FAIL: test_maintainers (distrodata.Distrodata)
   2021-03-04 17:21:32,878 - oe-selftest - INFO - ----------------------------------------------------------------------
   2021-03-04 17:21:32,879 - oe-selftest - INFO - Traceback (most recent call last):
     File &quot;/buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/lib/oeqa/selftest/cases/distrodata.py&quot;, line 116, in test_maintainers
       self.fail(&quot;&quot;&quot;
   AssertionError: 
   Unable to find recipes for the following entries in maintainers.inc:
   libdnf
   dnf

   Stdout:
   WARNING: Duplicate inclusion for /buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/conf/distro/include/maintainers.inc in /buildarea/rmacleod/src/distro/yocto/oe-core.git/meta/conf/distro/defaultsetup.conf
   Loading cache...done.
   Loaded 0 entries from dependency cache.
   Parsing recipes...done.
   Parsing of 850 .bb files complete (0 cached, 850 parsed). 1478 targets, 24 skipped, 0 masked, 0 errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89941</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-04-15 13:14:22 +0000</bug_when>
    <thetext>Issue is caused by different PACKAGE_CLASSES defaults between OE-Core and poky. Patch sent to  make it work in both cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89985</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-04-18 10:47:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=84a6d97670d6ec0589b2591b4a660b3b069e21cb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>