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

2023-08-23 Thread Richard Purdie
On Tue, 2023-08-22 at 23:01 +0100, Richard Purdie via lists.openembedded.org wrote: > so the commands are stopping mid flow for unknown reasons or the ssh > connection fails. I can't tell if this coincides with an rcu stall or > not. Both logs do have rcu stalls in. > > After these failures the

Re: [OE-core] [PATCH 1/2] patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir

2023-08-23 Thread Alexander Kanavin
Thanks, this has been a problem for a long time. Alex On Wed, 23 Aug 2023 at 15:41, Julien Stephan wrote: > > [YOCTO #14141] > > Currently the gitdir is manually constructed using `git > rev-parse --show-toplevel` and appending `.git`. This is most of the time > correct but not always: `.git`

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

2023-08-23 Thread Alexander Kanavin
I guess the extra space stuff should be going here instead? Alex On Wed, 23 Aug 2023 at 08:10, Mikko Rapeli wrote: > > Builds core-image-minimal with testimage.bbclass and an ssh server > and then runs tests with slirp networking. Default test suite must > pass. > > With full caches on x86_64

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

2023-08-23 Thread Alexander Kanavin
Either you need to use a different image in testing, or add the needed pieces to this image in the same commit, explaining why. Adding extra space because you have a local, custom configuration where it is required is not correct. Alex On Wed, 23 Aug 2023 at 08:10, Mikko Rapeli wrote: > >

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 Alexander Kanavin
I mean runqemu does already have def check_render_nodes(self): where this should be fixed. Sorry can't help myself :) Alex On Wed, 23 Aug 2023 at 20:40, Alexander Kanavin via lists.openembedded.org wrote: > > Better yet, how about fixing this at the source, i.e. qemu itself? > Sorry for the

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 Alexander Kanavin
Better yet, how about fixing this at the source, i.e. qemu itself? Sorry for the rapid-fire :) Alex On Wed, 23 Aug 2023 at 20:38, Alexander Kanavin wrote: > > Oh, and device should be /dev/dri/render*, and all of this should be in > runqemu. > > Alex > > On Wed, 23 Aug 2023 at 20:37, Alexander

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 Alexander Kanavin
Oh, and device should be /dev/dri/render*, and all of this should be in runqemu. Alex On Wed, 23 Aug 2023 at 20:37, 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

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 Alexander Kanavin
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: > > qemu-system-x86_64: egl: render node init failed > > To fix this, users likely need to > > * modprobe vgem > *

[OE-core] [PATCH 3/3] linux-firmware: package Dragonboard 845c sensors DSP firmware

2023-08-23 Thread Dmitry Baryshkov
Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard 845c platform. Signed-off-by: Dmitry Baryshkov --- meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb | 4 1 file changed, 4 insertions(+) diff --git

[OE-core] [PATCH 2/3] linux-firmware: package audio topology for Lenovo X13s

2023-08-23 Thread Dmitry Baryshkov
Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio package. The file is licensed is copyright by Linaro and licensed under BSD 3-clause license. Signed-off-by: Dmitry Baryshkov --- .../linux-firmware/linux-firmware_20230804.bb | 7 +-- 1 file changed, 5

[OE-core] [PATCH 1/3] linux-firmware: upgrade 20230625 -> 20230804

