[PATCH] Finally run bind9_dlz spnego test, fix drs delete behaviour

Andrew Bartlett abartlet at samba.org
Sun Jun 23 06:34:42 MDT 2013


On Tue, 2013-06-18 at 11:01 +1000, Andrew Bartlett wrote:

> Thanks metze,
> 
> To assert with more certainty that deleted objects stay under the
> 'Deleted Objects' container I've implemented the attached, and I'm
> running a number of autobuilds with this to try and verify that. 
> 
> The branch I'm testing is fix-drs-testing-21
> 
> https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/fix-drs-testing-21

I've now got successful 6 autobuilds with:
https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/fix-drs-testing-21

This includes code to try and ensure we always have an up to date schema
before we do the work in getncchanges.  Sadly the 7th autobuild failed
with the FSMO test error:

[1574/1582 in 1h40m55s] samba4.drs.fsmo.python(promoted_dc)
Testing for schema role transfer from localdc.samba.example.com to
PROMOTEDVDC.samba.example.com
FSMO transfer of 'schema' role successful
Testing for schema role transfer from PROMOTEDVDC.samba.example.com to
localdc.samba.example.com
ERROR: Failed to initiate transfer of 'schema' role: LDAP error 52
LDAP_UNAVAILABLE -  <Failed FSMO transfer: WERR_DS_DRA_INTERNAL_ERROR>
<>
UNEXPECTED(failure):
samba4.drs.fsmo.python(promoted_dc).fsmo.DrsFsmoTestCase.test_SchemaMasterTransfer(promoted_dc)
REASON: _StringException: _StringException: Content-Type:
text/x-traceback;charset=utf8,language=python
traceback
374
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line
128, in _run_user
    return fn(*args)
  File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line
368, in _run_test_method
    testMethod()
  File
"/memdisk/abartlet/b821093/samba/source4/torture/drs/python/fsmo.py",
line 116, in test_SchemaMasterTransfer
    self._role_transfer(role="schema", role_dn=self.schema_dn)
  File
"/memdisk/abartlet/b821093/samba/source4/torture/drs/python/fsmo.py",
line 107, in _role_transfer
    self._net_fsmo_role_transfer(DC=self.dnsname_dc1, role=role)
  File
"/memdisk/abartlet/b821093/samba/source4/torture/drs/python/fsmo.py",
line 68, in _net_fsmo_role_transfer
    self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" %
(role, DC))
AssertionError: Transferring role schema to localdc.samba.example.com
has failed!
0

FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites)


-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list