Re: [OE-Core][PATCH v3 4/4] core-image-ptest: append ptest directory to artifacts list

2023-06-08 Thread Mikko Rapeli
Hi, On Fri, Jun 09, 2023 at 08:48:02AM +0200, Alexis Lothoré via lists.openembedded.org wrote: > From: Alexis Lothoré > > TESTIMAGE_FAILED_QA_ARTIFACTS is defined in testimage.bbclass with a > minimal list of files to retrieve when a test fail. By appending the ptest > directory only in core-im

[OE-Core][PATCH v3 4/4] core-image-ptest: append ptest directory to artifacts list

2023-06-08 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré TESTIMAGE_FAILED_QA_ARTIFACTS is defined in testimage.bbclass with a minimal list of files to retrieve when a test fail. By appending the ptest directory only in core-image-ptest.bb, thanks to multiconfig feature used in the recipe, only failing ptests will lead to correspond

[OE-Core][PATCH v3 1/4] oeqa/core/runner: add helper to know about expected failures

2023-06-08 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Testing framework currently uses the unittest.expectedFailure decorator for tests that can have intermittent failures (see PTEST_EXPECT_FAILURE = "1") in core-image-ptest.bb. While it allows upper layers to run tests without failing on "fragile" tests, it prevents those from

[OE-Core][PATCH v3 2/4] oeqa/target/ssh: update options for SCP

2023-06-08 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré By default scp expects files. Passing -r option allows to copy directories too Signed-off-by: Alexis Lothoré --- Changes since v1: - drop legacy scp protocol option --- meta/lib/oeqa/core/target/ssh.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a

[OE-Core][PATCH v3 3/4] testimage: implement test artifacts retriever for failing tests

2023-06-08 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Add a basic artifacts retrievers in testimage class which: - triggers when at least one runtime test fails but tests execution encountered no major issue - reads a list of paths to retrieve from TESTIMAGE_FAILED_QA_ARTIFACTS - checks for artifacts presence on target - retri

[OE-Core][PATCH v3 0/4] add failed tests artifacts retriever

2023-06-08 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré This series is a proposal to bring in an "artifact retriever" to ease debugging when some runtime tests fails. This is a follow-up to the v2 ([1]) and its corresponding RFC ([2]), which in turn is a proposal to address general debugging issues like [3] The main change is bas

Re: [OE-core] [PATCH 1/2] qemux86/conf: TEST ONLY. Drop smp boot

2023-06-08 Thread Richard Purdie
On Thu, 2023-06-08 at 19:39 +, bruce.ashfi...@gmail.com wrote: > From: Bruce Ashfield > > We are seeing intermittent boot hangs with x86. Once of the last > messages in failing logs is secondary cpu startup. > > Dropping us down to smp for testing to see if the hangs start to > go away with

Re: [OE-core] [PATCH v3 2/2] vulkan-validation-layers: add new recipe v1.3.243.0

2023-06-08 Thread Khem Raj
On Thu, Jun 8, 2023 at 10:20 PM Vincent Davis Jr wrote: > > While I setup build environment for imx8 platform. > > Does updating VULKAN_HEADERS_INSTALL_DIR to > -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_DATADIR} > change anything? Not much. Errors remains same. > > -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [OE-core] [PATCH v6] qemu: Split the qemu package

2023-06-08 Thread Martin Jansa
On Fri, Jun 9, 2023 at 5:04 AM Yu, Mingli wrote: > +if userpackages: > +d.setVar('RDEPENDS:' + d.getVar('PN') + '-user-all', ' > '.join(userpackages)) > +mipspackage = d.getVar('PN') + "-user-mips" > +if mipspackage in ' '.join(userpackages): > +d.appendVar('RDEPENDS:'

Re: [OE-core] [PATCH v3 2/2] vulkan-validation-layers: add new recipe v1.3.243.0

2023-06-08 Thread Vincent Davis Jr
While I setup build environment for imx8 platform. Does updating VULKAN_HEADERS_INSTALL_DIR to -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_DATADIR} change anything? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#182529): https://lists.openembedded.org/

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Yu, Mingli
Okay, let us use v6 to track the patch. Thanks, From: Bruce Ashfield Sent: Friday, June 9, 2023 11:25 To: Yu, Mingli Cc: Richard Purdie ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH v5] qemu: Split the qemu package CAUTION: This ema

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Bruce Ashfield
On Thu, Jun 8, 2023 at 10:01 PM Yu, Mingli wrote: > Hi Bruce, > > I didn't reply the v1 patch directly and just include the comments and > concerns when generate v2,v3,v4,v5 patch. > > I'm sorry the overrides for qemu split in meta-vir as > https://git.yoctoproject.org/meta-virtualization/tree/re

