Re: [OE-core] [PATCH] kernel: Don't fail if Modules.symvers doesn't exist

2023-08-02 Thread Mikko Rapeli
Hi, On Wed, Aug 02, 2023 at 01:15:34PM +, Joel Stanley wrote: > On Wed, 2 Aug 2023 at 12:45, Frédéric Martinsons > wrote: > > > > > > > > On Wed, 2 Aug 2023 at 13:47, Joel Stanley wrote: > >> > >> The one liner tests using `[ ] && action` need to have || true after the > >> action, > >> oth

Re: [OE-core][PATCH 1/2] systemd-boot: enable verbose compilation

2023-08-09 Thread Mikko Rapeli
Hi, On Wed, Aug 09, 2023 at 08:47:05AM +0200, Alexander Kanavin wrote: > On Wed, 9 Aug 2023 at 01:06, Khem Raj wrote: > >>> I think this is only useful during debugging. So perhaps a comment to > >>> enable it is better than enabling it always. > >> > >> > >> The meson bbclass also compile with v

[OE-core] [PATCH 1/3] core-image-minimal: increase extra space to pass df.py oeqa runtime test

2023-08-21 Thread Mikko Rapeli
. Thus by default, core-image-minimal is now failing oeqa rutime df.py test. Fix this by increasing core-image-minimal rootfs size by 5Mb if testimage.bbclass is used which implies adding either ssh-server-dropbear or ssh-server-openssh to the target rootfs. Signed-off-by: Mikko Rapeli --- meta

[OE-core] [PATCH 2/3] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-21 Thread Mikko Rapeli
mal-1.0-r0: task do_testimage: Succeeded NOTE: Tasks Summary: Attempted 1305 tasks of which 1304 didn't need to be rerun and all succeeded. Signed-off-by: Mikko Rapeli --- meta/classes-recipe/testimage.bbclass | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --g

[OE-core] [PATCH 3/3] selftest runtime_test.py: add testimage.bbclass slirp test

2023-08-21 Thread Mikko Rapeli
- oe-selftest - INFO - oe-selftest () - Ran 1 test in 464.956s 2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/runtime_test.py | 15

Re: [OE-core] [PATCH 00/10] linux-yocto: consolidated pull request

2023-08-22 Thread Mikko Rapeli
Hi, On Tue, Aug 22, 2023 at 09:13:44AM +0200, Luca Ceresoli via lists.openembedded.org wrote: > Hello Bruce, > > On Mon, 21 Aug 2023 11:44:35 -0400 > "Bruce Ashfield" wrote: > > > From: Bruce Ashfield > > > > Richard, > > > > While we track down the remaining 6.4 boot issues, here is the >

Re: [OE-core] [PATCH 2/3] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-22 Thread Mikko Rapeli
Hi, On Mon, Aug 21, 2023 at 01:00:51PM +0300, Mikko Rapeli wrote: > Also set target and server IP addresses correctly to 127.0.0.1 > so that TEST_TARGET_IP and TEST_SERVER_IP don't > need to be set manually with slirp. > > Users run qemu images with slirp networking like

Re: [OE-core] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-22 Thread Mikko Rapeli
Hi, On Tue, Aug 22, 2023 at 12:47:04PM +0100, Richard Purdie wrote: > so between 6.1.38 and 6.1.39? Maybe: commit b1cdc56bc177c2e182c204bb08ad4e87bfd67942 Author: Paul E. McKenney AuthorDate: Wed Apr 26 11:11:29 2023 -0700 Commit: Greg Kroah-Hartman CommitDate: Wed Jul 19 16:21:01 2023

[OE-core] [PATCH v2 5/9] oeqa selftest context.py: whitespace fix

2023-08-22 Thread Mikko Rapeli
Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index f2a5ba792f..4b33245758 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta

[OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-22 Thread Mikko Rapeli
mal-1.0-r0: task do_testimage: Succeeded NOTE: Tasks Summary: Attempted 1305 tasks of which 1304 didn't need to be rerun and all succeeded. Signed-off-by: Mikko Rapeli --- meta/classes-recipe/testimage.bbclass | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) v2: set

[OE-core] [PATCH v2 4/9] oeqa dnf_runtime.py: fix HTTP server IP address and port

2023-08-22 Thread Mikko Rapeli
Use correct HTTPService parameters like apt.py when setting up the repo server. These work with qemu tun and slirp networking. Fixes test failure with slirp networking when executing testimage.bbclass selftests "oe-selftest -r runtime_test.TestImage". Signed-off-by: Mikko Rapeli

[OE-core] [PATCH v2 1/9] core-image-minimal: increase extra space to pass df.py oeqa runtime test

2023-08-22 Thread Mikko Rapeli
. Thus by default, core-image-minimal is now failing oeqa rutime df.py test. Fix this by increasing core-image-minimal rootfs size by 5Mb if testimage.bbclass is used which implies adding either ssh-server-dropbear or ssh-server-openssh to the target rootfs. Signed-off-by: Mikko Rapeli --- meta

[OE-core] [PATCH v2 6/9] oeqa selftest context.py: remove warning from missing meta-selftest

2023-08-22 Thread Mikko Rapeli
It's not a warning but a handled case and layer gets added automatically. Very few build configs have this layer enabled by default. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/sel

[OE-core] [PATCH v2 3/9] selftest runtime_test.py: add testimage.bbclass slirp test

2023-08-22 Thread Mikko Rapeli
- oe-selftest - INFO - oe-selftest () - Ran 1 test in 464.956s 2023-08-21 09:01:19,711 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/runtime_test.py | 15

[OE-core] [PATCH v2 8/9] oeqa selftest runtime_test.py: append to TEST_RUNQEMUPARAMS

2023-08-22 Thread Mikko Rapeli
Don't overwrite TEST_RUNQEMUPARAMS since user may have added "slirp" or similar things to it in site.conf, auto.conf or local.conf. Use :append to add to it. Fixes failing tests when only "slirp" networking works with qemu and tun based one is broken on the host machi

[OE-core] [PATCH v2 7/9] oeqa selftest context.py: fix git commands and set branch name

2023-08-22 Thread Mikko Rapeli
branch can be renamed via this command: hint: hint: git branch -m Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index bd03e765

[OE-core] [PATCH v2 9/9] oeqa selftest runtime_test.py: skip virgl_headless test if /dev/dri/renderD128 access fails

2023-08-22 Thread Mikko Rapeli
i/renderD128" device' 2023-08-22 14:41:20,603 - oe-selftest - INFO - Can not open "/dev/dri/renderD128" device Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/runtime_test.py | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeq

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-22 Thread Mikko Rapeli
Hi, On Tue, Aug 22, 2023 at 11:25:58PM -0700, Khem Raj wrote: > On Tue, Aug 22, 2023 at 11:10 PM Mikko Rapeli wrote: > > > > Also set target and server IP addresses correctly to 127.0.0.1 > > so that TEST_TARGET_IP and TEST_SERVER_IP don't > > need to be set ma

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-23 Thread Mikko Rapeli
Hi, On Tue, Aug 22, 2023 at 11:25:58PM -0700, Khem Raj wrote: > will this work when running multiple instances of qemu ? > e.g. try bitbake core-image-ptest-all I was not aware of core-image-ptest-all. Tried to build it but it doesn't seem to be compatible with IMAGE_FEATURES += "ssh-server-drop

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 10:06:41AM +0100, Richard Purdie wrote: > On Wed, 2023-08-23 at 10:31 +0300, Mikko Rapeli wrote: > > Hi, > > > > On Tue, Aug 22, 2023 at 11:25:58PM -0700, Khem Raj wrote: > > > will this work when running multiple instances of qemu ? >

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 11:57:50AM +0200, Alexander Kanavin wrote: > On Wed, 23 Aug 2023 at 11:48, Mikko Rapeli wrote: > > > Cannot run ptests without @expectedFailure as ptests are expected to fail > > QMP released QEMU at 08/23/23 10:26:03 and took 0.13 seconds from conn

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 11:49:39AM +0100, Richard Purdie wrote: > On Wed, 2023-08-23 at 12:47 +0300, Mikko Rapeli wrote: > > On Wed, Aug 23, 2023 at 10:06:41AM +0100, Richard Purdie wrote: > > > On Wed, 2023-08-23 at 10:31 +0300, Mikko Rapeli wrote: > > > > Hi, &

openssh ptest banner failure (was Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS )

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 01:49:39PM +0300, Mikko Rapeli via lists.openembedded.org wrote: > The tests passed with one warning, which I'll try to check: > > WARNING: core-image-ptest-openssh-1.0-r0 do_testimage: There were failing > ptests. > Traceback (most recent

Re: openssh ptest banner failure (was Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS )

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 03:24:43PM +0200, Alexander Kanavin wrote: > I've just seen this too. I think to trigger this you need to run the > test via bitbake -c testimage rather than directly over console - the > output is then piped over ssh, and something goes wrong due to the > large volume

Re: [OE-core] [PATCH] uki: Add support for building Unified Kernel Images

2023-11-28 Thread Mikko Rapeli
Hi, On Tue, Nov 28, 2023 at 02:32:14PM +0200, Dmitry Baryshkov wrote: > On Sat, 2 Sept 2023 at 02:32, Michelle Lin wrote: > > > > Currently, there is not a class to support the building of unified kernel > > images. Adding a uki.bbclass to support the creation of UKIs. This class > > calls > > t

Re: [OE-core] [PATCH] systemd-boot: Add recipe to compile native

2023-11-30 Thread Mikko Rapeli
Hi, On Fri, Dec 01, 2023 at 12:23:36PM +0530, Viswanath Kraleti wrote: > systemd has ukify, a native tool, which will combine the kernel/initrd/stub > components to build the UKI (unified kernel images). systemd-boot recipe > isn't providing this tool. > > To use ukify, one need systemd-boot nati

[OE-core] [PATCH][kirkstone] openssh: drop sudo from ptest dependencies

2023-12-12 Thread Mikko Rapeli
g the stderr messages and possibly cure the banner test failures. (From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102) Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie --- meta/recipes-connectivity/openssh/openssh/run-ptest | 2 +- meta/recipes-connectivity/openssh/openssh_8.9p1.bb

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-19 Thread Mikko Rapeli
Hi, On Tue, Dec 19, 2023 at 12:03:07PM +, Richard Purdie wrote: > On Mon, 2023-12-18 at 23:01 +, Richard Purdie via > lists.openembedded.org wrote: > > On Mon, 2023-12-18 at 10:07 -0800, Khem Raj wrote: > > > On Mon, Dec 18, 2023 at 9:58 AM Richard Purdie > > > wrote: > > > > > > > > On

[OE-core] [PATCH 1/2] busybox.inc: handle empty DEBUG_PREFIX_MAP

2019-09-16 Thread Mikko Rapeli
ith exit code 1: | sed: -e expression #1, char 0: no previous regular expression | WARNING: exit code 1 from a shell command. | This log entry is really useless for debugging problems so add "set -x" to the configure script so that details can be seen if something isn't working

[OE-core] [PATCH] systemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}

