Flapping drs replica_sync test

Andreas Schneider asn at samba.org
Tue Mar 24 09:17:02 UTC 2020


On Tuesday, 24 March 2020 10:15:31 CET Andreas Schneider via samba-technical 
wrote:
> Hello,
> 
> the samba-ad-dc4 job fails for me very often in CI and always with the same

It is samba-ad-dc-2 ...

> error:
> 
> UNEXPECTED(error):
> samba4.drs.replica_sync.python(vampire_dc).replica_sync.DrsReplicaSyncTestCa
> se.test_ReplConflictsRemoteWin_with_child(vampire_dc:local) REASON:
> Exception: Exception: Traceback (most recent call last):
>   File "/tmp/samba-testbase/b21/samba-ad-dc-2/source4/torture/drs/python/
> replica_sync.py", line 278, in test_ReplConflictsRemoteWin_with_child
>     self.ou2 = self._create_ou(self.ldb_dc2, "OU=Test Parent Remote
> Conflict") File
> "/tmp/samba-testbase/b21/samba-ad-dc-2/source4/torture/drs/python/
> replica_sync.py", line 126, in _create_ou
>     samdb.add_ldif(ldif)
>   File "bin/python/samba/__init__.py", line 230, in add_ldif
>     self.add(msg, controls)
> _ldb.LdbError: (68, 'LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -  <Entry
> OU=Test Parent Remote
> Conflict,OU=replica_sync1279459,DC=samba,DC=example,DC=com already exists>
> <>')
> FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)
> 
> 
> Why does that entry already exist? Missing cleanup or timing issue?
> 
> 
> 
> 	Andreas


-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list