2023-08-23 Thread Dmitry Baryshkov
License-Update: additional firmwares Signed-off-by: Dmitry Baryshkov --- ...{linux-firmware_20230625.bb => linux-firmware_20230804.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/linux-firmware/{linux-firmware_20230625.bb => linux-firmware_20230804.bb}

Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe

2023-08-23 Thread Khem Raj
On 8/23/23 9:24 AM, Leon Anavi wrote: Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend. Signed-off-by: Leon Anavi --- meta/conf/distro/include/maintainers.inc | 1 +

Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe

2023-08-23 Thread Alexander Kanavin
Both this, and aml recipe should go to meta-oe, unless there is a use case for having them in oe-core. Alex On Wed, 23 Aug 2023 at 18:24, Leon Anavi wrote: > > Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC > server library with a clean interface. It is required for building >

[OE-core] [PATCH 2/2] neatvnc: add new recipe

2023-08-23 Thread Leon Anavi
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend. Signed-off-by: Leon Anavi --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40

[OE-core] [PATCH 1/2] aml: add new recipe

2023-08-23 Thread Leon Anavi
Add a new recipe for aml (Andri's Main Loop) v0.3.0. It is required for neatvnc which is required for building Weston with VNC backend. Signed-off-by: Leon Anavi --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/aml/aml_git.bb | 35 2 files

Re: [OE-core][PATCH 0/2] Upgrading Cython to 3.0.0

2023-08-23 Thread Trevor Gamblin
On 2023-08-23 12:08, Khem Raj wrote: On Wed, Aug 23, 2023 at 12:27 AM Luca Ceresoli wrote: On Wed, 23 Aug 2023 09:24:42 +0200 "Luca Ceresoli via lists.openembedded.org" wrote: Hello Trevor, On Mon, 21 Aug 2023 13:38:38 -0400 "Trevor Gamblin" wrote: The Cython 3.0.0 release contains

Re: [OE-core][PATCH 0/2] Upgrading Cython to 3.0.0

2023-08-23 Thread Khem Raj
On Wed, Aug 23, 2023 at 12:27 AM Luca Ceresoli wrote: > > On Wed, 23 Aug 2023 09:24:42 +0200 > "Luca Ceresoli via lists.openembedded.org" > wrote: > > > Hello Trevor, > > > > On Mon, 21 Aug 2023 13:38:38 -0400 > > "Trevor Gamblin" wrote: > > > > > The Cython 3.0.0 release contains many changes.

[OE-core][kirkstone 17/36] pixman: Remove duplication of license MIT

2023-08-23 Thread Steve Sakoman
From: Poonam Jadhav Remove duplication of license MIT from pixman bbfile. Signed-off-by: Poonam Jadhav Signed-off-by: Steve Sakoman --- meta/recipes-graphics/xorg-lib/pixman_0.40.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][kirkstone 36/36] glibc-locale: use stricter matching for metapackages' runtime dependencies

2023-08-23 Thread Steve Sakoman
From: Alexander Kanavin This resolves two issues: 1. metapackages were depending on themselves (except -binaries which wouldn't match against 'glibc-binary'). 2. for the nativesdk variant, due to a non-empty dependency list at parsing time caused by issue 1, map_depends_variable() from

[OE-core][kirkstone 35/36] oeqa/ssh: Further improve process exit handling

2023-08-23 Thread Steve Sakoman
From: Richard Purdie It looks like there were further cases where orphaned processes may be left behind since the .kill() calls may be unsuccessful if the process terminated due to the terminate or through normal exit. In that situation .wait() wouldn't have been called. Further tweak the exit

[OE-core][kirkstone 34/36] target/ssh: Ensure exit code set for commands

2023-08-23 Thread Steve Sakoman
From: Richard Purdie As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait() is called so we need to call this after the .kill() call. This fixes return code reporting so that timeouts for example now return an exit code when they didn't before. Signed-off-by: Richard

[OE-core][kirkstone 33/36] oeqa/runtime/ltp: Increase ltp test output timeout

2023-08-23 Thread Steve Sakoman
From: Richard Purdie On our slower arm server, the tests currently timeout leading to inconsistent test results. Increase the timeout to avoid this and aim to make the test results consistent. Signed-off-by: Richard Purdie (cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)

[OE-core][kirkstone 30/36] oeqa/utils/nfs: allow requesting non-udp ports

2023-08-23 Thread Steve Sakoman
From: Anuj Mittal Allows setting up NFS over TCP as well. Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit e1ff9b9a3b7f7924aea67d2024581bea2e916036) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/utils/nfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2

[OE-core][kirkstone 32/36] oeqa/target/ssh: Ensure EAGAIN doesn't truncate output

2023-08-23 Thread Steve Sakoman
From: Richard Purdie We have a suspicion that the read() call may return EAGAIN on the non-blocking fd and this may truncate test output leading to some of our intermittent failures. Tweak the code to avoid this potential issue. Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][kirkstone 31/36] selftest/cases/glibc.py: switch to using NFS over TCP