2019-10-16 Thread Mikko Rapeli
task is not executed. Fixes startup of custom services from our recipes using custom image classes with various BSP layers. In the worst case even serial console getty service wasn't starting due to dependency no not enabled services. Signed-off-by: Mikko Rapeli --- meta/classes/systemd.bb

[OE-core] [PATCH v2] systemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}

2019-10-17 Thread Mikko Rapeli
task is not executed. Fixes startup of custom services from our recipes using custom image classes with various BSP layers. In the worst case even serial console getty service wasn't starting due to dependency no not enabled services. Signed-off-by: Mikko Rapeli Cc: Peter Kjellerstedt ---

Re: [OE-core] [PATCH v2] buildstats.bbclass: add functionality to collect build system stats

2020-11-10 Thread Mikko Rapeli
Hi, On Tue, Nov 10, 2020 at 06:07:44PM -0500, Sakib Sajal wrote: > There are a number of timeout and hang defects where > it would be useful to collect statistics about what > is running on a build host when that condition occurs. > > This adds functionality to collect build system stats > on a r

Re: [OE-core] FreeType CVE-2020-15999

2020-11-11 Thread Mikko Rapeli
Hi, On Wed, Nov 11, 2020 at 08:06:44AM +, Diego Santa Cruz via lists.openembedded.org wrote: > Hi all, > > It was brought to my attention that FreeType < 2.10.4 is affected by a buffer > overflow with PNG bitmaps as per > https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/,

Re: [yocto-security] [OE-core] OE-core CVE metrics for dunfell on Sun 15 Nov 2020 07:30:01 AM HST

2020-11-16 Thread Mikko Rapeli
On Mon, Nov 16, 2020 at 12:57:17PM -1000, Steve Sakoman wrote: > For those who haven't been following that closely, here's what the > dunfell CVE count has looked like over the past three months: > > 08/16 202 > 08/23 201 > 08/30 180 > 09/06 181 > 09/13 152 > 09/20 149 > 10/04 148 > 10/11 145 > 10

Re: [OE-core] cups: whitelist CVE-2018-6553

2020-11-19 Thread Mikko Rapeli
On Wed, Nov 18, 2020 at 02:12:18PM -1000, Steve Sakoman wrote: > On Wed, Nov 18, 2020 at 1:56 PM Mittal, Anuj wrote: > > > > On Wed, 2020-11-18 at 05:25 -1000, Steve Sakoman wrote: > > > This an Ububtu specific issue: > > > > > > The CUPS AppArmor profile incorrectly confined the dnssd backend > >

Re: [OE-core] [PATCH 3/5] sqlite3: add CVE-2015-3717 to whitelist

2020-11-19 Thread Mikko Rapeli
Or is the problem here that sqlite version 3.33 is not listed correctly on https://nvd.nist.gov/vuln/detail/CVE-2015-3717#match-3021743 as I don't see this reported even for older 3.22 version in by yocto CVE checker? -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this gro

Re: [OE-core] Automatic cap on BB_NUMBER_THREADS and PARALLEL_MAKE

2020-12-03 Thread Mikko Rapeli
Hi, On Thu, Dec 03, 2020 at 05:48:16PM +, Ross Burton wrote: > Hi, > > Currently, BB_NUMBER_THREADS and PARALLEL_MAKE use the number of cores > available unless told otherwise. This was a good idea six years > ago[1] but some modern machines are moving to very large core counts. > > For exa

Re: [OE-core] Automatic cap on BB_NUMBER_THREADS and PARALLEL_MAKE

2020-12-03 Thread Mikko Rapeli
On Thu, Dec 03, 2020 at 07:20:11PM +0100, Alexander Kanavin wrote: > I'd rather teach bitbake to abstain from starting new tasks when I/O or CPU > gets tight. And memory! -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#145287): https://list

[OE-core] [PATCH] systemd: update from 244.3 to 244.5 stable release

2020-12-14 Thread Mikko Rapeli
get with automatic tests which are passing on our side. Signed-off-by: Mikko Rapeli --- ...md-boot_244.3.bb => systemd-boot_244.5.bb} | 0 meta/recipes-core/systemd/systemd.inc | 2 +- .../systemd/systemd/CVE-2020-13776.patch | 96 --- ...temd-udev-s

[OE-core] [PATCH v2][dunfell] systemd: update from 244.3 to 244.5 stable release