[OE-core] [PATCH v6] qemu: Split the qemu package

2023-06-08 Thread Yu, Mingli
From: Mingli Yu Currently all files as below packaged into one package such as qemu-7.2.0-*.rpm. After the qemu package installed on the target, it will take up about 464M which includes not only the one matches the arch of the target but aslo all available built qemu targets which set by QEMU_TA

Re: [OE-core] [PATCH v3 2/2] vulkan-validation-layers: add new recipe v1.3.243.0

2023-06-08 Thread Khem Raj
I am seeing build failure on imx8 platform using clang. https://errors.yoctoproject.org/Errors/Details/707981/ On Tue, Jun 6, 2023 at 8:14 AM Vincent Davis Jr wrote: > > Add a recipe to build the Khronos official Vulkan validation > layers that can assist developers in verifying that their > app

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Yu, Mingli
Hi Bruce, I didn't reply the v1 patch directly and just include the comments and concerns when generate v2,v3,v4,v5 patch. I'm sorry the overrides for qemu split in meta-vir as https://git.yoctoproject.org/meta-virtualization/tree/recipes-devtools/qemu/qemu-package-split.inc doesn't work if we

Re: [OE-core][PATCH v2] util-linux: upgrade 2.38.1 -> 2.39

2023-06-08 Thread Alexandre Belloni via lists.openembedded.org
On 06/06/2023 22:42:49+0200, Alexandre Belloni wrote: > Hello, > > This causes multiple failures: > > Mips and ppc: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/7198/steps/12/logs/stdio > https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/7196/steps/13/log

Re: [oe-core][PATCH 1/1] icu: increase command buffer size

2023-06-08 Thread Richard Purdie
On Thu, 2023-06-08 at 10:18 -0700, Joe Slater via lists.openembedded.org wrote: > From: Joe Slater > > Make cmd in pkg_installLibrary() LARGE_BUFFER_SIZE to avoid > pathname truncation if the install path is longer than about > 150 characters. For default compilation, the U_ASSERT does > not det

[OE-core] [PATCH 2/2] qemux86*: TEST only set preferred provider to linux-yocto-dev

2023-06-08 Thread Bruce Ashfield
From: Bruce Ashfield We are seeing intermittent boot hangs on x86. To try and determine if this is a 6.1-stable only issue, set the prferred provider for qemux86 to linux-yocto-dev. Signed-off-by: Bruce Ashfield --- meta/conf/machine/include/qemu.inc | 2 ++ 1 file changed, 2 insertions(+) di

[OE-core] [PATCH 1/2] qemux86/conf: TEST ONLY. Drop smp boot

2023-06-08 Thread Bruce Ashfield
From: Bruce Ashfield We are seeing intermittent boot hangs with x86. Once of the last messages in failing logs is secondary cpu startup. Dropping us down to smp for testing to see if the hangs start to go away with smp removed. Signed-off-by: Bruce Ashfield --- meta/conf/machine/include/x86/q

Re: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-08 Thread Martin Jansa
Hi Steve, I still didn't get shell access to those builders, feel free to merge it as is. Hopefully other people don't have so outdated build infrastructure :). Regards, On Thu, Jun 8, 2023 at 8:50 PM Steve Sakoman wrote: > On Sun, Jun 4, 2023 at 10:34 AM Martin Jansa > wrote: > > > > > It m

