<?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>14540</bug_id>
          
          <creation_ts>2021-09-02 21:51:55 +0000</creation_ts>
          <short_desc>[AB-INT] Xorg.test_xorg fails on Autobuilder</short_desc>
          <delta_ts>2025-09-25 14:52:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>3.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>4.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">saul.wold</reporter>
          <assigned_to name="Randy MacLeod">randy.macleod</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>mathieu.dubois-briand</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>91332</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">saul.wold</who>
    <bug_when>2021-09-02 21:51:55 +0000</bug_when>
    <thetext>This worker appeared to be under heavier load when the failure occurred a second run in the same build directory succeeded.

Initial logs showed:
  File &quot;/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/runtime/cases/xorg.py&quot;, line 21, in test_xorg_running
    self.assertEqual(status, 0, msg=msg)
AssertionError: 1 != 0 : Xorg does not appear to be running
A review of the testimage/qemu_boot_log showed:
.
.
.
RESULTS - weston.WestonTest.test_weston_running: SKIPPED (0.00s)
RESULTS - xorg.XorgTest.test_xorg_running: FAILED (0.24s)
SUMMARY:
core-image-sato-sdk () - Ran 66 tests in 191.950s
core-image-sato-sdk - FAIL - Required tests failed (successes=54, skipped=11, failures=1, errors=0)
ERROR: core-image-sato-sdk-1.0-r0 do_testimage: core-image-sato-sdk - FAILED - check the task log and the ssh log
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/qemux86-64-alt/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_testimage.32618
NOTE: recipe core-image-sato-sdk-1.0-r0: task do_testimage: Failed
ERROR: Task (/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 993 tasks of which 990 didn&apos;t need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-worker/qemux86-64-alt/build/build/tmp/log/error-report/error_report_20210902120413.txt

Further investigation in the testimage qemu_boot_log showed that the Xserver had been killed by OOM!

[  191.724220] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/xserver-nodm.service,task=Xorg,pid=273,uid=0
[  191.726387] Out of memory: Killed process 273 (Xorg) total-vm:348848kB, anon-rss:72032kB, file-rss:0kB, shmem-rss:128kB, UID:0 pgtables:560kB oom_score_adj:0
[  191.731414] oom_reaper: reaped process 273 (Xorg), now anon-rss:0kB, file-rss:0kB, shmem-rss:128kB

This machine was under higher load (cpu) at that time see the additional host data collected: https://autobuilder.yocto.io/pub/non-release/20210902-13/testresults/qemux86-64-alt/intermittent_failure_host_data/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91366</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">saul.wold</who>
    <bug_when>2021-09-09 14:35:59 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/109/builds/2847/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92719</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-03-03 15:47:27 +0000</bug_when>
    <thetext>Not seen in months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102806</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-09-24 08:40:29 +0000</bug_when>
    <thetext>Not seen in years, but I believe this failure is similar. That would mean a
second occurrence 4 years later...

pkgman-non-rpm ubuntu2204-vk-2 master completed at 2025-09-20 02:50:34+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/67/builds/2443/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102807</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-09-24 08:41:19 +0000</bug_when>
    <thetext>Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102822</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-09-25 14:52:57 +0000</bug_when>
    <thetext>The recent issue needs a separate bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>