2020-12-14 Thread Mikko Rapeli
get with automatic tests which are passing on our side. Signed-off-by: Mikko Rapeli --- ...md-boot_244.3.bb => systemd-boot_244.5.bb} | 0 meta/recipes-core/systemd/systemd.inc | 2 +- .../systemd/systemd/CVE-2020-13776.patch | 96 --- ...temd-udev-s

Re: [OE-core] [PATCH] systemd: update from 244.3 to 244.5 stable release

2020-12-14 Thread Mikko Rapeli
Sorry, missed dunfell prefix. Fixed in v2. -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#145537): https://lists.openembedded.org/g/openembedded-core/message/145537 Mute This Topic: https://lists.openembedded.org/mt/78947354/21656 Group Owne

Re: [OE-core] [PATCH v2] scripts/runqemu: Add possibility to disable network

2023-04-18 Thread Mikko Rapeli
Hi, On Tue, Apr 18, 2023 at 03:33:25PM +0200, Pavel Zhukov wrote: > Default network configuration requires tun/tap module and while being > usable it conflicts with tap devices created by VPN clients sometimes > and requires root permissions to use . While it's possible to work > this around it's

Re: [OE-core][PATCH] cve-check: add option to add additional patched CVEs

2023-05-09 Thread Mikko Rapeli
Hi, On Tue, May 09, 2023 at 09:02:59AM +, Ross Burton wrote: > On 8 May 2023, at 09:57, Adrian Freihofer via lists.openembedded.org > wrote: > > The patch from Andrej tries to solves a real issue: The CVE checker > > distinguishes between two types of patches. Ignored (= not applicable) > >

Re: [OE-core][PATCH] cve-check: add option to add additional patched CVEs

2023-05-09 Thread Mikko Rapeli
Hi, On Wed, May 10, 2023 at 09:37:13AM +1200, Douglas Royds wrote: > On 9/05/23 9:32 pm, Mikko Rapeli wrote: > > On Tue, May 09, 2023 at 09:02:59AM +, Ross Burton wrote: > > > On 8 May 2023, at 09:57, Adrian Freihofer via > > > lists.openembedded.org > > >

[OE-core] [PATCH 1/3] qemurunner: support serial console login via qemu stdout

2023-05-10 Thread Mikko Rapeli
x27;t see a reason why qemu process stdout should not be supported too since they work with runqemu as well. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/utils/qemurunner.py | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/meta/lib/oeqa/

[OE-core] [PATCH 2/3] qemurunner: avoid leaking server_socket

2023-05-10 Thread Mikko Rapeli
close() the server_socket before qemusock replaces it. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/utils/qemurunner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 3b7398b872..c06268f5bc 100644 --- a/meta/lib

[OE-core] [PATCH 3/3] qemurunner: add boot logs to do_testimage task logs in real time

2023-05-10 Thread Mikko Rapeli
are not added to bitbake output. This enables debugging and tracing the do_testimage via task log file while the boot and tests are running. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/utils/qemurunner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oeqa/utils/qemurunner.py b

Re: [yocto-security] [OE-core] OE-core CVE metrics for master on Sun 14 May 2023 01:00:01 AM HST

2023-05-15 Thread Mikko Rapeli
Hi, On Mon, May 15, 2023 at 09:33:39AM +, Ross Burton wrote: > On 15 May 2023, at 09:41, Alexander Kanavin via lists.yoctoproject.org > wrote: > > nano please :) I tend to agree, there is no reason to carry > > specifically vim as 'an editor for quick config file hacks on the > > target’. >

Re: [OE-core][PATCH v2] cve-check: add option to add additional patched CVEs

2023-05-17 Thread Mikko Rapeli
Hi, On Wed, May 17, 2023 at 07:41:38AM +0200, Andrej Valek via lists.openembedded.org wrote: > - Replace CVE_CHECK_IGNORE with CVE_STATUS + [CVE_STATUS_REASONING] to be > more flexible. CVE_STATUS should contains flag for each CVE with accepted > values "Ignored" or "Not applicable". It allows to

Re: [OE-core][PATCH v3 1/3] cve-check: add option to add additional patched CVEs

2023-05-18 Thread Mikko Rapeli
Hi, Looks really good but could you split the documentation to separate patch and send to d...@lists.yoctoproject.org instead of oe-core? Thanks! -Mikko On Fri, May 19, 2023 at 08:24:18AM +0200, Andrej Valek wrote: > - Replace CVE_CHECK_IGNORE with CVE_STATUS + [CVE_STATUS_REASONING] to be > mo

Re: [OE-core][PATCH v4 1/3] cve-check: add option to add additional patched CVEs

2023-05-19 Thread Mikko Rapeli
Hi, Looks good to me now. Thanks a lot! Acked-by: Mikko Rapeli Cheers, -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#181540): https://lists.openembedded.org/g/openembedded-core/message/181540 Mute This Topic: https

Re: [OE-core][PATCH v3 1/3] cve-check: add option to add additional patched CVEs

2023-05-22 Thread Mikko Rapeli
Hi, On Fri, May 19, 2023 at 03:11:57PM +0200, Marta Rybczynska wrote: > I'm missing a status to cover the situation when the NVD (or any other > database) has an incorrect entry. We have quite many of those. This might > be a temporary situation, but not always. > > SPDX (the 3.0 draft) has some

