Bug 16436

Summary: AB-INT: incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston: test.bb:do_checkuri metadata is not deterministic
Product: [QA/Testing] Functional (self) Testing Reporter: Antonin Godard <antonin.godard>
Component: oe-selftestAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: paul, randy.macleod
Version: unspecified   
Target Milestone: 6.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Antonin Godard 2026-09-23 13:25:44 UTC
I have seen this failure happen on master on multiple occasions, so I'm filing an AB-INT to track it.

2026-09-13 11:29:44,272 - oe-selftest - INFO - incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston (subunit.RemotedTestCase)
2026-09-13 11:29:44,276 - oe-selftest - INFO -  ... FAIL

Stderr:
2026-09-13 10:15:11,426 - oe-selftest - INFO - Adding: "include selftest.inc" in /srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-1585391/conf/local.conf
2026-09-13 10:15:11,426 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn("TestResult has no addDuration method",

WARNING: test: LICENSE is using "CLOSED", which is deprecated. Convert to using a license ref pointing to an actual license file, e.g.
LICENSE = "LicenseRef-test-CLOSED"
WARNING: test: LICENSE is using "CLOSED", which is deprecated. Convert to using a license ref pointing to an actual license file, e.g.
LICENSE = "LicenseRef-test-CLOSED"
ERROR: When reparsing /tmp/selftest-fetchx0er_ja4/test.bb:do_checkuri, the basehash value changed from cf5cbdc6dee19eec8e0ab7c147e79435436ca4f98353b070a206b72d66c2c748 to 5fc2e5d8a9cfbc8790ff18a3130b8a06335977184d22e2ff79a8f6c41b61a6b0. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake test -cdo_checkuri -Snone
ERROR: Then:
ERROR: $ bitbake test -cdo_checkuri -Sprintdiff
...
Comment 1 Antonin Godard 2026-09-23 14:55:14 UTC
oe-selftest-debian ubuntu2404-vk-3 master&master-next completed at 2026-09-13 13:28:15+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4849/steps/17/logs/stdio

oe-selftest-fedora rocky8-vk-1 master completed at 2026-09-14 02:40:10+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4657/steps/18/logs/stdio

oe-selftest-armhost alma10-vk-arm1 master-next completed at 2026-09-16 23:45:30+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4905/steps/17/logs/stdio

oe-selftest-debian debian12-vk-1 master-next completed at 2026-09-16 23:48:19+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4873/steps/17/logs/stdio

oe-selftest-armhost alma10-vk-arm1 master&master-next completed at 2026-09-20 11:56:40+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4932/steps/17/logs/stdio

oe-selftest-fedora alma8-vk-2 master&master-next completed at 2026-09-23 11:43:29+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4723/steps/18/logs/stdio
Comment 2 Randy MacLeod 2026-09-24 14:48:30 UTC
The summary may not be the actual original problem.


From the third from bottom link, ie:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4873/steps/17/logs/stdio

RP said that it looks like a docs change that got fixed was the root cause.

The remaining links need to be reviewed.
Comment 3 Richard Purdie 2026-09-25 16:29:18 UTC
The first, second and sixth are vblank kernel boot issue (now fixed).

The third and fourth are bad patches in master-next for seatd, fixed before merge (missing comma).

The fifth looks like weston wasn't running and maybe a real issue, hard to tell.