2023-08-23 Thread Steve Sakoman
From: Anuj Mittal This provides a more reliable test execution when running tests that write a large buffer/file and significantly reduces the localedata test failures. Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][kirkstone 29/36] selftest/cases/glibc.py: increase the memory for testing

2023-08-23 Thread Steve Sakoman
From: Anuj Mittal Some of the tests trigger OOM and fail. Increase the amount of memory available so we dont run into these issues. Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a) Signed-off-by: Steve Sakoman ---

[OE-core][kirkstone 23/36] selftest/cases/glibc.py: fix the override syntax

2023-08-23 Thread Steve Sakoman
From: Anuj Mittal Fix the override so we actually pass the correct value to glibc. Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit 38fd2120f0f48512091ddad6205ce19839eaf589) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/glibc.py | 2 +- 1

[OE-core][kirkstone 28/36] glibc/check-test-wrapper: don't emit warnings from ssh

2023-08-23 Thread Steve Sakoman
From: Anuj Mittal Dont fill up the test log with ssh warning about having added the host to list of known hosts. Also helps fix a test case failure where stderr log was being compared to a known value. Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][kirkstone 27/36] mdadm: add util-linux-blockdev ptest dependency

2023-08-23 Thread Steve Sakoman
From: Ovidiu Panait 07revert-inplace test logs contain the following: func.sh: line 335: /sbin/blockdev: No such file or directory Add the missing util-linux-blockdev dependency. Signed-off-by: Ovidiu Panait Signed-off-by: Alexandre Belloni (cherry picked from commit

[OE-core][kirkstone 26/36] kernel: Fix path comparison in kernel staging dir symlinking

2023-08-23 Thread Steve Sakoman
From: Staffan Rydén Due to an oversight in the do_symlink_kernsrc function, the path comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code obtains both variables, but modifies the local copy of "S" before comparing them, causing the comparison to always return false. This can

[OE-core][kirkstone 25/36] rpm: Pick debugfs package db files/dirs explicitly

2023-08-23 Thread Steve Sakoman
From: Alex Kiernan Rather than copying the entire /etc hierarchy, specify the pieces we actually need. Signed-off-by: Alex Kiernan Signed-off-by: Alexandre Belloni (cherry picked from commit f0fea55ab02b013484282177a636795a254e7986) Signed-off-by: Steve Sakoman ---

[OE-core][kirkstone 24/36] rootfs: Add debugfs package db file copy and cleanup

2023-08-23 Thread Steve Sakoman
From: Alex Kiernan When copying the package database files for the debugfs, add individual file copy as well as tree copying. After the debug rootfs has been created, cleanup the package files. This then allows us to avoid a problem where (for rpm at least) extraneous files in the debug rootfs

[OE-core][kirkstone 22/36] automake: fix buildtest patch

2023-08-23 Thread Steve Sakoman
From: Julien Stephan Add check_PROGRAMS as a dependency of buildtest-TESTS target. This is required because according to the official automake documentation [1]: * TESTS: contains all the tests files * check_PROGRAMS: contains the programs used by the tests * check_PROGRAMS is not automatically

[OE-core][kirkstone 21/36] resulttool/resultutils: allow index generation despite corrupt json

2023-08-23 Thread Steve Sakoman
From: Michael Halstead non-release indexes will continue to generate when test output is corrupted. Signed-off-by: Michael Halstead Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 1a9157684a6bff8406c9bb470cb2e16ee006bbe9) Signed-off-by: Steve Sakoman

