I built a crops/poky:ubuntu-24.04 image which failed when trying to run tests with a message like this:
annotate-output bash -c 'cd tests; ./runtests.sh crops/poky:ubuntu-24.04'
16:38:26 I: Started bash -c cd tests; ./runtests.sh crops/poky:ubuntu-24.04
16:38:26 O: Running Test run-build.sh
16:38:27 O: sudo: unknown user pokyuser
16:38:27 O: sudo: error initializing audit plugin sudoers_audit
16:38:27 O: Test run-build.sh failed
The reason for the failure I traced to Ubuntu base adding a new user "ubuntu" with uid/gid of 1000. This user was not present in earlier versions. This matches the pokyuser default uid/gid and therefore interferes with the pokyuser configuration.
To fix we need to remove this 'ubuntu' user/group. My first question to the maintainers is where to do it? In this repository where the pokyuser is added or in the yocto-dockerfiles repo so this potentially doesn't affect others that use the same base.