[PATCH] A bugfix (IMHO) for namemap_cache

Andrew Bartlett abartlet at samba.org
Tue Oct 16 09:33:04 UTC 2018


On Tue, 2018-10-16 at 10:58 +0200, Andreas Schneider via samba-
technical wrote:
> On Tuesday, 16 October 2018 10:14:45 CEST Volker Lendecke via samba-technical 
> wrote:
> > On Tue, Oct 16, 2018 at 07:38:54AM +0200, Volker Lendecke via samba-
> 
> technical wrote:
> > > On Mon, Oct 15, 2018 at 11:45:31AM -0700, Jeremy Allison wrote:
> > > > make test TESTS=samba4.ldap.password_lockout
> > > > 
> > > > locally with the patch passes. Is it possible you
> > > > just got unlucky twice on autobuild with the same
> > > > usual ad-dc python flakyness ?
> > > 
> > > Possibly. The gitlab pipeline failed three times in a row, but a full
> > > autobuild on sn-devel worked. The way I run it is via
> > > 
> > > nohup /usr/local/bin/autobuild-private.sh > build.log 2>&1 &
> > > 
> > > in a separate checkout directory on sn-devel and wait for the email.
> > 
> > gitlab still does not like this. After a successful run on sn-devel I
> > gave it another try, but it still fails with
> > 
> > samba4.ldap_schema.python(ad_dc_ntvfs)(ad_dc_ntvfs)
> > 
> > which means there is a significant difference between gitlab CI and
> > sn-devel.
> > 
> > How do I get root access to such a gitlab instance to manually run
> > that test in that environment? This is needed, because otherwise I
> > don't see how I have a chance to even approach this failure.
> > 
> > Andrew, can you get me root on such a box?
> 
> You can get it the following way:
> 
> Install docker and run:
> 
> docker run -ti registry.gitlab.com/samba-team/samba:latest /bin/bash
> 
> Then you need to clone the samba git repository with your changes and run the 
> test.
> 
> You can find how to run it in the log of the failed pipeline.

I've taken the liberty of putting that in the wiki here:


https://wiki.samba.org/index.php/Samba_CI_on_gitlab#Debugging_CI_failures

I've also added some of my own clues. Please help expand it further,
but I wanted to ensure this is written down for others to find.

Thanks!

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 samba-technical mailing list