[OE-core][kirkstone 20/36] shadow-sysroot: add license information

2023-08-23 Thread Steve Sakoman
From: Enrico Scholz Recipe references 'login.defs' in LIC_FILES_CHKSUM. This causes some problems: - file does not contain a single word which is related with its license - changing this file (here: increasing SYS_UID_MIN) invalidates LIC_FILES_CHKSUM Add 'SPDX-License-Identifier' to the

[OE-core][kirkstone 19/36] acl/attr: ptest fixes and improvements

2023-08-23 Thread Steve Sakoman
From: Richard Purdie Add a missing perl module dependency for the ptest packages and also improve the run-ptest script so that the error log is saved allowing easier debugging if this fails in future. (From OE-Core rev: fbb9c596b8e6a8a1260dd7aefddf138d20bf64df) Signed-off-by: Richard Purdie

[OE-core][kirkstone 18/36] lib/package_manager: Improve repo artefact filtering

2023-08-23 Thread Steve Sakoman
From: Richard Purdie If you run an arm build followed by an x86 one and then ask for a full repo to be created, it will include all of the arm and x86 packages. testexport will then find the arm socat package rather than the x86 one and try and run arm binaries within an x86 qemu image with no

[OE-core][kirkstone 16/36] yocto-uninative: Update to 4.2 for glibc 2.38

2023-08-23 Thread Steve Sakoman
From: Michael Halstead Uninative 4.2 adds glibc 2.38. Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit c6654fab00a1b4e4bb05eec8b77c8c60e1f8a709) Signed-off-by: Steve Sakoman --- meta/conf/distro/include/yocto-uninative.inc | 10 +- 1 file

[OE-core][kirkstone 15/36] yocto-uninative: Update hashes for uninative 4.1

2023-08-23 Thread Steve Sakoman
From: Michael Halstead This version includes fixes to patchelf. Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b) Signed-off-by: Steve Sakoman --- meta/conf/distro/include/yocto-uninative.inc | 8 1

[OE-core][kirkstone 14/36] linux-yocto/5.15: update to v5.15.124

2023-08-23 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 38d4ca22a528 Linux 5.15.124 78001ffa9bc4 selftests: mptcp: join: only check for ip6tables if needed 66cf5f394abe ASoC: cs42l51: fix driver to properly autoload with automatic

[OE-core][kirkstone 13/36] linux-yocto/5.15: update to v5.15.123

2023-08-23 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 09996673e313 Linux 5.15.123 e6c2f1ce413c Revert "drm/amd/display: edp do not add non-edid timings" 68eafe294786 nixge: fix mac address error handling again 22f4093a4213

[OE-core][kirkstone 12/36] linux-yocto/5.15: update to v5.15.122

2023-08-23 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 5c6a716301d9 Linux 5.15.122 be824fdb827d x86/cpu/amd: Add a Zenbleed fix 5398be2c48aa x86/cpu/amd: Move the errata checking functionality up cdd3cdb682f4 Linux 5.15.121

[OE-core][kirkstone 11/36] linux-firmware: split platform-specific Adreno shaders to separate packages

2023-08-23 Thread Steve Sakoman
From: Dmitry Baryshkov For newest Qualcomm platforms the firmware for the Adreno GPU consists of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and platform-specific ZAP shader, which is used during the boot process. As the platform-independent parts can be shared between different

[OE-core][kirkstone 10/36] linux-firmware : Add firmware of RTL8822 serie

2023-08-23 Thread Steve Sakoman
From: BELOUARGA Mohamed RTL8822 is a serie of wireless modules that need firmwares to function correctly. The linux firmware recipe does not have a package of these firmwares, and this commit add them. Signed-off-by: BELOUARGA Mohamed Signed-off-by: Alexandre Belloni Signed-off-by: Richard

