Failing tests on Fedora
asn at samba.org
Thu Feb 16 08:04:21 UTC 2023
I'm currently trying to run 'make test' as part of the RPM build process
(%check). So I'm trying to get everything working, but I'm seeing strange
issues and I need some help to track them down.
The errors happen only if I run a full 'make test' and I don't see them when
running the test individually (make test TESTS="..").
Lets take a look at the samba.tests.samba_tool.gpo_exts.ad_dc_ntvfs test.
[2583(16283)/2929 at 1h59m32s, 15 errors]
REASON: Exception: Exception: Traceback (most recent call last):
samba_tool/gpo_exts.py", line 111, in test_vgp_access_add
self.assertCmdSuccess(result, out, err, 'Access add failed')
samba_tool/base.py", line 97, in assertCmdSuccess
self.assertIsNone(exit, msg=msg.replace("\n]\n", "\n] \n"))
AssertionError: -1 is not None : exit[-1] stdout stderr[ERROR: Unable to
find user or group "testuser"
]: Access add failed
The pattern is the same with other tests failing.
We create a test user with `samba-tool user add`, which succeeds! Note that
samba-tool directly operates on the database here!
Next we try to do an operation via ldap:// and if you look at the error above
it tells us the user we sucessfully createa a few moments agao doesn't exist.
It looks like the samba process didn't recognize that that the database was
I also see something like that with Kerberos tests, we create a user with
`samba-tool add user` and then the KDC can't find it in the database => same
I don't have deep knowledge of the AD server, so hints how to track this down
are much appreciated.
(I'm now running the tests on ext4, but the filesystem doesn't matter here).
Andreas Schneider asn at samba.org
Samba Team www.samba.org
More information about the samba-technical