Re: [OE-core] [PATCH 3/3] qemurunner: add boot logs to do_testimage task logs in real time

2023-05-25 Thread Mikko Rapeli
Hi Richard, Could you accept this with some conditional flag in testimage.bbclass maybe? I really feel the need for this when debugging issues with boot sequence. Cheers, -Mikko On Wed, May 10, 2023 at 03:59:35PM +0300, Mikko Rapeli wrote: > Complex boot sequences take a lot of time to re

[OE-core] [PATCH] runqemu: match .rootfs. in image names instead of -image-

2024-01-03 Thread Mikko Rapeli
age/runqemu error: runqemu - ERROR - Unknown path arg /home/builder/src/base/build/tmp_qemuarm64/deploy/images/qemuarm64/img-qemuarm64.rootfs.wic Signed-off-by: Mikko Rapeli --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runq

Re: [OE-core] [PATCH] runqemu: match .rootfs. in image names instead of -image-

2024-01-03 Thread Mikko Rapeli
Hi, On Wed, Jan 03, 2024 at 03:54:02PM +0100, Martin Jansa wrote: > On Wed, Jan 3, 2024 at 11:16 AM Mikko Rapeli > wrote: > > > Don't expect image file names to include "-image-" but > > expect them to have the ".rootfs." postfix which is the >

Re: [OE-core] [PATCH] runqemu: match .rootfs. in image names instead of -image-

2024-01-03 Thread Mikko Rapeli
Hi, On Thu, Jan 04, 2024 at 08:59:03AM +0200, Mikko Rapeli via lists.openembedded.org wrote: > Hi, > > On Wed, Jan 03, 2024 at 03:54:02PM +0100, Martin Jansa wrote: > > On Wed, Jan 3, 2024 at 11:16 AM Mikko Rapeli > > wrote: > > > > > Don't expect

Re: [OE-core] [PATCH] runqemu: match .rootfs. in image names instead of -image-

2024-01-04 Thread Mikko Rapeli
Hi, On Thu, Jan 04, 2024 at 08:34:03AM +, Richard Purdie wrote: > On Thu, 2024-01-04 at 09:50 +0200, Mikko Rapeli wrote: > > Hi, > > > > On Thu, Jan 04, 2024 at 08:59:03AM +0200, Mikko Rapeli via > > lists.openembedded.org wrote: > > > Hi, > > &

[OE-core] [PATCH v2] runqemu: match .rootfs. in addition to -image- for rootfs

2024-01-04 Thread Mikko Rapeli
g /home/builder/src/base/build/tmp_qemuarm64/deploy/images/qemuarm64/img-qemuarm64.rootfs.wic Suggested-by: Richard Purdie Signed-off-by: Mikko Rapeli --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v2: check for both -image- and .rootfs. in file names as suggested b

[OE-core] [PATCH] oeqa systemd.py: settle() using "running" or "degraded" state

2024-01-04 Thread Mikko Rapeli
v/dm-1 ... Fix is to check for the systemd global "running" or "degraded" state. Note that it would be possible to use a blocking call "systemctl is-system-running --wait" to exit after system enters "running" or "degraded" state but using the

Re: [OE-core] [PATCH 0/1] rng-tools: remove unneeded build time dependency

2024-01-08 Thread Mikko Rapeli
Hi, On Mon, Jan 08, 2024 at 04:09:02PM -0600, david zuhn via lists.openembedded.org wrote: > rng-tools used to depend on libsysfs, but has since been changed > to read directly from the /sys filesystem. The build time > dependency on sysfsutils is no longer needed. This is a good change log ent

[OE-core] [PATCH] oeqa parselogs.py: load ignore files from sys.path

2024-01-10 Thread Mikko Rapeli
orks since paths like ${LAYERDIR}/lib/oeqa/runtime/cases are already in sys.path. Add debug prints for found and not found files while at it. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/runtime/cases/parselogs.py | 29 +++- 1 file changed, 13 insertions(+), 16 deletions(-) di

Re: [OE-core] [PATCH] oeqa parselogs.py: load ignore files from sys.path

2024-01-10 Thread Mikko Rapeli
Hi, On Wed, Jan 10, 2024 at 02:01:36PM +, Ross Burton wrote: > On 10 Jan 2024, at 13:03, Mikko Rapeli via lists.openembedded.org > wrote: > > python import.resources open_text() loads files from the module paths > > but this requires layers to set "addpylib ${LAYERD

Re: [OE-core] runqemu: ahci option

2024-01-11 Thread Mikko Rapeli
Hi, On Thu, Jan 11, 2024 at 11:42:58AM +0100, Alexander Kanavin wrote: > Generally runqemu is inteded for (and tested with) specifically > qemux86_64 MACHINE (or any other qemu* machine). So if testing your > particular target bootloader with qemu isn't actually important, you > can rebuild the i

Re: [OE-core] [PATCH] oeqa parselogs.py: load ignore files from sys.path

2024-01-18 Thread Mikko Rapeli
rong in bitbake python environment when oeqa tests run but this is already an improvement. Ross, do you agree? Cheers, -Mikko On Wed, Jan 10, 2024 at 04:23:22PM +0200, Mikko Rapeli via lists.openembedded.org wrote: > Hi, > > On Wed, Jan 10, 2024 at 02:01:36PM +, Ross Burton wrote

