<?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>15891</bug_id>
          
          <creation_ts>2025-06-03 09:14:46 +0000</creation_ts>
          <short_desc>AB-INT PTEST RISCV64: glib-2.0 ptest: in glib/gi-compile-repository.py.test</short_desc>
          <delta_ts>2025-12-24 14:03:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>RISCV</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Trevor Gamblin">tgamblin</assigned_to>
          <cc>luca.ceresoli</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102125</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-03 09:14:46 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/57/steps/12/logs/stdio

Failed ptests:{&apos;glib-2.0&apos;: [&apos;glib/gi-compile-repository.py.test&apos;]}

qemuriscv64-ptest alma9-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102136</commentid>
    <comment_count>1</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-04 15:01:17 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/65/steps/12/logs/stdio

qemuriscv64-ptest fedora40-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102138</commentid>
    <comment_count>2</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-04 15:05:50 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/69/steps/12/logs/stdio

qemuriscv64-ptest rocky9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102212</commentid>
    <comment_count>3</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-09 06:46:59 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/87/steps/12/logs/stdio

qemuriscv64-ptest rocky9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102266</commentid>
    <comment_count>4</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-16 08:34:21 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/105/steps/12/logs/stdio

qemuriscv64-ptest alma9-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102324</commentid>
    <comment_count>5</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-06-23 10:07:38 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/129/steps/12/logs/stdio

Failed ptests:{&apos;glib-2.0&apos;: [&apos;glib/codegen.py.test&apos;, &apos;glib/gi-compile-repository.py.test&apos;]}

qemuriscv64-ptest rocky9-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102487</commentid>
    <comment_count>6</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-21 07:55:21 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/225/steps/12/logs/stdio

qemuriscv64-ptest stream9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102495</commentid>
    <comment_count>7</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-23 08:39:07 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/235/steps/12/logs/stdio

qemuriscv64-ptest ubuntu2204-vk-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102513</commentid>
    <comment_count>8</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-25 08:26:51 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/242/steps/12/logs/stdio

qemuriscv64-ptest stream9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102521</commentid>
    <comment_count>9</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-29 08:41:57 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/266/steps/12/logs/stdio

qemuriscv64-ptest debian12-vk-8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102522</commentid>
    <comment_count>10</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-29 08:56:10 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/267/steps/12/logs/stdio

Failed ptests:{&apos;glib-2.0&apos;: [&apos;glib/codegen.py.test&apos;, &apos;glib/gi-compile-repository.py.test&apos;]}

qemuriscv64-ptest stream9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102527</commentid>
    <comment_count>11</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-30 11:39:00 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/257/steps/13/logs/stdio

qemuriscv64-ptest rocky8-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102530</commentid>
    <comment_count>12</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-07-31 08:38:30 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/275/steps/12/logs/stdio

qemuriscv64-ptest ubuntu2404-vk-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102659</commentid>
    <comment_count>13</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-08-22 08:09:20 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/387/steps/12/logs/stdio

qemuriscv64-ptest ubuntu2204-vk-4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102681</commentid>
    <comment_count>14</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-09-02 19:51:48 +0000</bug_when>
    <thetext>The actual failure log is:

Executing: glib/gi-compile-repository.py.test
ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
# gi-compile-repository: /usr/bin/gi-compile-repository
# tmpdir: /tmp/tmpihahk969
# Running: [&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/GLib-2.0.gir&apos;, &apos;--output&apos;, &apos;this-is/not/a-good-output/invalid.typelib&apos;]
# Return code: 1
# Output:
#
# Error:
#  Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
# gir path set to [PosixPath(&apos;/usr/share/gir-1.0&apos;), PosixPath(&apos;/usr/share/gir-1.0&apos;)]
# gi-compile-repository: /usr/bin/gi-compile-repository
# tmpdir: /tmp/tmpokedaq57
# Running: [&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/GObject-2.0.gir&apos;, &apos;--output&apos;, &apos;/tmp/tmpokedaq57/GObject-2.typelib&apos;, &apos;--includedir&apos;,
&apos;/usr/share/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]
# Return code: 0
# Output:
#
# Error:
Executing: glib/gi-compile-repository.py.test
ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
# gi-compile-repository: /usr/bin/gi-compile-repository
# tmpdir: /tmp/tmpffrqausj
# Running: [&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/GObject-2.0.gir&apos;, &apos;--output&apos;, &apos;this-is/not/a-good-output/invalid.typelib&apos;, &apos;--includ
edir&apos;, &apos;/usr/share/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]
# Return code: 1
# Output:
#
# Error:
#  Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
Executing: glib/gi-compile-repository.py.test
Executing: glib/gi-compile-repository.py.test
not ok 6 __main__.TestGICompileRepositoryForGio.test_compile
# gir path set to [PosixPath(&apos;/usr/share/gir-1.0&apos;), PosixPath(&apos;/usr/share/gir-1.0&apos;)]
# gi-compile-repository: /usr/bin/gi-compile-repository
# tmpdir: /tmp/tmp30mr81o4
# Running: [&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/Gio-2.0.gir&apos;, &apos;--output&apos;, &apos;/tmp/tmp30mr81o4/Gio-2.typelib&apos;, &apos;--includedir&apos;, &apos;/usr/sh
are/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]
  ---
    message: |
      Traceback (most recent call last):
        File &quot;/usr/libexec/installed-tests/glib/gi-compile-repository.py&quot;, line 98, in test_compile
          result = self.runTestProgram(argv)
        File &quot;/usr/libexec/installed-tests/glib/gi-compile-repository.py&quot;, line 81, in runTestProgram
          return super().runTestProgram(argv, **kwargs)
                 ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
        File &quot;/usr/libexec/installed-tests/glib/testprogramrunner.py&quot;, line 127, in runTestProgram
          info = subprocess.run(
              argv,
          ...&lt;7 lines&gt;...
              check=False,
          )
        File &quot;/usr/lib/python3.13/subprocess.py&quot;, line 556, in run
          stdout, stderr = process.communicate(input, timeout=timeout)
                           ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File &quot;/usr/lib/python3.13/subprocess.py&quot;, line 1222, in communicate
          stdout, stderr = self._communicate(input, endtime, timeout)
                           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
        File &quot;/usr/lib/python3.13/subprocess.py&quot;, line 2129, in _communicate
          self._check_timeout(endtime, orig_timeout, stdout, stderr)
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File &quot;/usr/lib/python3.13/subprocess.py&quot;, line 1269, in _check_timeout
          raise TimeoutExpired(
          ...&lt;2 lines&gt;...
                  stderr=b&apos;&apos;.join(stderr_seq) if stderr_seq else None)
      subprocess.TimeoutExpired: Command &apos;[&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/Gio-2.0.gir&apos;, &apos;--output&apos;, &apos;/tmp/tmp30mr81o4/Gio-2.typ
elib&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]&apos; timed out after 10 seconds
  ...
