[Pkg-bazaar-maint] Bug#804388: FTBFS: TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

Jelmer Vernooij jelmer at debian.org
Sat Nov 7 15:32:40 UTC 2015


Package: bzr-stats
Version: 0.1.0+bzr51-1
Severity: serious

Dear Maintainer,

bzr-stats currently FTBFS:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/bzr-stats-0.1.0+bzr51'
BZR_PLUGINS_AT=stats@/tmp/bzr-stats-0.1.0+bzr51 /usr/bin/bzr selftest -s bp.stats \
    -v --parallel=fork
running 0 tests...
bzr selftest: /usr/bin/bzr
   /usr/lib/python2.7/dist-packages/bzrlib
   bzr-2.7.0dev1 python-2.7.10 Linux-4.2.0-1-amd64-x86_64-with-debian-stretch-sid

bzrlib.plugins.stats.test_classify.TestClassify.test_classify_codebzrlib.plugins.stats.test_classify.TestClassify.test_classify_codebzrlib.plugins.stats.test_classify.TestClassify.test_classify_doc_hardcodedbzrlib.plugins.stats.test_classify.TestClassify.test_classify_doc_hardcodedbzrlib.plugins.stats.test_classify.TestClassify.test_classify_artbzrlib.plugins.stats.test_classify.TestClassify.test_classify_artbzrlib.plugins.stats.test_classify.TestClassify.test_classify_documentationbzrlib.plugins.stats.test_classify.TestClassify.test_classify_documentationbroken-runnerbroken-runnerException in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 112, in _run_test
    case.run(process_result)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 780, in run
    outcome(self, details=self._details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1008, in addError
    test, err, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 451, in addError
    self.report_error(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 719, in report_error
    % (self._testTimeString(test),
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

broken-runnerbroken-runnerException in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 112, in _run_test
    case.run(process_result)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 780, in run
    outcome(self, details=self._details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1008, in addError
    test, err, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 451, in addError
    self.report_error(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 719, in report_error
    % (self._testTimeString(test),
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

broken-runnerbroken-runnerException in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 112, in _run_test
    case.run(process_result)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 780, in run
    outcome(self, details=self._details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1008, in addError
    test, err, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 451, in addError
    self.report_error(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 719, in report_error
    % (self._testTimeString(test),
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

broken-runnerbroken-runnerException in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 112, in _run_test
    case.run(process_result)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 780, in run
    outcome(self, details=self._details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1008, in addError
    test, err, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1133, in addError
    return self.decorated.addError(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 451, in addError
    self.report_error(test, err)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 719, in report_error
    % (self._testTimeString(test),
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

======================================================================
ERROR: broken-runner
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/testsuite.py", line 106, in _run_test
    test.run(process_result)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3534, in run
    ProtocolTestCase.run(self, result)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 1197, in run
    protocol.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 567, in lineReceived
    self._state.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 404, in lineReceived
    self.details_parser.lineReceived(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 119, in lineReceived
    self._parse_state(line)
  File "/usr/lib/python2.7/dist-packages/subunit/details.py", line 84, in _look_for_content
    self._state.endDetails()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 399, in endDetails
    self._report_outcome()
  File "/usr/lib/python2.7/dist-packages/subunit/__init__.py", line 485, in _report_outcome
    details=self.details_parser.get_details("success"))
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1024, in addSuccess
    test, details=details)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 999, in _add_result_with_semaphore
    method(test, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testresult/real.py", line 1206, in addSuccess
    return self.decorated.addSuccess(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 479, in addSuccess
    self.report_success(test)
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 739, in report_success
    self.stream.write('   OK %s\n' % self._testTimeString(test))
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 372, in _testTimeString
    return self._elapsedTestTimeString()
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 365, in _elapsedTestTimeString
    self._now() - self._start_datetime))
TypeError: _delta_to_float() takes exactly 3 arguments (2 given)

----------------------------------------------------------------------
Ran 16 tests in 0.199s

FAILED (errors=8)
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/bzr-stats-0.1.0+bzr51'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-bazaar-maint mailing list