Oups, mail sent too fast.
> Running samba selftest fails, with "Permission denied" on
Precisely:
$ make test TESTS=subunit.tests.test_suite
WAF_MAKE=1 python ./buildtools/bin/waf test
'test' finished successfully (0.117s)
Waf: Entering directory `/home/mathieu/src/git.debian.org/pkg-samba/samba/bin'
Selected embedded Heimdal build
Waf: Leaving directory `/home/mathieu/src/git.debian.org/pkg-samba/samba/bin'
'build' finished successfully (33.109s)
test: running (/usr/bin/perl
/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/selftest.pl
--target=samba --prefix=./st
--srcdir=/home/mathieu/src/git.debian.org/pkg-samba/samba
--exclude=/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/skip
--testlist="/usr/bin/python2.7
/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/tests.py|"
--testlist="/usr/bin/python2.7
/home/mathieu/src/git.debian.org/pkg-samba/samba/source3/selftest/tests.py|"
--testlist="/usr/bin/python2.7
/home/mathieu/src/git.debian.org/pkg-samba/samba/source4/selftest/tests.py|"
--exclude=/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/slow
--nss_wrapper_so_path=libnss_wrapper.so
--resolv_wrapper_so_path=libresolv_wrapper.so
--socket_wrapper_so_path=libsocket_wrapper.so
--uid_wrapper_so_path=libuid_wrapper.so --use-dns-faking
--socket-wrapper subunit.tests.test_suite && touch ./st/st_done) |
/usr/bin/python2.7 -u
/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/filter-subunit
--expected-failures=/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/knownfail
--flapping=/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/flapping
| tee ./st/subunit | /usr/bin/python2.7 -u
/home/mathieu/src/git.debian.org/pkg-samba/samba/selftest/format-subunit
--prefix=./st --immediate
LD_PRELOAD=libnss_wrapper.so:libresolv_wrapper.so:libsocket_wrapper.so:libuid_wrapper.so
SOCKET_WRAPPER_DIR=/home/mathieu/src/git.debian.org/pkg-samba/samba/st/w
DNS: Faking nameserver
OPTIONS --configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1'
--maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR
--format=subunit --option=torture:progress=no
skipping ldb.base (Using system LDB, ldbtest not available)
skipping tdb.stress (Using system TDB, tdbtorture not available)
[1(0)/1 at 0s] subunit.tests.test_suite
/bin/sh: 1: /usr/lib/python2.7/dist-packages/subunit/tests/sample-script.py:
Permission denied
UNEXPECTED(failure):
subunit.tests.test_suite.subunit.tests.test_test_protocol.TestExecTestCase.test_args(none)
REASON: Exception: Exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_test_protocol.py",
line 1017, in test_args
self.assertEqual(1, result.testsRun)
AssertionError: 1 != 0
/bin/sh: 1: /usr/lib/python2.7/dist-packages/subunit/tests/sample-script.py:
Permission denied
UNEXPECTED(failure):
subunit.tests.test_suite.subunit.tests.test_test_protocol.TestExecTestCase.test_run(none)
REASON: Exception: Exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_test_protocol.py",
line 1040, in test_run
], result._events)
AssertionError: Lists differ: [('startTest', )
Diff is 752 characters long. Set self.maxDiff to None to see it.
UNEXPECTED(error):
subunit.tests.test_suite.subunit.tests.test_subunit_filter.TestFilterCommand.test_default(none)
REASON: Exception: Exception: _StringException: Traceback (most recent
call last):
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_subunit_filter.py",
line 308, in test_default
output = self.run_command([], byte_stream.getvalue())
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_subunit_filter.py",
line 300, in run_command
raise RuntimeError("%s failed: %s" % (command, err))
RuntimeError: ['/usr/bin/python',
'/usr/lib/python2.7/filters/subunit-filter'] failed: /usr/bin/python:
can't open file '/usr/lib/python2.7/filters/subunit-filter': [Errno 2]
No such file or directory
UNEXPECTED(error):
subunit.tests.test_suite.subunit.tests.test_subunit_filter.TestFilterCommand.test_no_passthrough(none)
REASON: Exception: Exception: _StringException: Traceback (most recent
call last):
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_subunit_filter.py",
line 338, in test_no_passthrough
output = self.run_command(['--no-passthrough'], b'hi thar')
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_subunit_filter.py",
line 300, in run_command
raise RuntimeError("%s failed: %s" % (command, err))
RuntimeError: ['/usr/bin/python',
'/usr/lib/python2.7/filters/subunit-filter', '--no-passthrough']
failed: /usr/bin/python: can't open file
'/usr/lib/python2.7/filters/subunit-filter': [Errno 2] No such file or
directory
UNEXPECTED(error):
subunit.tests.test_suite.subunit.tests.test_subunit_filter.TestFilterCommand.test_passthrough(none)
REASON: Exception: Exception: _StringException: Traceback (most recent
call last):
File "/usr/lib/python2.7/dist-packages/subunit/tests/test_subu