[PATCH 6/8] urgent_replication: Use subunit reporting, remove allow_empty_output.
Stefan (metze) Metzmacher
metze at samba.org
Fri Oct 24 09:21:02 MDT 2014
Hi Jelmer,
this somehow breaks all private autobuilds for me :-(
I haven't seen this in the flakey autobuild runs,
but for me all autobuilds are failing with the following error
starting with commit 23ac8d130c1f476fda5d984531266a6c210c2982:
[1622/1688 in 1h27m37s] samba4.urgent_replication.python(dc)
Failed to connect to ldap URL
'ldap:///memdisk/metze/w/b840536/samba/st/dc/private/sam.ldb' - LDAP
client internal error: NT_STATUS_NO_MEMORY
Failed to connect to
'ldap:///memdisk/metze/w/b840536/samba/st/dc/private/sam.ldb' with
backend 'ldap': (null)
UNEXPECTED(error):
samba4.urgent_replication.python(dc).__main__.UrgentReplicationTests.test_attributeSchema_object(dc:local)
REASON: _StringException: _StringException: Content-Type:
text/x-traceback;charset=utf8,language=python
traceback
323
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
340, in _run_setup
self.setUp()
File
"/memdisk/metze/W/b840536/samba/source4/dsdb/tests/python/urgent_replication.py",
line 48, in setUp
self.ldb = samba.tests.connect_samdb(host, global_schema=False)
File "bin/python/samba/tests/__init__.py", line 213, in connect_samdb
global_schema=global_schema)
File "bin/python/samba/samdb.py", line 56, in __init__
options=options)
File "bin/python/samba/__init__.py", line 114, in __init__
self.connect(url, flags, options)
File "bin/python/samba/samdb.py", line 71, in connect
options=options)
LdbError: (1, None)
0
FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)
Any ideas?
My autobuild script looks like this:
metze at sn-devel-104:~$ cat mx-autobuild
#!/bin/bash
#
exec buildnice script/autobuild.py --testbase=/m/metze/W
--email=metze at samba.org --always-email --tail --keeplogs $@
And I'm running it like (failing):
metze at sn-devel-104:~/masterW2$ git reset --hard
23ac8d130c1f476fda5d984531266a6c210c2982
HEAD is now at 23ac8d1 urgent_replication: Use subunit reporting,
remove allow_empty_output.
metze at sn-devel-104:~/masterW2$ JOBS=1 ../mx-autobuild
And this works ok:
metze at sn-devel-104:~/masterW1$ git reset --hard
23ac8d130c1f476fda5d984531266a6c210c2982^
HEAD is now at 7043a8b testr: Use waf testonly and create a custom
directory for new workers.
metze at sn-devel-104:~/masterW1$ JOBS=1 ../mx-autobuild
Can someone try to reproduce this behavior for I got the failure
reliable over 10 times
now...
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141024/5e3f5a4e/attachment.pgp>
More information about the samba-technical
mailing list