Re: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-08 Thread Steve Sakoman
On Sun, Jun 4, 2023 at 10:34 AM Martin Jansa wrote: > > > It might be useful to delay backporting this for a bit longer (and I'll > > soon confirm if 3.10 was already affected or not). > > I can confirm that 3.10 is also affected. > > I did build with > https://git.openembedded.org/openembedded-

[oe-core][PATCH 1/1] icu: increase command buffer size

2023-06-08 Thread Joe Slater via lists.openembedded.org
From: Joe Slater Make cmd in pkg_installLibrary() LARGE_BUFFER_SIZE to avoid pathname truncation if the install path is longer than about 150 characters. For default compilation, the U_ASSERT does not detect buffer overflow but this is not addressed here. Signed-off-by: Joe Slater --- ...pkgd

[OE-core] [kirkstone][PATCH] systemd-networkd: backport fix for rm unmanaged wifi

2023-06-08 Thread C. Andy Martin
Upstream v250 of systemd-newtorkd contains a race which will drop the config of unmanaged wireless interfaces during reconfigure or carrier loss. This bug is fixed in v251 by this commit: commit a0e99a377a2f22c0ba460d3e7228214008714c14 Author: Yu Watanabe Date: Mon Jan 31 19:08:27 2022 +0900

Re: [OE-core] [mickledore][PATCH 1/2] curl: Update from 8.0.1 to 8.1.0

2023-06-08 Thread Steve Sakoman
On Wed, Jun 7, 2023 at 8:30 PM Yu, Mingli wrote: > > From: Robert Joslyn > > This is a feature and bugfix release. Release notes are available at: > https://curl.se/changes.html#8_1_0 Since this is a feature/bugfix update (and not bugfix only) it is not allowed for a stable branch. Steve > > S

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Bruce Ashfield
On Thu, Jun 8, 2023 at 11:44 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2023-06-08 at 11:03 -0400, Bruce Ashfield wrote: > > > > > > On Thu, Jun 8, 2023 at 9:55 AM Richard Purdie > > wrote: > > > On Thu, 2023-06-08 at 09:33 -0400, Bruce Ashfield wrote: > > > > At thi

Feedback request: Re: [OE-core][dunfell][PATCH 1/2] systemd: implement --initialized-match/nomatch arguments

2023-06-08 Thread Steve Sakoman
This patch series adds a feature to systemd, which is typically not allowed in a stable branch. However I can see that there might be an argument that this is actually fixing a bug (needless re-triggering of devices) I'd love to get feedback from others as to whether I should take this patch. St

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Richard Purdie
On Thu, 2023-06-08 at 11:03 -0400, Bruce Ashfield wrote: > > > On Thu, Jun 8, 2023 at 9:55 AM Richard Purdie > wrote: > > On Thu, 2023-06-08 at 09:33 -0400, Bruce Ashfield wrote: > > > At this point, you can probably see why I ended up using the > > > explicit > > > variables and overrides versu

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Bruce Ashfield
On Thu, Jun 8, 2023 at 9:55 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Thu, 2023-06-08 at 09:33 -0400, Bruce Ashfield wrote: > > At this point, you can probably see why I ended up using the explicit > > variables and overrides versus python when doing the > > meta-virtuali

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Richard Purdie
On Thu, 2023-06-08 at 09:33 -0400, Bruce Ashfield wrote: > At this point, you can probably see why I ended up using the explicit > variables and overrides versus python when doing the > meta-virtualization splits. :) > > I have a few more comments that I made in v1, that I haven't seen > directly

Re: [OE-core] [PATCH v5] qemu: Split the qemu package

2023-06-08 Thread Bruce Ashfield
On Thu, Jun 8, 2023 at 1:45 AM Yu, Mingli wrote: > > From: Mingli Yu > > Currently all files as below packaged into one package such as > qemu-7.2.0-*.rpm. After the qemu package installed on the target, > it will take up about 464M which includes not only the one matches > the arch of the target

Re: [OE-core] [PATCH] nettle: inherit lib_package

2023-06-08 Thread Ross Burton
You’re right, apologies. v2 sent. Ross > On 8 Jun 2023, at 10:19, Alexandre Belloni > wrote: > > Hello Ross, > > It seemed to have caused new ptest failures: > > {'nettle': ['nettle-pbkdf2-test', 'sexp-conv-test']} > > On 06/06/2023 13:37:32+0100, Ross Burton wrote: >> From: Ross Burton >

