<?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>16095</bug_id>
          
          <creation_ts>2025-12-08 19:44:53 +0000</creation_ts>
          <short_desc>Track the suppressed multi-thread os.fork() warnings</short_desc>
          <delta_ts>2026-01-26 14:08:00 +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>BitBake</product>
          <component>bitbake</component>
          <version>6.99</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy MacLeod">randy.macleod</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>mathieu.dubois-briand</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>103510</commentid>
    <comment_count>0</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-08 19:44:53 +0000</bug_when>
    <thetext>Track potential os.fork() issues. 

Mathieu silenced warnings in multi-threaded code (1); 
we believe our usage is safe, but this bug ensures we don&apos;t forget the risk
and think about alternatives that don&apos;t require warning suppression.


1) from master-next / cgit:

author	Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;	2025-12-08 08:01:49 +0100
committer	Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;	2025-12-08 15:26:35 +0000
commit	8b02d65a6439b21d8bd5590dc0009f2cf29c1de8 (patch)
tree	bfa1be66b9b93cf7f32c510f581f0ad8aa103077
parent	720df1a53452983c1c832f624490e255cf389204 (diff)

bitbake-layers: Also hide os.fork() deprecation warning
Import the deprecation warning hiding line from bitbake server/worker
code. Justification is still the same, we are being fairly careful here
and believe this code is safe.

Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Diffstat
-rwxr-xr-x	bin/bitbake-layers	1	
		
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index c49a5f30e..37c196226 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -16,6 +16,7 @@ import sys
 import argparse
 import warnings
 warnings.simplefilter(&quot;default&quot;)
+warnings.filterwarnings(&quot;ignore&quot;, category=DeprecationWarning, message=&quot;.*use.of.fork.*may.lead.to.deadlocks.in.the.child.*&quot;)
 
 bindir = os.path.dirname(__file__)
 toolname = os.path.basename(__file__).split(&quot;.&quot;)[0]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103806</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-01-12 10:59:47 +0000</bug_when>
    <thetext>We have two users of the direct os.fork usage. One is daemonize.py which is called to fork the cooker itself. This one is potentially problematic and we should change that code.

The other user is bitbake-worker and that one is less problematic and can probably remain, the cooker one is the higher priority. We should be able to drop much of the warning suppression if we change the cooker code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103975</commentid>
    <comment_count>2</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-20 14:42:10 +0000</bug_when>
    <thetext>qemuarm64-armhost debian13-vk-arm1 master completed at 2026-01-12 08:46:57+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/3033/steps/13/logs/stdio

qemux86-64-ltp rocky8-vk-1 master-next completed at 2026-01-13 14:27:32+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2840/steps/13/logs/stdio

qemuarm-oecore rocky8-vk-1 master-next completed at 2026-01-13 19:59:08+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/3005/steps/13/logs/stdio

qemux86-alt rocky8-vk-1 master&amp;master-next completed at 2026-01-14 18:27:43+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/3001/steps/15/logs/stdio

qa-extras2 alma8-vk-2 master completed at 2026-01-14 20:43:31+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/3011/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104008</commentid>
    <comment_count>3</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-21 15:34:33 +0000</bug_when>
    <thetext>qemux86-world-alt alma8-vk-1 master-next&amp;master completed at 2026-01-20 14:55:49+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2903/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104070</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-01-26 14:08:00 +0000</bug_when>
    <thetext>Above failures should have been logged to https://bugzilla.yoctoproject.org/show_bug.cgi?id=16080. I did copy these in the said entry.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>