Package: doit Version: 0.24.0-1 Severity: serious Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error.
[...]
+ python2.7 runtests.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- pytest-2.4.2
collected 567 items
[...]
=================================== FAILURES ===================================
____________________________ TestCmdRun.test_target ____________________________
self = <tests.test_cmd_strace.TestCmdRun object at 0x7fa1ff6e4110>
dependency1 =
'/srv/jenkins-slave/workspace/sid-goto-cc-doit/doit-0.24.0/tests/data/dependency1'
depfile_name = '/tmp/pytest-0/test_target0/testdb'
def test_target(self, dependency1, depfile_name):
output = StringIO()
task = Task("tt", ["touch %(targets)s"],
targets=['tests/data/dependency1'])
cmd = Strace(outstream=output)
cmd._loader.load_tasks = mock.Mock(return_value=([task], {}))
params = DefaultUpdate(dep_file=depfile_name, show_all=False,
keep_trace=False, backend='dbm')
result = cmd.execute(params, ['tt'])
assert 0 == result
got = output.getvalue().split("\n")
tgt_path = os.path.abspath("tests/data/dependency1")
> assert "W %s" % tgt_path in got[0]
E assert ('W %s' %
'/srv/jenkins-slave/workspace/sid-goto-cc-doit/doit-0.24.0/tests/data/dependency1')
in 'R
/srv/jenkins-slave/workspace/sid-goto-cc-doit/doit-0.24.0/tests/data/dependency1'
tests/test_cmd_strace.py:69: AssertionError
------------------------------- Captured stdout --------------------------------
. tt
. strace_report
=============== 1 failed, 565 passed, 1 skipped in 10.66 seconds ===============
debian/rules:51: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
The only observable difference lies in the characters W vs. R, whatever that
might mean in the context of the package.
The full build log is attached.
Best,
Michael
doit-build-log.txt.gz
Description: application/gunzip
pgpuc_NXGoVo3.pgp
Description: PGP signature