[OE-core] [PATCH v2 1/2] nettle: rewrite ptest integration

2023-06-08 Thread Ross Burton
From: Ross Burton Instead of patching a relative path to an unversioned libnettle.so to be a bare filename which then needs nettle-dev to be installed, create a symlink in the expected place which points to the actual library. This means nettle-ptest no longer needs to depend on nettle-dev. Expl

[OE-core] [PATCH v2 2/2] nettle: inherit lib_package

2023-06-08 Thread Ross Burton
From: Ross Burton Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin, and add a dependency on it to nettle-ptest. Signed-off-by: Ross Burton --- meta/recipes-support/nettle/nettle_3.8.1.bb | 4 +++- 1 file changed, 3 inserti

Re: [OE-core] [RFC] incorrect parsing of sysusers.d in rootfs generation

2023-06-08 Thread Louis Rannou
On 08/06/2023 12:36, Richard Purdie wrote: On Thu, 2023-06-08 at 12:28 +0200, Louis Rannou wrote: Hello, On 08/06/2023 11:19, Richard Purdie wrote: On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote: Hello again, a python solution could be one below. Also, I found that most of users/gr

[OE-core] [PATCH v2] lighttpd: upgrade 1.4.69 -> 1.4.71

2023-06-08 Thread Petr Gotthard
lighttpd 1.4.70 omits building separate (unused) modules for: mod_access mod_alias mod_evhost mod_expire mod_fastcgi mod_indexfile mod_redirect mod_rewrite mod_scgi mod_setenv mod_simple_vhost mod_staticfile https://www.lighttpd.net/2023/5/10/1.4.70/ Therefore, the lighttpd-module-indexfile, light

Re: [OE-core] [RFC] incorrect parsing of sysusers.d in rootfs generation

2023-06-08 Thread Richard Purdie
On Thu, 2023-06-08 at 12:28 +0200, Louis Rannou wrote: > Hello, > > On 08/06/2023 11:19, Richard Purdie wrote: > > On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote: > > > Hello again, > > > > > > a python solution could be one below. > > > > > > Also, I found that most of users/groups defin

Re: [OE-core] [RFC] incorrect parsing of sysusers.d in rootfs generation

2023-06-08 Thread Louis Rannou
Hello, On 08/06/2023 11:19, Richard Purdie wrote: On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote: Hello again, a python solution could be one below. Also, I found that most of users/groups defined there are redundant as they already exist (such as root). I guess they are defined from b

[OE-core][dunfell][PATCH 2/2] systemd: support to list only initialized/uninitialized devices

2023-06-08 Thread Pawan Badganchi
This patch filter devices by properties and return a sorted list only initialized/uninitialized devices. Signed-off-by: Pawan Badganchi --- ...initialized-or-uninitialized-devices.patch | 192 ++ meta/recipes-core/systemd/systemd_244.5.bb| 1 + 2 files changed, 193 insertio

[OE-core][dunfell][PATCH 1/2] systemd: implement --initialized-match/nomatch arguments

2023-06-08 Thread Pawan Badganchi
systemd-udev-trigger.service by default triggeres all devices regardless of whether they were already recognized by systemd-udevd. There are machines (especially in embedded environments) where systemd-udev-trigger.service is configured to run at a later stage of the boot sequence, which can lead

Re: [OE-core] [RFC] incorrect parsing of sysusers.d in rootfs generation

2023-06-08 Thread Richard Purdie
On Wed, 2023-06-07 at 17:16 +0200, Louis Rannou wrote: > Hello again, > > a python solution could be one below. > > Also, I found that most of users/groups defined there are redundant as > they already exist (such as root). I guess they are defined from > base-passwd. I am not sure which recipe

Re: [OE-core] [PATCH] nettle: inherit lib_package

2023-06-08 Thread Alexandre Belloni via lists.openembedded.org
Hello Ross, It seemed to have caused new ptest failures: {'nettle': ['nettle-pbkdf2-test', 'sexp-conv-test']} On 06/06/2023 13:37:32+0100, Ross Burton wrote: > From: Ross Burton > > Nettle is primarily a library that ships some tools, so inherit the > lib_package class to package the tools in