Re: [OE-core] oe-selftest reproducible.ReproducibleTests.test_reproducible_builds appears to hardcode important tunable params

2024-01-26 Thread Mikko Rapeli
Hi, On Fri, Jan 26, 2024 at 02:04:18PM +, Joakim Tjernlund via lists.openembedded.org wrote: > On Fri, 2024-01-26 at 14:33 +0100, Alexander Kanavin via > lists.openembedded.org wrote: > > On Fri, 26 Jan 2024 at 14:21, Joakim Tjernlund > > wrote: > > > I will try workaround these somehow but

Re: [OE-core] [PATCH] oeqa/sdk: add out-of-tree kernel module building test

2024-07-15 Thread Mikko Rapeli
Hi, On Fri, Jul 12, 2024 at 07:43:58PM +0100, Ross Burton via lists.openembedded.org wrote: > Validate that out-of-tree kernel module building using kernel-devsrc > works as expected. > > This test uses cryptodev-linux as a idiomatic out of tree module. As the > latest release doesn't actually b

Re: [OE-core] [PATCH] oeqa/sdk: add out-of-tree kernel module building test

2024-07-15 Thread Mikko Rapeli
On Mon, Jul 15, 2024 at 11:18:30AM +, Ross Burton wrote: > On 15 Jul 2024, at 11:31, Mikko Rapeli wrote: > >> +def test_cryptodev(self): > >> +with tempfile.TemporaryDirectory(prefix="cryptodev", > >> dir=self.tc.sdk_dir) as tes

Re: [OE-core] [PATCH] oeqa/sdk: add out-of-tree kernel module building test

2024-07-15 Thread Mikko Rapeli
On Mon, Jul 15, 2024 at 02:30:52PM +0300, Mikko Rapeli via lists.openembedded.org wrote: > On Mon, Jul 15, 2024 at 11:18:30AM +, Ross Burton wrote: > > On 15 Jul 2024, at 11:31, Mikko Rapeli wrote: > > >> +def test_cryptodev(self): > > >> +with t

[OE-core] [PATCH] systemd: update from 256 to 256.4

2024-08-13 Thread Mikko Rapeli
ons are still ongoing d918804408 man/systemd: reorder content a bit 1c27c902ad Create CNAME Dropped merged patches: 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch 0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch Changed git repo back to systemd main one since that is going

Re: [OE-core] [PATCH 22/24] systemd-boot: upgrade 256.4 -> 256.5

2024-08-20 Thread Mikko Rapeli
Hi, Only systemd-boot? Surely all systemd recipes need the update. Cheers, -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203549): https://lists.openembedded.org/g/openembedded-core/message/203549 Mute This Topic: https://lists.openembedd

[OE-core] [PATCH 1/2] linux-yocto-dev: remove duplicate DEPENDS

2024-04-04 Thread Mikko Rapeli
They are already set in linux-yocto.inc Signed-off-by: Mikko Rapeli --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 5 - 1 file changed, 5 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 9bd219825e..d5cba42a5c

[OE-core] [PATCH 2/2] curl: disable ca-certificates.crt path setting for native build

2024-04-04 Thread Mikko Rapeli
crt Since git is a build time host package dependency listed in https://docs.yoctoproject.org/dev/singleindex.html#build-host-packages then its dependencies like curl and ca-certificates are too, it should be safe for curl-native to use the default host ca-certificates path instead of the one in rec

Re: [OE-core] [PATCH 2/2] curl: disable ca-certificates.crt path setting for native build

2024-04-04 Thread Mikko Rapeli
Hi, On Thu, Apr 04, 2024 at 02:57:20PM +0100, Jose Quaresma wrote: > Hi Mikko, > > Did you test with the below change already merged on master? > Looks like it was to fix the same issue. > > git: git-replacement-native: depend on ca-certificate > https://git.yoctoproject.org/poky/commit/meta/rec

Re: [OE-core] [PATCH 2/2] curl: disable ca-certificates.crt path setting for native build

2024-04-04 Thread Mikko Rapeli
Hi, On Thu, Apr 04, 2024 at 03:13:08PM +0100, Richard Purdie wrote: > On Thu, 2024-04-04 at 16:29 +0300, Mikko Rapeli wrote: > > If linux-yocto-dev is compiled without specific SRCREV, it uses > > AUTOREV which tries to update to latest available commit. This is > > current

[OE-core] [PATCH] openssl: fix pkg-config file libdir from /usr back to /usr/lib

2024-05-03 Thread Mikko Rapeli
as before. Signed-off-by: Mikko Rapeli --- .../openssl/openssl_pkg-config_libdir.patch | 31 +++ .../openssl/openssl_3.3.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-connectivity/openssl/openssl/openssl_pkg-config_libdir.p

Re: [OE-core] [PATCH] openssl: fix pkg-config file libdir from /usr back to /usr/lib

