<?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>15698</bug_id>
          
          <creation_ts>2024-12-19 15:16:40 +0000</creation_ts>
          <short_desc>AB-INT: runqemu.QemuTest.test_qemu_can_shutdown hangs with &quot;Data received serial thread&quot;</short_desc>
          <delta_ts>2026-08-26 08:24:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>paul</cc>
    
    <cc>pidge</cc>
    
    <cc>Quan.Sun</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>steve</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100457</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-12-19 15:16:40 +0000</bug_when>
    <thetext>106 2024-12-12 10:26:47,887 - oe-selftest - INFO - runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
    107 2024-12-12 10:26:47,887 - oe-selftest - INFO -  ... ERROR
[...]
    163 runqemu - INFO - Host uptime: 221830.86
    164 
    165 QEMU 9.1.1 monitor - type &apos;help&apos; for more information
    166 (qemu) 
    167 Waiting at most 1000 seconds for login banner (12/12/24 10:09:17)
    168 Connection from 127.0.0.1:50216
    169 Reached login banner in 23.90 seconds (12/12/24 10:09:40)
    170 Logged in as root in serial console
    171 Data received serial thread [
    172 Data received serial thread    31.39
    173 Data received serial thread 7077] re
    174 Data received serial thread boot: Powe
    175 Data received serial thread r dow
    176 Data received serial thread n
    177 
    178 Data received serial thread 
    179 Data received serial thread
[...]
   3300 Data received serial thread 
   3301 WARNING: /usr/lib64/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
   3302   warnings.warn(&quot;TestResult has no addDuration method&quot;,

https://valkyrie.yoctoproject.org/#/builders/42/builds/621/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100458</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-12-19 15:18:13 +0000</bug_when>
    <thetext>qemuarm-tc fedora39-vk-2 mathieu/master-next completed at 2024-12-12T10:46:15Z
https://valkyrie.yoctoproject.org/#/builders/42/builds/621/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101813</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-05-01 14:07:07 +0000</bug_when>
    <thetext>Bulk move of all unassigned 5.2 medium importance bugs to 5.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103625</commentid>
    <comment_count>3</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2025-12-19 19:59:26 +0000</bug_when>
    <thetext>whinlatter

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2791

qemux86 ubuntu2404</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104010</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-01-21 17:10:30 +0000</bug_when>
    <thetext>This seems to be a hang when shutting down qemu. Logs say that it has shutdown but qemu has not exited. We&apos;ve seen this on 32-bit ARM and x86 so far.

Is there some debugging we can add to investigate the state qemu ends up in?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104939</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-02 15:16:22 +0000</bug_when>
    <thetext>A rare failure that we don&apos;t have enough info to allow us to make progress.
More data and reopen if seen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105389</commentid>
    <comment_count>6</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-05-08 06:39:32 +0000</bug_when>
    <thetext>It happened on wrynose, reopening:

qemuarm-tc rocky8-vk-1 contrib/ycongal/wrynose-nut completed at 2026-05-08 01:47:21+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/3687

Logs:
QEMU 10.2.0 monitor - type &apos;help&apos; for more information
(qemu) 
Waiting at most 1000 seconds for login banner (05/08/26 00:27:45)
Connection from 127.0.0.1:36582
Reached login banner in 42.75 seconds (05/08/26 00:28:28)
Logged in as root in serial console
Data received serial thread [   40.
Data received serial thread 237341] reboot: Pow
Data received serial thread er down

Data received serial thread 
[...]
Data received on qemu stdout b&apos;runqemu - INFO - Cleaning up\n&apos;
Data received serial thread 
[...]
Data received on qemu stdout b&apos;runqemu - INFO - Host uptime: 265186.79\n\nrunqemu - INFO - Shutting down the userspace NFS server...\n&apos;
Data received serial thread 
[...]
Data received on qemu stdout b&apos;Getting sysroot...\n&apos;
Data received serial thread 
[...]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105435</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-05-14 14:56:31 +0000</bug_when>
    <thetext>Quan, can you work on this as well?
Wouldn&apos;t it be great if your backport commit would fix this too!

Test on master, backport to wrynose after review, merge, a few days soak.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106646</commentid>
    <comment_count>8</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-26 08:24:12 +0000</bug_when>
    <thetext>qemuriscv64-tc opensuse160-vk-1 mathieu/master-next completed at 2026-08-25 21:55:45+00:00
https://valkyrie.yocto.io/pub/non-release/20260825-106/testresults/qemuriscv64-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/58/builds/2198/steps/15/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>