Executing: glib/gi-compile-repository.py.test
Executing: glib/gi-compile-repository.py.test
ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
# gi-compile-repository: /usr/bin/gi-compile-repository
# tmpdir: /tmp/tmp273bhhzh
# Running: [&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/Gio-2.0.gir&apos;, &apos;--output&apos;, &apos;this-is/not/a-good-output/invalid.typelib&apos;, &apos;--includedir
&apos;, &apos;/usr/share/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]
# Return code: 1
# Output:
#
# Error:
#  Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1..7
FAIL: glib/gi-compile-repository.py.test (Child process exited with code 1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102682</commentid>
    <comment_count>15</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-09-02 19:52:35 +0000</bug_when>
    <thetext>It looks like the actual fail is the timeout:

subprocess.TimeoutExpired: Command &apos;[&apos;/usr/bin/gi-compile-repository&apos;, &apos;/usr/share/gir-1.0/Gio-2.0.gir&apos;, &apos;--output&apos;, &apos;/tmp/tmp30mr81o4/Gio-2.typ
elib&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;, &apos;--includedir&apos;, &apos;/usr/share/gir-1.0&apos;]&apos; timed out after 10 seconds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102683</commentid>
    <comment_count>16</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-03 20:02:28 +0000</bug_when>
    <thetext>I&apos;ve only been able to reproduce the glib/codegen.py.test failure thus far, but at least on my end, I see errors like this:

# Error:
#  ERROR: Bad signature &quot;{vs}&quot;. &quot;v&quot; is not a valid type for dictionary keys at position 1.
# /tmp/tmpn8lp0iav/tmpq465on9h.xml:
#                 &lt;node&gt;
#                   &lt;interface name=&quot;BadTypes&quot;&gt;
#                     &lt;property type=&quot;(ss(s{{sv}s}))&quot; name=&quot;BadPropertyType&quot; access=&quot;read&quot; /&gt;
#                   &lt;/interface&gt;
#                 &lt;/node&gt;
# Running: [&apos;/usr/bin/gdbus-codegen&apos;, &apos;/tmp/tmpn8lp0iav/tmpq465on9h.xml&apos;, &apos;--output&apos;, &apos;-&apos;, &apos;--body&apos;]
# Return code: 1
# Output:
#
# Error:
#  ERROR: Bad signature &quot;(ss(s{{sv}s}))&quot;. &quot;{&quot; is not a valid type for dictionary keys at position 6.
# /tmp/tmpn8lp0iav/tmpflf56tap.xml:
#                 &lt;node&gt;
#                   &lt;interface name=&quot;BadTypes&quot;&gt;
#                     &lt;property type=&quot;{s&quot; name=&quot;BadPropertyType&quot; access=&quot;read&quot; /&gt;
#                   &lt;/interface&gt;
#                 &lt;/node&gt;
# Running: [&apos;/usr/bin/gdbus-codegen&apos;, &apos;/tmp/tmpn8lp0iav/tmpflf56tap.xml&apos;, &apos;--output&apos;, &apos;-&apos;, &apos;--body&apos;]
# Return code: 1

I&apos;ll add some logs as attachments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102684</commentid>
    <comment_count>17</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-03 20:08:12 +0000</bug_when>
    <thetext>Or not - the logs are way too big, even if I strip them down to just the codegen test. But I do see the same sorts of lines suggesting it&apos;s just a timeout, e.g.:

|FAIL: glib/codegen.py.test (Child process killed by signal 9)

and

|# {Executing: glib/codegen.py.test
|Test timed out after 300 seconds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102685</commentid>
    <comment_count>18</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-03 20:09:39 +0000</bug_when>
    <thetext>For the record, I was able to produce these errors by building core-image-ptest-glib-2.0 with MACHINE=&quot;qemuriscv64&quot; set in local.conf, then doing the following as suggested by rburton:

taskset --cpu-list 0 runqemu nographic snapshot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102694</commentid>
    <comment_count>19</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-04 14:45:34 +0000</bug_when>
    <thetext>*** Bug 15154 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102698</commentid>
    <comment_count>20</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-04 14:57:26 +0000</bug_when>
    <thetext>FYI, from the duplicate issue, a previous fix was merged: https://git.openembedded.org/openembedded-core/commit/?id=8de47e5f3837a9c87c3cbf8dc45f9e90110eda1e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102709</commentid>
    <comment_count>21</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-09-08 11:48:17 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/456/steps/12/logs/stdio

qemuriscv64-ptest rocky9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102711</commentid>
    <comment_count>22</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-08 12:46:54 +0000</bug_when>
    <thetext>No luck reproducing this outside the Yocto qemuriscv64 build environment yet, but I&apos;m also not certain that my attempts have been right yet - the default test output for glib-2.0 seems a bit different than what we&apos;re witnessing from manual ptest/testimage, which is a problem if we&apos;re assuming maybe there&apos;s an issue related to the volume of output.

I&apos;m currently running the tests in an x86-64 Fedora 42 container image with the following packages installed:

git pkg-config gcc meson gnome-desktop-testing

and the https://gitlab.gnome.org/GNOME/glib.git repository checked out. I have run:

meson setup _build
meson compile -C _build
meson install -C _build

There are four test failures, none of which match the ones we&apos;re seeing, and they all fail with SIGABRT rather than SIGKILL.

This probably isn&apos;t the right approach but it may be useful as a hint at what not to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102715</commentid>
    <comment_count>23</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-08 15:18:32 +0000</bug_when>
    <thetext>Looks like there&apos;s an intermittent issue with one of the same tests reported upstream (for Windows): https://gitlab.gnome.org/GNOME/glib/-/issues/3733

Seems like they think the culprit could be related to buffering...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102779</commentid>
    <comment_count>24</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-09-15 08:26:52 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/486/steps/12/logs/stdio

Failed ptests:{&apos;glib-2.0&apos;: [&apos;glib/codegen.py.test&apos;]}

qemuriscv64-ptest rocky9-vk-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102786</commentid>
    <comment_count>25</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-16 15:21:06 +0000</bug_when>
    <thetext>Started looking into possible differences in the actual QEMU configuration to see if there was anything that could influence this error. What I found:

meta/conf/machine/include/riscv/qemuriscv.inc:

QB_SERIAL_OPT = &quot;-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon&quot;
QB_TCPSERIAL_OPT = &quot; -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon&quot;

meta/conf/machine/qemuarm64.conf:

QB_SERIAL_OPT = &quot;-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon&quot;
QB_TCPSERIAL_OPT = &quot;-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon&quot;

I don&apos;t know enough about the internals of these to say if there&apos;s a buffering difference, but I did test changing the qemuriscv64 setting to match the qemuarm64 one. I am still able to make the codegen test fail if I&apos;m running with taskset to force the emulator to only use one CPU, but so far I can&apos;t make the test fail without that limitation.

It wasn&apos;t readily reproducible in this way before, either, so I&apos;m still skeptical this is the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102789</commentid>
    <comment_count>26</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-17 13:55:23 +0000</bug_when>
    <thetext>Just to be sure, I&apos;ve also tested manual bumps of the memory supplied to QEMU up to -m 8192, and I still see the failure, e.g.: 

taskset --cpu-list 0 runqemu nographic snapshot qemuparams=&quot;-m 8192 -smp 4&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102792</commentid>
    <comment_count>27</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-09-18 13:20:44 +0000</bug_when>
    <thetext>Some more data from runqemu invocations for comparison. qemuarm64:

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0
runqemu - INFO - Running /home/tgamblin/workspace/yocto/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,i
d=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive id=disk0,file=/home/tgamblin/workspace/yocto/poky/build/tmp/deploy/images/qemuarm64/core-image-ptest-
glib-2.0-qemuarm64.rootfs-20250918002422.ext4,if=none,format=raw -device virtio-blk-pci,drive=disk0 -device qemu-xhci -device usb-tablet -device usb-kbd  -machine virt -cpu cortex-a57 -smp 4 -m 1024 -snapshot -serial mon:stdio -seri
al null -nographic -device virtio-gpu-pci -kernel /home/tgamblin/workspace/yocto/poky/build/tmp/deploy/images/qemuarm64/Image -append &apos;root=/dev/vda rw  mem=1024M ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnam
es=0 console=ttyAMA0 console=hvc0 swiotlb=0 &apos;

versus qemuriscv64:

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0
runqemu - INFO - Running /home/tgamblin/workspace/yocto/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-riscv64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev ta
p,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive id=disk0,file=/home/tgamblin/workspace/yocto/poky/build/tmp/deploy/images/qemuriscv64/core-image-p
test-glib-2.0-qemuriscv64.rootfs-20250917180545.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -device qemu-xhci -device usb-tablet -device usb-kbd  -machine virt -cpu rva22s64 -smp 4 -m 1024 -snapshot -serial mon:std
io -serial null -nographic -device bochs-display -bios /home/tgamblin/workspace/yocto/poky/build/tmp/deploy/images/qemuriscv64/fw_jump.elf -kernel /home/tgamblin/workspace/yocto/poky/build/tmp/deploy/images/qemuriscv64/Image -append
 &apos;root=/dev/vda rw  mem=1024M ip=192.168.7.2::192.168.7.1:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 console=ttyS0 console=hvc0 earlycon=sbi swiotlb=0 &apos;

Notable differences:

- the obvious &apos;-cpu&apos; change (cortex-a57 vs rva22s64)
- qemuarm64 has no &apos;-bios&apos; option provided
- console=ttyAMA0 for qemuarm64, console=ttyS0 for qemuriscv64
- &apos;-device virtio-gpu-pci&apos; for qemuarm64, &apos;-device bochs-display&apos; for qemuriscv64 (after &apos;-nographic&apos;)
- &apos;-device virtio-net-pci...&apos; for qemuarm64, &apos;-device virtio-net-device&apos; for qemuriscv64

It was actually quite hard to find useful information about what bochs-display is, even though it seems unlikely to be the problem. A test with QB_GRAPHICS = &quot;-device bochs-display&quot; removed from meta/conf/machine/include/riscv/qemuriscv.inc confirms that (it still failed).

Diffing the two image manifests, qemuriscv64&apos;s image has three packages that qemuarm64 doesn&apos;t:

kbd 2.8.0
kernel-image-uimage-6.16.4-yocto-standard 6.16.4+git0+6cd9824a84_01bcf423b0
keymaps 1.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103647</commentid>
    <comment_count>28</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2025-12-24 14:03:59 +0000</bug_when>
    <thetext>The test timeout for glib-2.0 tests was doubled in:

https://git.openembedded.org/openembedded-core/commit/?id=f634098ed6c5674d81028a7ea8e18a7a93a77fab

Neither of the glib-2.0 intermittent test failures has been seen for at least a month (this one for three months), so let&apos;s close this. We can reopen it if it starts appearing again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>