2024-05-03 Thread Mikko Rapeli
Hi, On Fri, May 03, 2024 at 12:32:42PM +0200, Alexander Kanavin wrote: > I’m sorry, this doesn’t look right. Shouldn’t we rather ensure $(LIBDIR) is > correctly set? Besides, hardcoding to lib is certainly incorrect as it will > break multilib. We constantly have to fix upstreams in the opposite >

Re: [OE-core] [PATCH] openssl: fix pkg-config file libdir from /usr back to /usr/lib

2024-05-03 Thread Mikko Rapeli
Hi, On Fri, May 03, 2024 at 12:43:29PM +0200, Martin Jansa wrote: > On Fri, May 3, 2024 at 12:37 PM Mikko Rapeli via > lists.openembedded.org > wrote: > > > > Hi, > > > > On Fri, May 03, 2024 at 12:32:42PM +0200, Alexander Kanavin wrote: > > > I’m so

Re: [OE-core] [PATCH] openssl: fix pkgconfig path problems

2024-05-03 Thread Mikko Rapeli
Hi, On Fri, May 03, 2024 at 10:59:21AM +, Ross Burton via lists.openembedded.org wrote: > OpenSSL 3.3.0 introduced new pkgconfig generators which interact badly > with our incorrect setting of --libdir, which is documented as being > the name of the directory _under $prefix_, not an absolute

Re: [OE-core] [PATCH v2 1/9] core-image-minimal: increase extra space to pass df.py oeqa runtime test

2023-08-23 Thread Mikko Rapeli
it is required is not correct. Sorry I thought upstream would be testing core-image-minimal as well. If that's not the case, then just drop this. Some other images need to be tested instead, but I don't know which. Cheers, -Mikko > Alex > > On Wed, 23 Aug

Re: [OE-core] [PATCH v2 3/9] selftest runtime_test.py: add testimage.bbclass slirp test

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 08:45:49PM +0200, Alexander Kanavin wrote: > I guess the extra space stuff should be going here instead? Or some other image which is supposed to be compatible with oeqa runtime tests and testimage.bbclass. I think it's better to just ignore this patch. Cheers, -Mikk

Re: [OE-core] [PATCH v2 9/9] oeqa selftest runtime_test.py: skip virgl_headless test if /dev/dri/renderD128 access fails

2023-08-23 Thread Mikko Rapeli
Hi, On Wed, Aug 23, 2023 at 08:37:47PM +0200, Alexander Kanavin wrote: > On Wed, 23 Aug 2023 at 08:10, Mikko Rapeli wrote: > > > > If access to /dev/dri/renderD128 fails, then qemu with 3d graphics will > > fail to start and errors are rather cryptic like: > > > >

Re: [OE-core] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-24 Thread Mikko Rapeli
Hi, On Thu, Aug 24, 2023 at 09:18:03PM +0100, Richard Purdie wrote: > On Thu, 2023-08-24 at 15:04 +0100, Richard Purdie via > lists.openembedded.org wrote: > > On Wed, 2023-08-23 at 22:16 +0100, Richard Purdie via > > lists.openembedded.org wrote: > > > On Tue, 2023-08-22 at 23:01 +0100, Richard P

Re: [OE-core] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-25 Thread Mikko Rapeli
Hi, On Fri, Aug 25, 2023 at 07:34:25AM +0100, Richard Purdie wrote: > On Fri, 2023-08-25 at 09:27 +0300, Mikko Rapeli wrote: > > Hi, > > > > On Thu, Aug 24, 2023 at 09:18:03PM +0100, Richard Purdie wrote: > > > On Thu, 2023-08-24 at 15:04 +0100, Richard Purdie vi

Re: [OE-core] [PATCH] uki: Add support for building Unified Kernel Images

2023-09-03 Thread Mikko Rapeli
Hi, On Fri, Sep 01, 2023 at 11:32:31PM +, Michelle Lin wrote: > Currently, there is not a class to support the building of unified kernel > images. Adding a uki.bbclass to support the creation of UKIs. This class calls > the systemd Ukify tool, which will combine the kernel/initrd/stub compone

[OE-core] [PATCH] openssh: capture ptest regression test failure logs

2023-09-06 Thread Mikko Rapeli
When tests fail, capture the sshd and ssh client logs from the failing test run. These are needed to investigate the root cause. Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 Signed-off-by: Mikko Rapeli --- ...ss-Makefile-print-logs-if-test-fails.patch | 34

[OE-core] [PATCH v2] openssh: capture ptest regression test failure logs

2023-09-06 Thread Mikko Rapeli
When tests fail, capture the sshd and ssh client logs from the failing test run. These are needed to investigate the root cause. Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 Signed-off-by: Mikko Rapeli --- ...ss-Makefile-print-logs-if-test-fails.patch | 34

Re: [OE-core] [PATCH] classes: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables

2023-09-07 Thread Mikko Rapeli
Hi, On Thu, Sep 07, 2023 at 11:11:20PM +0100, Richard Purdie wrote: > Originally these were shell functions but they have long since been processed > by > bb.build.exec_func(). Since we no longer need shell syntax, we can drop the > ';' > delimiters and just use a space separated string. > > Th

[OE-core] [PATCH 2/2] openssh: improve banner ptest failure logging

