All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Andrej Valek <andrej.valek@siemens.com>
Cc: openembedded-core@lists.openembedded.org,
	Abdellatif.ElKhlifi@arm.com,
	Walter Schweizer <walter.schweizer@siemens.com>
Subject: Re: [OE-core][PATCH v3 2/2] kernel-fitimage: use correct kernel image
Date: Sat, 16 Oct 2021 12:47:25 +0200	[thread overview]
Message-ID: <YWqtvXw2atDZgpP5@piout.net> (raw)
In-Reply-To: <20211013120639.58668-2-andrej.valek@siemens.com>

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 <andrej.valek@siemens.com>
> Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
> ---
>  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


  reply	other threads:[~2021-10-16 10:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 20:22 [OE-core][PATCH 1/2] featimage: refactor style Andrej Valek
2021-10-05 20:22 ` [OE-core][PATCH 2/2] kernel-fitimage: use correct kernel image Andrej Valek
2021-10-06  7:00 ` [OE-core][PATCH v2 1/2] featimage: refactor style Andrej Valek
2021-10-06  7:00 ` [OE-core][PATCH v2 2/2] kernel-fitimage: use correct kernel image Andrej Valek
2021-10-13  9:57   ` Alexandre Belloni
2021-10-13 12:06 ` [OE-core][PATCH v3 1/2] featimage: refactor style Andrej Valek
2021-10-13 12:06 ` [OE-core][PATCH v3 2/2] kernel-fitimage: use correct kernel image Andrej Valek
2021-10-16 10:47   ` Alexandre Belloni [this message]
2021-10-16 20:01 ` [OE-core][PATCH v4 1/2] featimage: refactor style Andrej Valek
2021-10-16 20:01 ` [OE-core][PATCH v4 2/2] kernel-fitimage: use correct kernel image Andrej Valek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YWqtvXw2atDZgpP5@piout.net \
    --to=alexandre.belloni@bootlin.com \
    --cc=Abdellatif.ElKhlifi@arm.com \
    --cc=andrej.valek@siemens.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=walter.schweizer@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.