<?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>16170</bug_id>
          
          <creation_ts>2026-02-12 12:18:08 +0000</creation_ts>
          <short_desc>yocto-check-layer: test never ends on broken layers</short_desc>
          <delta_ts>2026-02-19 15:42:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Tooling</product>
          <component>tooling</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>paul</cc>
    
    <cc>randy.macleod</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>104245</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-12 12:18:08 +0000</bug_when>
    <thetext>In some conditions, yocto-check-layer common.CommonCheckLayer.test_signatures test never finishes or at least not in a reasonable amount of time.

This is seen on the autobuilder with meta-virtualization:
&gt; INFO: test_signatures (common.CommonCheckLayer)
&gt; 
&gt; command timed out: 16200 seconds without output running [b&apos;/srv/pokybuild/yocto-worker/check-layer-nightly/yocto-autobuilder-helper/scripts/run-config&apos;, b&apos;check-layer-nightly&apos;, b&apos;/srv/pokybuild/yocto-worker/check-layer-nightly/build/build&apos;, b&apos;master&apos;, b&apos;ssh://git@push.yoctoproject.org/poky&apos;, b&apos;--sstateprefix&apos;, b&apos;&apos;, b&apos;--buildappsrcrev&apos;, b&apos;&apos;, b&apos;--publish-dir&apos;, b&apos;&apos;, b&apos;--build-type&apos;, b&apos;quick&apos;, b&apos;--workername&apos;, b&apos;debian11-vk-1&apos;, b&apos;--build-url&apos;, b&apos;https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/976&apos;, b&apos;--results-dir&apos;, b&apos;/srv/autobuilder/valkyrie.yocto.io/pub/non-release/20260211-3/testresults&apos;, b&apos;--quietlogging&apos;, b&apos;--stepname&apos;, b&apos;cmds&apos;, b&apos;--phase&apos;, b&apos;7&apos;], attempting to kill
&gt; process killed by signal 9

But it can also easily be reproduced locally with:
&gt; yocto-check-layer-wrapper ../meta-virtualization --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python ../meta-openembedded/meta-filesystems --no-auto-dependency

We know that current master branch on meta-virtualization is broken, but yocto-check-layer should still report errors instead of being stuck.

Breaking commit in meta-virtualization: https://git.yoctoproject.org/meta-virtualization/commit/?id=6f53d7763906f24d86e89da4da744421c52d591c

Code is stuck get_depgraph() while waiting for tifoil to finish running the &quot;generateDepTreeEvent&quot; command. I added some traces: we are receiving events, but none allowing to get out of the &quot;while&quot; loop.
https://git.openembedded.org/openembedded-core/tree/scripts/lib/checklayer/__init__.py#n367

Looking at bitbake-cookerdaemon.log, it looks like the command did finish and some reply was sent. So probably some logic is wrong somewhere in interpreting this rely.
&gt; 2149754 13:14:50.133747 Running command [&apos;generateDepTreeEvent&apos;, [&apos;world&apos;], &apos;do_build&apos;]
&gt; 2149754 13:14:50.133787 Registering idle function &lt;bound method Command.runAsyncCommand of &lt;bb.command.Command object at 0x7f66dfe61fd0&gt;&gt;
&gt; 2149754 13:14:50.133794 Sending reply (True, None)
&gt; 2149754 13:14:50.133827 Command Completed (socket: True)
&gt; 2149754 13:14:51.133844 Parsing completed
&gt; 2149754 13:14:52.380348 Removing idle function &lt;bound method Command.runAsyncCommand of &lt;bb.command.Command object at 0x7f66dfe61fd0&gt;&gt; at idleFinish

Stopping investigations here for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104246</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-12 12:19:18 +0000</bug_when>
    <thetext>check-layer-nightly debian11-vk-1 master completed at 2026-02-11 06:49:50+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/976/steps/24/logs/stdio

check-layer-nightly debian13-vk-1 master completed at 2026-02-12 05:29:53+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/977/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104260</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-02-12 15:51:33 +0000</bug_when>
    <thetext>Two issues:
 1. meta-virt should pass (M+)
 2. yocto-check-layer should not hang (High).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104265</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2026-02-12 16:13:14 +0000</bug_when>
    <thetext>FWIW. I&apos;m seeing the same thing on my local runs, it hangs at the same point and never continues.

Whether I use the wrapper, the tool directly, etc, has no impact. But I can run the bitbake commands directly and they complete in the expected amount of time.

I found there were some pipe and other issues and maybe a timetout involved, but ran out of time to debug it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104308</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-15 20:41:52 +0000</bug_when>
    <thetext>I have a proposed fix:
https://git.openembedded.org/openembedded-core-contrib/log/?h=timo/checklayer-16170

Pending the outcome of a test run:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/986</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104309</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-15 22:12:59 +0000</bug_when>
    <thetext>https://lists.openembedded.org/g/openembedded-core/message/231171</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104312</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-16 11:47:27 +0000</bug_when>
    <thetext>check-layer-nightly debian12-vk-7 master completed at 2026-02-13 05:30:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/980/steps/24/logs/stdio

check-layer-nightly ubuntu2204-vk-4 master completed at 2026-02-14 05:40:47+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/982/steps/24/logs/stdio

check-layer-nightly debian12-vk-7 master completed at 2026-02-15 05:30:19+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/983/steps/24/logs/stdio

check-layer-nightly ubuntu2404-vk-2 master completed at 2026-02-16 05:33:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/987/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104340</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-17 23:01:49 +0000</bug_when>
    <thetext>These most recent runs are without my patch applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104343</commentid>
    <comment_count>8</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-02-19 08:38:34 +0000</bug_when>
    <thetext>The patch is still not applied on master, so following failures are expected:

check-layer-nightly fedora40-vk-4 master completed at 2026-02-19 05:38:38+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/993/steps/24/logs/stdio

check-layer-nightly debian12-vk-5 master completed at 2026-02-17 05:30:27+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/990/steps/24/logs/stdio

check-layer-nightly rocky9-vk-1 master completed at 2026-02-18 08:23:18+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/992/steps/24/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104349</commentid>
    <comment_count>9</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-19 15:42:39 +0000</bug_when>
    <thetext>Merged: https://git.openembedded.org/openembedded-core/commit/?id=a2c6bf582287a56ae241499598d3038b3c3cdb4f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>