Hello Andrej, On 13/10/2021 14:06:39+0200, Andrej Valek wrote: > Even if initramfs_bundle_path was used, a wrong compression was reflected > in output its template file. Use linux.bin as universal kernel image. > The linux.bin file covers both cases. > > Use linux.bin as a replacement for zImage in selftest. We know, > that zImage is a compressed one, so get the compression type. > > Signed-off-by: Andrej Valek <[email protected]> > Signed-off-by: Walter Schweizer <[email protected]> > --- > meta/classes/kernel-fitimage.bbclass | 17 +---------------- > meta/lib/oeqa/selftest/cases/fitimage.py | 8 +++-----
This still caused issues on the autobuilders: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2710/steps/15/logs/stdio 2021-10-15 17:23:26,867 - oe-selftest - INFO - fitimage.FitImageTests.test_initramfs_bundle (subunit.RemotedTestCase) 2021-10-15 17:23:26,868 - oe-selftest - INFO - ... FAIL Stderr: 2021-10-15 14:30:44,854 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-7047/conf/local.conf 2021-10-15 14:30:44,854 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2021-10-15 17:23:26,868 - oe-selftest - INFO - 10: 3/13 391/444 (6177.79s) (fitimage.FitImageTests.test_initramfs_bundle) 2021-10-15 17:23:26,868 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/fitimage.py", line 801, in test_initramfs_bundle self.assertTrue(test_passed == True,"kernel node does not match expectation") File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.9/unittest/case.py", line 682, in assertTrue raise self.failureException(msg) AssertionError: False is not true : kernel node does not match expectation https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2686/steps/14/logs/stdio 2021-10-15 15:51:53,829 - oe-selftest - INFO - fitimage.FitImageTests.test_initramfs_bundle (subunit.RemotedTestCase) 2021-10-15 15:51:53,830 - oe-selftest - INFO - ... FAIL 2021-10-15 15:51:53,830 - oe-selftest - INFO - 10: 3/13 339/444 (525.77s) (fitimage.FitImageTests.test_initramfs_bundle) 2021-10-15 15:51:53,830 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/fitimage.py", line 801, in test_initramfs_bundle self.assertTrue(test_passed == True,"kernel node does not match expectation") File "/usr/lib/python3.7/unittest/case.py", line 692, in assertTrue raise self.failureException(msg) AssertionError: False is not true : kernel node does not match expectation -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157013): https://lists.openembedded.org/g/openembedded-core/message/157013 Mute This Topic: https://lists.openembedded.org/mt/86286120/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
