<?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>11162</bug_id>
          
          <creation_ts>2017-03-15 10:13:39 +0000</creation_ts>
          <short_desc>yocto-compat-layer: filter out false positives (?)</short_desc>
          <delta_ts>2017-03-22 17:51:51 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</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.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.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>71301</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-03-15 10:13:39 +0000</bug_when>
    <thetext>When analysing meta-intel, the signature check fails for packagegroup-core-lsb and meta-world-pkgdata. Is the change in meta-world-pkgdata really a problem in the layer? It might be due to additional recipes that become part of a world build, which may or may not be allowed for a BSP layer (not sure myself).

If it is allowed by &quot;Yocto Compatibility 2.0&quot;, then the test tool needs to filter out that false positive.

Full output:

yocto-compat-layer.py -d /fast/work/meta-intel 
INFO: Detected layers:
INFO: meta-intel: LayerType.BSP, /fast/work/meta-intel
INFO: meta-tlk: LayerType.SOFTWARE, /fast/work/meta-intel/meta-tlk
INFO: 
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
INFO: 
INFO: Starting to analyze: meta-intel
INFO: ----------------------------------------------------------------------
INFO: test_bsp_defines_machines (bsp.BSPCompatLayer) ... ok
INFO: test_bsp_no_set_machine (bsp.BSPCompatLayer) ... ok
INFO: test_parse (common.CommonCompatLayer) ... ok
INFO: test_readme (common.CommonCompatLayer) ... ok
INFO: test_show_environment (common.CommonCompatLayer) ... ok
INFO: test_signatures (common.CommonCompatLayer) ... FAIL
INFO: skipped &quot;DistroCompatLayer: Layer meta-intel isn&apos;t Distro one.&quot;
INFO: 
INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCompatLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File &quot;/fast/work/poky/scripts/lib/compatlayer/cases/common.py&quot;, line 65, in test_signatures
    (self.tc.layer[&apos;name&apos;], detail))
AssertionError: True is not false : Layer meta-intel changed signatures.
packagegroup-core-lsb:do_build changed c933b18e073bcc97dae110b856354424 -&gt; 11deb486eea0428dd9b96640990e6606
packagegroup-core-lsb:do_package_write_rpm changed 1bc1a06f6d054e6b915f3a55b419c074 -&gt; 927a946c9df49cd741194b4b5910ff99
packagegroup-core-lsb:do_packagedata changed 8f948711b648a53f2715542d45ed21be -&gt; 7940f9361b3e46e2014738703bd88d08
packagegroup-core-lsb:do_package_qa changed 74390696ad32aec1c4a699aac0790874 -&gt; 14e027d9d76866f5b628bbb37734321d
meta-world-pkgdata:do_build changed aeab5df30d098cbddf2b1599f463f005 -&gt; 13f8803667d8e2e7d3779028521446fd
packagegroup-core-lsb:do_package changed a8a3700c3fb7d31e2a3db467c3fd598b -&gt; d2b15a26df2358fef1c609cf172387c4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71490</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-20 21:35:07 +0000</bug_when>
    <thetext>I added a explicit exclude of meta-world-pkgdata in signature comparison,

http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134382.html

Now the meta-intel layer passed, the other modifications in packagegroups seems related to other layer im working on #11164 to isolate the environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71491</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-20 21:38:19 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I added a explicit exclude of meta-world-pkgdata in signature comparison,
&gt; 
&gt; http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134382.
&gt; html
&gt; 
&gt; Now the meta-intel layer passed, the other modifications in packagegroups
&gt; seems related to other layer im working on #11164 to isolate the environment.

Log output,

INFO: Detected layers:
INFO: meta-intel: LayerType.BSP, ../meta-intel
INFO: meta-tlk: LayerType.SOFTWARE, ../meta-intel/meta-tlk
INFO:
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
INFO:
INFO: Starting to analyze: meta-intel
INFO: ----------------------------------------------------------------------
INFO: test_bsp_defines_machines (bsp.BSPCompatLayer) ... ok
INFO: test_bsp_no_set_machine (bsp.BSPCompatLayer) ... ok
INFO: test_parse (common.CommonCompatLayer) ... ok
INFO: test_readme (common.CommonCompatLayer) ... ok
INFO: test_show_environment (common.CommonCompatLayer) ... ok
INFO: test_signatures (common.CommonCompatLayer) ... ok
INFO: skipped &quot;DistroCompatLayer: Layer meta-intel isn&apos;t Distro one.&quot;
INFO:
INFO: ----------------------------------------------------------------------
INFO: Ran 6 tests in 34.412s
INFO:
INFO: OK (skipped=1)
INFO: Starting to analyze: meta-tlk
INFO: ----------------------------------------------------------------------
INFO: skipped &quot;BSPCompatLayer: Layer meta-tlk isn&apos;t BSP one.&quot;
INFO: test_parse (common.CommonCompatLayer) ... ok
INFO: test_readme (common.CommonCompatLayer) ... ok
INFO: test_show_environment (common.CommonCompatLayer) ... ok
INFO: test_signatures (common.CommonCompatLayer) ... skipped &quot;Layer meta-tlk isn&apos;t BSP or DISTRO one.&quot;
INFO: skipped &quot;DistroCompatLayer: Layer meta-tlk isn&apos;t Distro one.&quot;
INFO:
INFO: ----------------------------------------------------------------------
INFO: Ran 4 tests in 2.299s
INFO:
INFO: OK (skipped=3)
INFO:
INFO: Summary of results:
INFO:
INFO: meta-intel ... PASS
INFO: meta-tlk ... PASS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71595</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-22 17:51:51 +0000</bug_when>
    <thetext>Merge at,

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6786f662cd4a081c041f352118cd0d43e39f8270</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>