<?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>16285</bug_id>
          
          <creation_ts>2026-05-15 08:49:59 +0000</creation_ts>
          <short_desc>AB-INT: check-layer: unexplained changed signatures</short_desc>
          <delta_ts>2026-11-12 16:01:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Test Plans/Suite</product>
          <component>test-plans/suite</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Paul Barker">paul</assigned_to>
          <cc>paul</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yoann.congal</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>105458</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-15 08:49:59 +0000</bug_when>
    <thetext>We got a few failures of check-layer on both master-next and mathieu/master-next in the last days, and I can&apos;t understand what is the issue.

INFO: test_signatures (common.CommonCheckLayer.test_signatures)
INFO:  ... FAIL

Stdout:
Loading cache...done.
Loaded 1992 entries from dependency cache.
INFO: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/check-layer/build/layers/openembedded-core/scripts/lib/checklayer/cases/common.py&quot;, line 141, in test_signatures
    self.fail(&apos;Adding layer %s changed signatures.\n%s&apos; % (self.tc.layer[&apos;name&apos;], msg))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Adding layer meta changed signatures.
59 signatures changed, initial differences (first hash before, second after):
   busybox:do_recipe_qa: 7179671a25cf50a259e667e565b959c78711c629ff4882216a332426f3d6206e -&gt; ae5900e39ac275822744f241eefc7f0e707e43e03fd3107d82b5190e4a4e6da9
      bitbake-diffsigs --task busybox do_recipe_qa --signature 7179671a25cf50a259e667e565b959c78711c629ff4882216a332426f3d6206e ae5900e39ac275822744f241eefc7f0e707e43e03fd3107d82b5190e4a4e6da9
      NOTE: Reconnecting to bitbake server...


So first, I&apos;m surprised as this is intermittent.
Second, I believe I&apos;m missing a point here: does changed signatures when &quot;meta&quot; is added make any sense? I understand &quot;meta&quot; as oe-core base layer, but without it we don&apos;t have any recipe, so how can we have signature changes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105461</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-15 08:53:24 +0000</bug_when>
    <thetext>check-layer alma8-vk-1 mathieu/master-next completed at 2026-05-11 08:32:38+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3797/steps/13/logs/stdio

check-layer ubuntu2204-vk-1 master-next completed at 2026-05-13 14:11:14+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3811/steps/12/logs/stdio

check-layer debian13-vk-2 master-next completed at 2026-05-14 00:57:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3814/steps/12/logs/stdio

check-layer debian12-vk-3 mathieu/master-next completed at 2026-05-14 19:36:17+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3819/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105477</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-05-16 12:20:54 +0000</bug_when>
    <thetext>check-layer ubuntu2404-vk-3 mathieu/master-next completed at 2026-05-15 16:55:37+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3839/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105488</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-05-19 08:33:45 +0000</bug_when>
    <thetext>I added some debug code to master-next doing two things, firstly printing the exact signature differences and secondly preserving copies of all the locked sigs files. The build with the debug code failed here:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3846

What is interesting is that there are just two signature differences listed:

busybox:do_build changed 24e50a9a588e82050ef54ba288ac26e89b4b87e987685daacb06eb0a9dac1a3d -&gt; c51657bb62a756c888d3acd1a5c6d9314cdc9aabc5e3c39ae1e717b73082bef5
busybox:do_populate_lic changed 4d27231de439cb257cf4ab552f5930f9fa9cd9ea33bbf9439af700c701f5cdc5 -&gt; 363d7616636e03eb7bbfe2fae8da727cd16ca7610a8ee9bb2b937db36e6dbf65

do_build depends on do_populate_lic so that is expected. What is interesting is the do_populate_lic changes alone, no change in do_fetch.

The diffsigs output is therefore misleading as not all those signatures actually changed, just do_populate_lic.

Looking on disk at the failed build directory in ~/yocto-worker/check-layer/build/build/tmp/stamps/x86-64-v3-oe-linux/busybox/

