not testtools module on all build farm server

Matthieu Patou mat at
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:


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/", line 15, in<module>
     samba.ensure_external_module("subunit", "subunit/python")
   File "bin/python/samba/", line 319, in ensure_external_module
   File "../selftest/../lib/subunit/python/subunit/", 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/ $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/ 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
Private repo;a=summary

More information about the samba-technical mailing list