[OE-core][kirkstone 09/36] linux-firmware: package firmare for Dragonboard 410c

2023-08-23 Thread Steve Sakoman
From: Dmitry Baryshkov Latest linux-firmware archive inclues firmware for the Dragonboard 410c device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-* packages as a template and create packages for the new firmware files. Signed-off-by: Dmitry Baryshkov Signed-off-by: Alexandre

[OE-core][kirkstone 08/36] linux-firmware: upgrade 20230515 -> 20230625

2023-08-23 Thread Steve Sakoman
From: Trevor Gamblin WHENCE checksum changed because of updated version lists and removal of information for the RTL8188EU driver. Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie (cherry picked from commit 986f8ca9d4c2c22d368f69e65b2ab76d661edca0) Signed-off-by: Steve Sakoman ---

[OE-core][kirkstone 05/36] gstreamer1.0: upgrade 1.20.6 -> 1.20.7

2023-08-23 Thread Steve Sakoman
From: Archana Polampalli This release only contains bugfixes. Highlighted bugfixes in 1.20.7: Security fixes for flacparse, dvdspu, and subparse, and the RealMedia demuxer h265parse: Fix framerate handling filesink: Fix buffered mode writing of buffer lists and buffers with multiple memories

[OE-core][kirkstone 07/36] libnss-nis: upgrade 3.1 -> 3.2

2023-08-23 Thread Steve Sakoman
From: Wang Mingyu Changelog: * Do not call malloc_usable_size Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 5cd967503c0574f45b814572da9503182556b431) Signed-off-by: Steve Sakoman ---

[OE-core][kirkstone 06/36] bind: 9.18.11 -> 9.18.17

2023-08-23 Thread Steve Sakoman
From: Chee Yang Lee upgrade also include fix for CVE-2023-2829. License-Update: removed trailing whitespace from COPYRIGHT also remove obsolete configuration option epoll and devpoll: https://github.com/isc-projects/bind9/commit/6b6076c882a00028197b04a827f6cf8e7a5369de Signed-off-by: Chee

[OE-core][kirkstone 04/36] librsvg: 2.52.7 -> 2.52.10

