Created attachment 2947 [details] Log test image When running testimage test_rpm_query_nonroot failed, the next error message was displayed "failed to create new user". Build Configuration: BB_VERSION = "1.28.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-15.10" TARGET_SYS = "x86_64-poky-linux" MACHINE = "genericx86-64" DISTRO = "poky" DISTRO_VERSION = "2.0.1" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp meta-selftest = "HEAD:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f" Tested on NUC. Attached you can find logs.
We've tested locally as well, and the second time didn't reproduce.
Would be helpful if the test wrote the error output instead of just saying "failed". This would help debug if someone can replicate on demand: diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py index 32aae24..37cfb3f 100644 --- a/meta/lib/oeqa/runtime/rpm.py +++ b/meta/lib/oeqa/runtime/rpm.py @@ -52,7 +52,7 @@ class RpmInstallRemoveTest(oeRuntimeTest): @skipUnlessPassed('test_ssh') def test_rpm_query_nonroot(self): (status, output) = self.target.run('useradd test1') - self.assertTrue(status == 0, msg="Failed to create new user") + self.assertTrue(status == 0, msg="Failed to create new user: " + output) (status, output) = self.target.run('sudo -u test1 id') self.assertTrue('(test1)' in output, msg="Failed to execute as new user") (status, output) = self.target.run('sudo -u test1 rpm -qa')
This patch has been sent, should help debug this if/when it happens again.
This hasn't happened since, if we release 2.1 and it still hasn't happened we could close it.
Happened again on BUILD: 2.1_M3.RC2: 21823cb466e79540567ad1a43ae6f93d850e4057 ENVIRONMENT: genericx86-64 on NUC
Created attachment 3280 [details] 2.1.1 similar results
Similar results on BUILD: 2.1_1.RC1:98c57bb512ea6790db8604fcf0b88c81651d2ab4 ENVIRONMENT: genericx86-64 on NUC log is atached.
9204 is owned by Edwin and he is working on a patch, so close this one. *** This bug has been marked as a duplicate of bug 9204 ***
Verified as duplicate