not testtools module on all build farm server

Matthieu Patou mat at samba.org
Fri Nov 12 02:26:26 MST 2010


Hi All,

Some of the tests use the testtools module and it's not available on all 
the plateforms and we face such kind of errors:

samba4.ldap.bind(dc)
failed

progress: push
time: 2010-11-12 11:56:14.000000Z
Traceback (most recent call last):
   File "/hyperspace/scratch/build_farm/samba_4_0_test/source4/auth/credentials/tests/bind.py", line 15, in<module>
     samba.ensure_external_module("subunit", "subunit/python")
   File "bin/python/samba/__init__.py", line 319, in ensure_external_module
     __import__(modulename)
   File "../selftest/../lib/subunit/python/subunit/__init__.py", line 128, in<module>
     from testtools import content, content_type, ExtendedToOriginalDecorator
ImportError: No module named testtools
time: 2010-11-12 11:56:14.000000Z
progress: pop
command: python /hyperspace/scratch/build_farm/samba_4_0_test/source4/auth/credentials/tests/bind.py $SERVER -U"$USERNAME%$PASSWORD" 2>&1 | ../selftest/filter-subunit --fail-on-empty --prefix="samba4.ldap.bind(dc)."
expanded command: python /hyperspace/scratch/build_farm/samba_4_0_test/source4/auth/credentials/tests/bind.py localdc -U"Administrator%locDCpass1" 2>&1 | ../selftest/filter-subunit --fail-on-empty --prefix="samba4.ldap.bind(dc)."
Exit code was 1 How can we fix this ? build this module on our own ? 
Cheers. Matthieu



-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list