2023-08-23 Thread Steve Sakoman
From: Chee Yang Lee upgrade include fix for CVE-2023-38633 Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman --- .../librsvg/{librsvg_2.52.7.bb => librsvg_2.52.10.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-gnome/librsvg/{librsvg_2.52.7.bb

[OE-core][kirkstone 03/36] glib-2.0: Fix CVE-2023-32643 and CVE-2023-32636

2023-08-23 Thread Steve Sakoman
From: Soumya Sambu fuzz_variant_binary_byteswap: Heap-buffer-overflow in g_variant_serialised_get_child fuzz_variant_text: Timeout in fuzz_variant_text Signed-off-by: Soumya Sambu Signed-off-by: Steve Sakoman --- .../glib-2.0/glib-2.0/CVE-2023-32636.patch| 50 ++

[OE-core][kirkstone 02/36] glib-2.0: Fix CVE-2023-29499 and CVE-2023-32611

2023-08-23 Thread Steve Sakoman
From: Soumya Sambu GVariant offset table entry size is not checked in is_normal() g_variant_byteswap() can take a long time with some non-normal inputs Signed-off-by: Soumya Sambu Signed-off-by: Steve Sakoman --- .../glib-2.0/glib-2.0/CVE-2023-29499.patch| 291 ++

[OE-core][kirkstone 01/36] glib-2.0: Fix CVE-2023-32665

2023-08-23 Thread Steve Sakoman
From: Soumya Sambu GVariant deserialisation does not match spec for non-normal data Signed-off-by: Soumya Sambu Signed-off-by: Steve Sakoman --- .../glib-2.0/CVE-2023-32665-0001.patch| 104 + .../glib-2.0/CVE-2023-32665-0002.patch| 211 +

[OE-core][kirkstone 00/36] Patch review

2023-08-23 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by end of day Friday, August 25. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5772 The following changes since commit f20a06149cb61264662d1eaf6ea02aefabc0a18b: libxcrypt:

[OE-core] [PATCH 1/2] patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir

2023-08-23 Thread Julien Stephan
[YOCTO #14141] Currently the gitdir is manually constructed using `git rev-parse --show-toplevel` and appending `.git`. This is most of the time correct but not always: `.git` can be a file with the following content: gitdir: This is the case for submodules, so when using devtool modify on a

[OE-core] [PATCH 2/2] vulkan-samples: convert debugfix.patch to git format patch

2023-08-23 Thread Julien Stephan
devtool modify on vulkan-samples fails to apply the debugfix.patch because it is not in one of git's known formats. Here is the error: ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'

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: openssh ptest banner failure (was Re: [OE-core] [PATCH v2 2/9] testimage.bbclass: detect slirp from TEST_RUNQEMUPARAMS )

2023-08-23 Thread Richard Purdie
On Wed, 2023-08-23 at 16:01 +0300, Mikko Rapeli wrote: > 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

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

2023-08-23 Thread Alexander Kanavin
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 of banner data perhaps? Would *really* appreciate if you can get to the bottom

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

2023-08-23 Thread Richard Purdie
On Wed, 2023-08-23 at 14:47 +0300, Mikko Rapeli wrote: > 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

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 call last): > File

[OE-core] CFP for YPS 2023.11 now open!

2023-08-23 Thread Josef Holzmayr
Its sunny, it is summer, you're just back from vacation? Nothing better to get into the flow again than writing a proposal for the 2023.11 edition of the Yocto Project Summit! We love to hear about all your Yocto things. What you made, what you broke, what you learned, what you created. The CFP

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, > > > > > > > > On Tue, Aug

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 connect > > Cannot run

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

2023-08-23 Thread Richard Purdie
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, > > > > > > On Tue, Aug 22, 2023 at 11:25:58PM -0700, Khem Raj wrote: > > > > will this work when running

[OE-Core][PATCH 0/2] oeqa/utils/gitarchive: put back local tags listing as third tag listing method

2023-08-23 Thread Alexis Lothoré via lists . openembedded . org
Hello, this is another attempt to properly fix tag computation in Autobuilder. First attempt ([1]) completely replaced "git tag" with "git ls-remote" to make sure to know about all tags when computing new tag name. It raised some issue because oe-git-archive works with local repositories with no

[OE-Core][PATCH 1/2] oeqa/utils/gitarchive: allow to pass a logger to get_tags

2023-08-23 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Propagate a "log" parameter to get_tags in order to know what method is used to retrieve existing tags Signed-off-by: Alexis Lothoré --- meta/lib/oeqa/selftest/cases/gitarchivetests.py | 13 ++--- meta/lib/oeqa/utils/gitarchive.py | 11 ++- 2

[OE-Core][PATCH 2/2] oeqa/utils/gitarchive: fall back to local tags when listing existing tags

2023-08-23 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré e9cff55e73cc has switched tag listing from bare "git tag" to "git ls-remote" to make sure not to miss remote tags which are not fetched locally. This mechanism first checks for configured remote repository, next for possibly passed url, and then fails if none worked.

[OE-core] [PATCH] insane.bbclass: Remove an unused variable

2023-08-23 Thread Peter Kjellerstedt
The use of coremeta_path was removed with commit 61a881fdbe (insane: Improve patch-status layer filtering) when the patch-status QA test was generalized. Signed-off-by: Peter Kjellerstedt --- meta/classes-global/insane.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git

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

2023-08-23 Thread Alexander Kanavin
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 connect > Cannot run ptests without @expectedFailure as ptests are expected to fail > QMP connected to

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 ? > > > e.g. try bitbake

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

2023-08-23 Thread Richard Purdie
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 ? > > e.g. try bitbake core-image-ptest-all > > I was not aware of core-image-ptest-all. Tried to build it but it

Re: [OE-core] [PATCH v2 13/13] docs: cover devtool ide

2023-08-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Adrian, On Tue, 22 Aug 2023 21:20:19 +0200 "Adrian Freihofer" wrote: > Signed-off-by: Adrian Freihofer > --- > documentation/sdk-manual/extensible.rst | 97 - This patch should be sent to the docs mailing list. Luca -- Luca Ceresoli, Bootlin Embedded Linux and

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 +=

Re: [OE-core][PATCH 0/2] Upgrading Cython to 3.0.0

2023-08-23 Thread Luca Ceresoli via lists.openembedded.org
On Wed, 23 Aug 2023 09:24:42 +0200 "Luca Ceresoli via lists.openembedded.org" wrote: > Hello Trevor, > > On Mon, 21 Aug 2023 13:38:38 -0400 > "Trevor Gamblin" wrote: > > > The Cython 3.0.0 release contains many changes. Since there are a large > > number of recipes that depend on it, there

Re: [OE-core][PATCH 0/2] Upgrading Cython to 3.0.0

2023-08-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Trevor, On Mon, 21 Aug 2023 13:38:38 -0400 "Trevor Gamblin" wrote: > The Cython 3.0.0 release contains many changes. Since there are a large > number of recipes that depend on it, there will potentially be build > issues with recipes in meta-python and elsewhere. I performed a world >

Re: [OE-core][kirkstone][PATCH] perf: fix argument list too long during compile

2023-08-23 Thread Xiangyu Chen
On 8/22/23 11:37, Bruce Ashfield wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu, Aug 17, 2023 at 11:30 PM Xiangyu Chen wrote: Hi Bruce, Sorry for being late,

Re: [OE-Core][PATCH v2 3/3] oeqa/selftest/gitarchive: add tests about tags lisiting when no remote is configured

2023-08-23 Thread Alexis Lothoré via lists . openembedded . org
Hello Richard, On 8/18/23 16:17, Alexis Lothoré via lists.openembedded.org wrote: > From: Alexis Lothoré > > Add specific tests on gitarchive for when tag listing is required but no > remote is configured in target directory: it should either succeed if valid > url is provided, or fail is url

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: > 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 manually with slirp. > > > > Users

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

2023-08-23 Thread Khem Raj
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 manually with slirp. > > Users run qemu images with slirp networking like this: > > $ bitbake

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

2023-08-23 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 machine. Signed-off-by: Mikko

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

2023-08-23 Thread Mikko Rapeli
Check return values of each git command and set initial branch name to avoid this warning on every test run: NOTE: Starting bitbake server... hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use

[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
If access to /dev/dri/renderD128 fails, then qemu with 3d graphics will fail to start and errors are rather cryptic like: qemu-system-x86_64: egl: render node init failed To fix this, users likely need to * modprobe vgem * add their user to "render" group to write to /dev/dri/renderD128 If

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

2023-08-23 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 +++

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

2023-08-23 Thread Mikko Rapeli
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 this: $ bitbake core-image-minimal $ ../poky/scripts/runqemu slirp slirp networking means that only

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

2023-08-23 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-23 Thread Mikko Rapeli
testimage.bbclass requires that ssh communication with target works and then it runs oeqa runtime tests with that. Tests like df.py check that there is more than 5Mb free space on the rootfs on target. Sadly latest core-image-minimal only has 1.5 Mb free space if ssh-server-dropbear is added to

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

2023-08-23 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

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

2023-08-23 Thread Mikko Rapeli
Builds core-image-minimal with testimage.bbclass and an ssh server and then runs tests with slirp networking. Default test suite must pass. With full caches on x86_64 with x86_64 target the test passes in 416 seconds: 2023-08-21 09:01:12,295 - oe-selftest - INFO - Ran 1 test in 464.955s