we see:

-rw-rw-r--   1 pokybuild pokybuild 12608 May 19 00:19 1.38.0.do_populate_lic.sigdata.363d7616636e03eb7bbfe2fae8da727cd16ca7610a8ee9bb2b937db36e6dbf65
-rw-rw-r--   1 pokybuild pokybuild 12558 May 18 23:07 1.38.0.do_populate_lic.sigdata.4d27231de439cb257cf4ab552f5930f9fa9cd9ea33bbf9439af700c701f5cdc5

decompressing these with zstd, the piping through jq to add line breaks, we can see:

@@ -478,7 +478,7 @@
   },
   &quot;taskhash&quot;: &quot;4d27231de439cb257cf4ab552f5930f9fa9cd9ea33bbf9439af700c701f5cdc5&quot;,
   &quot;taskhash_ignore_tasks&quot;: null,
-  &quot;unihash&quot;: &quot;363d7616636e03eb7bbfe2fae8da727cd16ca7610a8ee9bb2b937db36e6dbf65&quot;,
+  &quot;unihash&quot;: &quot;4d27231de439cb257cf4ab552f5930f9fa9cd9ea33bbf9439af700c701f5cdc5&quot;,
   &quot;varvals&quot;: {
     &quot;BP&quot;: &quot;${BPN}-${PV}&quot;,
     &quot;BPN&quot;: &quot;${@oe.utils.prune_suffix(d.getVar(&apos;PN&apos;), d.getVar(&apos;SPECIAL_PKGSUFFIX&apos;).split(), d)}&quot;,

i.e. the taskhashes were the same but somehow a unihash match up was found.

Given unihashes should be disabled in check-layer, this looks like the cause of the issues. The question therefore becomes, how is unihash somehow getting briefly enabled during the tests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105497</commentid>
    <comment_count>4</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-05-19 21:51:20 +0000</bug_when>
    <thetext>check-layer opensuse160-vk-1 wrynose completed at 2026-05-19 16:38:08+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3851</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105552</commentid>
    <comment_count>5</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-05-22 13:49:42 +0000</bug_when>
    <thetext>check-layer ubuntu2404-vk-1 master-next&amp;master completed at 2026-05-19 00:23:39+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3846/steps/12/logs/stdio

check-layer opensuse156-vk-1 master completed at 2026-05-19 02:24:19+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3847/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105896</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-16 07:23:49 +0000</bug_when>
    <thetext>check-layer debian12-vk-2 mathieu/master-next-tests&amp;mathieu/master-next completed at 2026-06-15 09:24:13+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3997/steps/12/logs/stdio

check-layer alma8-vk-2 master&amp;master-next completed at 2026-06-12 14:55:38+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3983/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105954</commentid>
    <comment_count>7</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-06-19 07:22:23 +0000</bug_when>
    <thetext>check-layer debian12-vk-4 contrib/ycongal/wrynose-nut completed at 2026-06-18 17:21:02+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/27/builds/4025</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106096</commentid>
    <comment_count>8</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-07-04 21:28:13 +0000</bug_when>
    <thetext>check-layer alma8-vk-2 wrynose completed at 2026-07-04 14:25:01+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4138</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106116</commentid>
    <comment_count>9</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-08 12:29:08 +0000</bug_when>
    <thetext>check-layer ubuntu2204-vk-3 master&amp;master-next completed at 2026-07-06 22:53:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4158/steps/12/logs/stdio

check-layer debian12-vk-5 master&amp;master-next completed at 2026-07-07 12:40:30+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4162/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106234</commentid>
    <comment_count>10</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-21 09:09:04 +0000</bug_when>
    <thetext>check-layer alma8-vk-2 stable/2.18-nut&amp;stable/wrynose-nut completed at 2026-07-04 14:25:01+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4138/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106269</commentid>
    <comment_count>11</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-07-22 15:09:00 +0000</bug_when>
    <thetext>check-layer debian11-vk-1 mathieu/master-next completed at 2026-07-21 19:23:20+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4247/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106565</commentid>
    <comment_count>12</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-20 05:34:35 +0000</bug_when>
    <thetext>check-layer alma10-vk-1 mathieu/master-next completed at 2026-08-19 10:23:53+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4494/steps/14/logs/stdio

This was on a branch that failed to build, but looks unrelated to these failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106655</commentid>
    <comment_count>13</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-27 06:21:11 +0000</bug_when>
    <thetext>check-layer rocky10-vk-1 mathieu/master-next-tests&amp;mathieu/master-next completed at 2026-08-26 19:56:36+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4563/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107104</commentid>
    <comment_count>14</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-10-19 06:47:15 +0000</bug_when>
    <thetext>check-layer ubuntu2204-vk-1 wrynose completed at 2026-10-18 23:59:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4917


INFO: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/check-layer/build/layers/openembedded-core/scripts/lib/checklayer/cases/common.py&quot;, line 141, in test_signatures
    self.fail(&apos;Adding layer %s changed signatures.\n%s&apos; % (self.tc.layer[&apos;name&apos;], msg))
AssertionError: Adding layer meta changed signatures.
59 signatures changed, initial differences (first hash before, second after):
   busybox:do_recipe_qa: b7d75a012f50702647f54f4f2ca302a78368e9582af8160a91d07bd622a54e04 -&gt; ae5900e39ac275822744f241eefc7f0e707e43e03fd3107d82b5190e4a4e6da9
      bitbake-diffsigs --task busybox do_recipe_qa --signature b7d75a012f50702647f54f4f2ca302a78368e9582af8160a91d07bd622a54e04 ae5900e39ac275822744f241eefc7f0e707e43e03fd3107d82b5190e4a4e6da9
      NOTE: Reconnecting to bitbake server...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107109</commentid>
    <comment_count>15</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-19 07:36:03 +0000</bug_when>
    <thetext>check-layer debian11-vk-3 mathieu/master-next completed at 2026-10-17 08:57:36+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4911/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107184</commentid>
    <comment_count>16</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-26 10:01:27 +0000</bug_when>
    <thetext>check-layer stream9-vk-1 master completed at 2026-10-25 02:01:38+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4961/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107268</commentid>
    <comment_count>17</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-11-02 10:46:47 +0000</bug_when>
    <thetext>A different but similar error now:
check-layer rocky8-vk-1 mathieu/master-next-tests&amp;mathieu/master-next completed at 2026-10-27 10:44:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4970/steps/15/logs/stdio

check-layer fedora45-vk-1 master completed at 2026-10-28 01:42:58+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/4974/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107280</commentid>
    <comment_count>18</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-11-03 09:08:23 +0000</bug_when>
    <thetext>check-layer debian11-vk-1 blacksail completed at 2026-11-02 23:52:39+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/5005

| basehash changed from 63f194f6592c45ecc0fea61c19aaf35d00f6450266d773f00def99ac3a38f6c4 to 73cd7f03b0b23f4176562e05b09f3365d2e451187cec3143a0b0883726d93676
| Variable SRC_URI value changed:
| &quot;https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball            [...]            [-file://sha_accel.cfg-]&quot;

Note: sha_accel.cfg is added via a x86_64 override
| meta/recipes-core/busybox/busybox_1.38.0.bb
| 65:SRC_URI:append:x86-64 = &quot; file://sha_accel.cfg&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107343</commentid>
    <comment_count>19</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-11-09 08:53:56 +0000</bug_when>
    <thetext>check-layer ubuntu2404-vk-3 master completed at 2026-11-08 01:44:13+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/5048/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107376</commentid>
    <comment_count>20</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-11-11 15:51:24 +0000</bug_when>
    <thetext>check-layer rocky10-vk-1 master completed at 2026-11-11 02:09:14+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/5064/steps/14/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>