[PATCH] Fix some flapping schema tests

Andreas Schneider asn at samba.org
Wed Jan 11 15:54:27 UTC 2017


On Wednesday, 11 January 2017 13:48:43 CET Stefan Metzmacher wrote:
> Am 10.01.2017 um 03:51 schrieb Bob Campbell:
> > Hi,
> > 
> > These tests occasionally failed due to OID collisions. This patch fixes
> > that and so hopefully makes autobuild fail slightly less often.
> > 
> > Please review & push if appropriate.
> 
> Here's one more that hopefully fixes the following:
> 
> [1959(13335)/2027 at 2h17m33s]
> samba4.ldap.secdesc.python(fl2008r2dc)(fl2008r2dc)
> baseDN: DC=samba2008r2,DC=example,DC=com
> ndr_pull_error(11): ndr_pull_relative_ptr1 rel_offset(1094990407) >
> ndr->data_size(22)
> UNEXPECTED(error):
> samba4.ldap.secdesc.python(fl2008r2dc).__main__.OwnerGroupDescriptorTests.te
> st_142(fl2008r2dc) REASON: Exception: Exception: Traceback (most recent call
> last):
>   File
> "/memdisk/metze/a/b148065/samba/source4/dsdb/tests/python/sec_descriptor.py"
> , line 904, in test_142
>     self.create_schema_class(_ldb, class_dn, desc_sddl)
>   File
> "/memdisk/metze/a/b148065/samba/source4/dsdb/tests/python/sec_descriptor.py"
> , line 99, in create_schema_class
>     _ldb.add_ldif(ldif)
>   File "bin/python/samba/__init__.py", line 225, in add_ldif
>     self.add(msg, controls)
> LdbError: (53, "LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <00002035:
> samldb: governsID '1.3.6.1.4.1.7165.4.6.3.17541' already in use!> <>")
> 
> FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)
> 
> Please review and push:-)


I just hit the following error:


[1994(13803)/2027 at 3h2m31s] samba4.drs.replica_sync.python(promoted_dc)
(promoted_dc:local)
UNEXPECTED(error): 
samba4.drs.replica_sync.python(promoted_dc).replica_sync.DrsReplicaSyncTestCase.test_ReplConflictsRemoteWin_with_child(promoted_dc:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/memdisk/asn/a/b737184/samba/source4/torture/drs/python/
replica_sync.py", line 260, in test_ReplConflictsRemoteWin_with_child
    self.ou2 = self._create_ou(self.ldb_dc2, "OU=Test Parent Remote Conflict")
  File "/memdisk/asn/a/b737184/samba/source4/torture/drs/python/
replica_sync.py", line 95, in _create_ou
    samdb.add_ldif(ldif)
  File "bin/python/samba/__init__.py", line 225, in add_ldif
    self.add(msg, controls)
LdbError: (68, 'LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -  <Entry OU=Test 
Parent Remote Conflict,DC=samba,DC=example,DC=com already exists> <>')




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



More information about the samba-technical mailing list