[Pkg-samba-maint] selftest failing on Debian packages

Andrew Bartlett abartlet at samba.org
Tue Apr 5 08:53:04 UTC 2016


On Tue, 2016-04-05 at 05:48 +0200, Mathieu Parent wrote:
> Hello,
> 
> I'm preparing a patch to samba to add a "selftest" build profile.
> 
> I can already say that selftest is failing. I'm running it again as
> root as it may fix some of them (on my very slow computer).

This shouldn't be required.

> - 0001-Add-a-selftest-build-profile.patch: The patch I'm going to
> merge (needs small refactoring)
> - 0002-selftest-builddeps.patch: the remaining part, to merge once
> wheezy is EOL (it doesn't support build profiles). Or we can merge it
> and drop those lines while backporting.
> - 0003-usershare.patch-Fix-usershare-max-shares-default-in-.patch::
> first patch to fix the selftest
> 
> and the build log (without python-testscenarios installed).
> 
> Can you look at the failures?

Eventually, we shouldn't need a distinct profile for this, at least for
performance reasons.  That is, we may be able to get this to work in
the main profile - the selftest used socket_wrapper et al, but this is
no longer compiled in, they LD_PRELOAD.

In the meantime, try again with --enable-developer to see if our -
-enable-selftest is not enough. 

Also ensure that running 'make test' on a normal git checkout works,
rather than in the build environment.  

Finally, I would retry with 4.0.0 once I get that going.

This is a very worthwhile, but also very long and frustrating process. 

It will take weeks to sort out, but if we can even get a 'make
quicktest' that is short and reliable, it will smoke out a lot of bugs,
like that ldb one you see.  Currently we just pray that our packaging
doesn't silently introduce issues not seen in the official release, run
as a /usr/local install.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the Pkg-samba-maint mailing list