autobuild[sn-devel-184]: intermittent test failure detected

autobuild autobuild at
Sun Jun 30 21:39:18 UTC 2019

The autobuild test system (on sn-devel-184) has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

The failure seems to be in the "samba-schemaupgrade" suite, whose build logs are available here:
The top commit at the time of the failure was:

commit d5383297f0389d01d42479b074f5e81619e03ddb
Author: Swen Schillig <swen at>
Date:   Mon Jun 3 10:58:11 2019 +0200

    tests-util: Adding test to verify "allow no conversion" flag
    The internal string conversion routines smb_strtoul(l) return
    an error if the provided string could not be converted to an integer.
    This can be the case if the string is empty or if it starts with non-numeric
    characters which cannot be converted.
    The standard C library, however, does allow this and simply returns 0 as the
    converted value.
    If this behaviour is wanted, it can be enabled by using
    Signed-off-by: Swen Schillig <swen at>
    Reviewed-by: Ralph Boehme <slow at>
    Reviewed-by: Christof Schmitt <cs at>
    Autobuild-User(master): Ralph Böhme <slow at>
    Autobuild-Date(master): Sun Jun 30 12:47:24 UTC 2019 on sn-devel-184

and the last 50 lines of the stdout log were:

Applying Sch67.ldf updates...
5 changes applied
Applying Sch68.ldf updates...
30 changes applied
Applying Sch69.ldf updates...
4 changes applied
Schema successfully updated
Replicate from liveupgrade1dc to liveupgrade2dc was successful.
[1(0)/11 at 0s] samba.tests.samba_tool.schema(schema_dc:local)
[2(4)/11 at 2m39s] samba4.schemaInfo.python(schema_dc:local)(schema_dc:local)
[3(7)/11 at 2m45s] samba.tests.dsdb_schema_attributes(schema_dc:local)
[4(13)/11 at 3m1s] samba4.ldap_schema.python(schema_dc)(schema_dc)
[5(39)/11 at 3m44s] samba4.ldap.possibleInferiors.python(schema_dc)(schema_dc)
[6(313)/11 at 3m47s] samba4.ldap.secdesc.python(schema_dc)(schema_dc)
[7(396)/11 at 6m44s] samba4.ldap.acl.python(schema_dc)(schema_dc)
[8(449)/11 at 7m47s] samba4.ldap.passwords.python(schema_dc)(schema_dc)
[9(467)/11 at 8m9s] samba4.drs.samba_tool_drs.python(schema_pair_dc)(schema_pair_dc:local)
[10(481)/11 at 10m27s] samba4.drs.getnc_schema.python(schema_pair_dc)(schema_pair_dc)
Failed repl, retrying in 10s
UNEXPECTED(failure): samba4.drs.getnc_schema.python(schema_pair_dc).getnc_schema.SchemaReplicationTests.test_schema_linked_attributes(schema_pair_dc)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/memdisk/autobuild/fl/b3602670/samba-schemaupgrade/source4/torture/drs/python/", line 290, in test_schema_linked_attributes
  File "/memdisk/autobuild/fl/b3602670/samba-schemaupgrade/source4/torture/drs/python/", line 66, in do_repl
    self.assertCmdSuccess(result, out, err)
  File "bin/python/samba/tests/samba_tool/", line 109, in assertCmdSuccess
    exit, out, err, msg))
AssertionError: -1 is not None : exit[-1] stdout[] stderr[ERROR(<class 'samba.drs_utils.drsException'>): DsReplicaSync failed - drsException: DsReplicaSync failed (1168, 'WERR_NOT_FOUND')
  File "bin/python/samba/netcmd/", line 574, in run
    drs_utils.sendDsReplicaSync(server_bind, server_bind_handle, source_dsa_guid, NC, req_options)
  File "bin/python/samba/", line 92, in sendDsReplicaSync
    raise drsException("DsReplicaSync failed %s" % estr)

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

A summary with detailed information can be found in:
TOP 10 slowest tests
samba4.ldap.secdesc.python(schema_dc)(schema_dc) -> 177
samba4.drs.samba_tool_drs.python(schema_pair_dc)(schema_pair_dc:local) -> 137
samba4.ldap.acl.python(schema_dc)(schema_dc) -> 64
samba4.ldap_schema.python(schema_dc)(schema_dc) -> 43
samba4.ldap.passwords.python(schema_dc)(schema_dc) -> 22
samba.tests.dsdb_schema_attributes(schema_dc:local) -> 17
samba.tests.samba_tool.schema(schema_dc:local) -> 11
samba4.schemaInfo.python(schema_dc:local)(schema_dc:local) -> 6
samba4.ldap.possibleInferiors.python(schema_dc)(schema_dc) -> 2
ERROR: test failed with exit code 1
Makefile:16: recipe for target 'test' failed

More information about the samba-cvs mailing list