2023-09-11 Thread Mikko Rapeli
same for this: https://github.com/openssh/openssh-portable/pull/437 Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 Signed-off-by: Mikko Rapeli --- ...h-log-input-and-output-files-on-erro.patch | 61 +++ .../openssh/openssh_9.4p1.bb | 1 + 2

[OE-core] [PATCH 1/2] openssh: update Upstream-Status to Denied in test logging patch

2023-09-11 Thread Mikko Rapeli
Upstream rejected the change: https://github.com/openssh/openssh-portable/pull/437 Signed-off-by: Mikko Rapeli --- ...0001-openssh-regress-Makefile-print-logs-if-test-fails.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssh/openssh/0001

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-09-12 Thread Mikko Rapeli
Hi, On Tue, Sep 12, 2023 at 11:25:28AM +, Ross Burton wrote: > On 23 Aug 2023, at 07:10, Mikko Rapeli via lists.openembedded.org > wrote: > > -if d.getVar("QEMU_USE_SLIRP"): > > +if d.getVar("QEMU_USE_SLIRP") or > > bb.utils.contains(&

Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS

2023-09-12 Thread Mikko Rapeli
On Tue, Sep 12, 2023 at 11:30:57AM +, Ross Burton wrote: > On 12 Sep 2023, at 12:29, Mikko Rapeli wrote: > > > > Hi, > > > > On Tue, Sep 12, 2023 at 11:25:28AM +, Ross Burton wrote: > >> On 23 Aug 2023, at 07:10, Mikko Rapeli via lists.openembe

Re: [OE-core] [PATCH] oeqa/selftest/runtime_test: No need to use append with TEST_RUNQEMUPARAMS

2023-09-12 Thread Mikko Rapeli
Hi, On Tue, Sep 12, 2023 at 12:32:42PM +0100, Richard Purdie wrote: > A simple += operation is fine for working with TEST_RUNQEMUPARAMS so remove > the heavier append override usage. Ok, but I was being consistent with the other variables in the tests. Cheers, -Mikko > Signed-off-by: Richard P

Re: [OE-core] [PATCH] oeqa/selftest/runtime_test: No need to use append with TEST_RUNQEMUPARAMS

2023-09-12 Thread Mikko Rapeli
Hi, On Tue, Sep 12, 2023 at 12:50:26PM +0100, Richard Purdie wrote: > On Tue, 2023-09-12 at 14:46 +0300, Mikko Rapeli wrote: > > Hi, > > > > On Tue, Sep 12, 2023 at 12:32:42PM +0100, Richard Purdie wrote: > > > A simple += operation is fine for working with TEST_

[OE-core] [PATCH] bitbake: fetch2: git: revert path checks

2023-09-13 Thread Mikko Rapeli
resulting absolute paths will differ but the content is the same. Trust the content. Avoids extra downloads of large repositories like linux-yocto for kernel when the local cache was already uptodate. Signed-off-by: Mikko Rapeli --- bitbake/lib/bb/fetch2/git.py | 14 +- 1 file changed

Re: [OE-core] [PATCH] bitbake: fetch2: git: revert path checks

2023-09-13 Thread Mikko Rapeli
Hi, Sorry, wrong list. Cheers, -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#187555): https://lists.openembedded.org/g/openembedded-core/message/187555 Mute This Topic: https://lists.openembedded.org/mt/101333061/21656 Group Owner: opene

Re: [OE-core] [Openembedded-architecture] Security processes: YP needs

2023-09-13 Thread Mikko Rapeli
Hi, On Wed, Sep 13, 2023 at 01:52:19PM +0200, Marta Rybczynska wrote: > Hello, > I've been working recently on collecting what works and what doesn't > in YP security processes. The goal is to go forward and define an > actionable strategy! > > Today, I'd like to share with you the summary of wha

[OE-core] [PATCH 2/3] testimage.bbclass: remove QEMU_USE_SLIRP variable

2023-09-14 Thread Mikko Rapeli
QEMU_USE_SLIRP is replaced by TEST_RUNQEMUPARAMS with "slirp" and possibly other arguments to runqemu script. Signed-off-by: Mikko Rapeli --- meta/classes-recipe/testimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/testimage.bbcla

[OE-core] [PATCH 3/3] oeqa/selftest/context.py: check git command return values

2023-09-14 Thread Mikko Rapeli
Don't ignore return values from the git command lines. If something goes wrong, fail the test right away. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib

[OE-core] [PATCH 1/3] openssh: capture logs in run-ptest

2023-09-14 Thread Mikko Rapeli
Drop patch to improve logging since upstream rejected it but capture failure logs in run-ptests with similar code as what upstream uses when running the tests via https://github.com/openssh/openssh-portable/blob/master/.github/run_test.sh#L23 Signed-off-by: Mikko Rapeli --- ...ss-Makefile-print

[OE-core] [PATCH RFC CFH][sumo 12/47] cve-check: Update unpatched CVE matching

2019-11-06 Thread Mikko Rapeli
From: Pierre Le Magourou Now that cve-update-db added CPE information to NVD database. We can check for unpatched versions with operators '<', '<=', '>', and '>='. (From OE-Core rev: bc0195be1b15bcffe60127bc5e8b7011a853c2ed) Signed-off-by: Pierre Le Magourou Signed-off-by: Richard Purdie ---

  1   2   3   4   5   6   7   >