On Tue Jun 16, 2026 at 8:25 PM CEST, rs wrote: > From: Randolph Sapp <[email protected]> > > Change this single xuser account template into a generic > standard-user-account that uses distro level variables for > configuration. > > This allows for seamless configuration of multiple out-of-box scripts > and tests across layers without having to implicitly hope that the > username or groups haven't been changed by a bbappend or recipe > override. > > This also adds a class and a variable to allow recipes to assert that > the user is in requested groups. > > This was proposed specifically to remove some issues highlighted in: > https://lists.openembedded.org/g/openembedded-core/message/230665 > > Signed-off-by: Randolph Sapp <[email protected]> > ---
Hi Randolph, Thanks, it looks better now. Yet we have some test failures: AssertionError: ssh exited with status '255' for command '['ssh', '-l', 'root', '-o', 'ServerAliveCountMax=2', '-o', 'ServerAliveInterval=30', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '192.168.7.2', 'export PATH=/usr/sbin:/sbin:/usr/bin:/bin; export XDG_RUNTIME_DIR=/run/user/`id -u weston`; export WAYLAND_DISPLAY=wayland-1; wayland-info']': this is likely an SSH failure id: unknown user weston failed to create display: No such file or directory ... RESULTS - weston.WestonTest.test_wayland_info: FAILED (0.47s) RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: FAILED (0.27s) RESULTS - weston.WestonTest.test_weston_running: FAILED (0.73s) https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/3950 Also we have a failing selftest: 2026-06-17 11:32:17,460 - oe-selftest - INFO - incompatible_lic.NoGPL3InImagesTests.test_core_image_full_cmdline_weston (subunit.RemotedTestCase) 2026-06-17 11:32:17,465 - oe-selftest - INFO - ... FAIL ... ERROR: weston-init-1.0-r0 do_package_write_rpm: File /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-953747/tmp/work/qemux86_64-poky-linux/weston-init/1.0/recipe-sysroot/etc/passwd doesn't exist in sysroot! ... File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/classes-global/package_rpm.bbclass', lineno: 202, function: get_attr 0198: def get_attr(path): 0199: stat_f = os.stat(rootpath + "/" + path, follow_symlinks=False) 0200: mode = stat.S_IMODE(stat_f.st_mode) 0201: try: *** 0202: owner = pwd.getpwuid(stat_f.st_uid).pw_name 0203: except Exception as e: 0204: filename = d.getVar('RECIPE_SYSROOT') + '/etc/passwd' 0205: if os.path.exists(filename): 0206: bb.error("Content of /etc/passwd in sysroot:\n{}".format( Exception: KeyError: 'getpwuid(): uid not found: 1000' https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4139 https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4061 https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3911 Can you have a look at the issue? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239034): https://lists.openembedded.org/g/openembedded-core/message/239034 Mute This Topic: https://lists.openembedded.org/mt/119838359/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
