Another new issue on Fedora43: The oe-selftest test `oelib.license.TestSingleLicense.test_single_licenses` is failing when using Python 3.14. From the logs, the test expects: ['GPL-2.0-only'] but gets: [] This indicates a failure in license parsing. The issue is reproducible in a clean environment and does not appear to be related to any specific layer or CI setup. https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3388/ STEPS TO REPRODUCE ------------------ 1. Use Fedora Rawhide (or any environment with Python 3.14.x) 2. Clone a fresh OE-Core / poky 3. Initialize build environment: source oe-init-build-env 4. Run: oe-selftest -r oelib.license.TestSingleLicense.test_single_licenses RESULT ------ Test fails with: [] vs ['GPL-2.0-only'] - The issue reproduces consistently with Python 3.14.3 (Fedora Rawhide). - The same test passes with Python 3.10. - This suggests a possible incompatibility or behavior change in Python 3.14 affecting OE-Core license parsing. - This failure is independent of the gdbserver selftest issue (tracked separately in YPBZ #16195). +++++++++++++++++++++++++++ 2026-03-24 12:46:35,882 - oe-selftest - INFO - 8: 30/54 198/678 (0.00s) (0 failed) (oelib.license.TestSingleLicense.test_invalid_licenses) 2026-03-24 12:46:35,884 - oe-selftest - INFO - oelib.license.TestSingleLicense.test_single_licenses (subunit.RemotedTestCase) 2026-03-24 12:46:35,885 - oe-selftest - INFO - ... FAIL Stderr: 2026-03-24 12:37:37,115 - oe-selftest - INFO - Adding: "include selftest.inc" in /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1993576/conf/local.conf 2026-03-24 12:37:37,116 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf FIT configuration mapping(s) not matched with any DTB: dtb-extra-conf:nonexistent.dtb:extra-conf FIT configuration mapping(s) not matched with any DTB: dtb-conf:nonexistent.dtb:renamed 2026-03-24 12:46:35,885 - oe-selftest - INFO - 8: 31/54 199/678 (0.00s) (0 failed) (oelib.license.TestSingleLicense.test_single_licenses) 2026-03-24 12:46:35,885 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/oelib/license.py", line 38, in test_single_licenses self.assertListEqual(licenses, [license]) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/unittest/case.py", line 1131, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/unittest/case.py", line 1113, in assertSequenceEqual self.fail(msg) ~~~~~~~~~^^^^^ File "/usr/lib64/python3.14/unittest/case.py", line 750, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != ['GPL-2.0-only'] Second list contains 1 additional elements. First extra element 0: 'GPL-2.0-only' - [] + ['GPL-2.0-only']
Patch: https://lists.openembedded.org/g/openembedded-core/message/234089
The fix has been merged into OE-Core Master, so this issue is now being closed. https://git.openembedded.org/openembedded-core/commit/?id=8a5b019eec72676893507d018e7609745d2e3f49