Bug 14540 - [AB-INT] Xorg.test_xorg fails on Autobuilder
Summary: [AB-INT] Xorg.test_xorg fails on Autobuilder
Status: RESOLVED WORKSFORME
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 3.4
Hardware: Other x86_64
: Medium normal
Target Milestone: 4.0
Assignee: Randy MacLeod
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-09-02 21:51 UTC by Saul Wold
Modified: 2025-09-25 14:52 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2021-09-02 21:51:55 UTC
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 "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/runtime/cases/xorg.py", 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 '1'
NOTE: Tasks Summary: Attempted 993 tasks of which 990 didn'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/
Comment 2 Randy MacLeod 2022-03-03 15:47:27 UTC
Not seen in months.
Comment 3 Mathieu Dubois-Briand 2025-09-24 08:40:29 UTC
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
Comment 4 Mathieu Dubois-Briand 2025-09-24 08:41:19 UTC
Reopening.
Comment 5 Randy MacLeod 2025-09-25 14:52:57 UTC
The recent issue needs a separate bug.