[Python-modules-team] Bug#850552: txfixtures: FTBFS: MismatchError: <bound method Service.setUp of <txfixtures.service.Service object at 0x7f8df8015050>> returned None

Chris Lamb lamby at debian.org
Sat Jan 7 17:42:54 UTC 2017


Source: txfixtures
Version: 0.2.3-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

txfixtures fails to build from source in unstable/amd64:

  […]

  test_stalePidFile (tests.test_tachandler.TacTestFixtureTestCase)
  tests.test_tachandler.TacTestFixtureTestCase.test_stalePidFile ... ok
  test_hung (tests.test_service.ServiceIntegrationTest)
  tests.test_service.ServiceIntegrationTest.test_hung ... ok
  test_non_executable_command (tests.test_service.ServiceIntegrationTest)
  tests.test_service.ServiceIntegrationTest.test_non_executable_command ... FAIL
  test_service_ready (tests.test_service.ServiceIntegrationTest)
  tests.test_service.ServiceIntegrationTest.test_service_ready ... ok
  test_unknown_command (tests.test_service.ServiceIntegrationTest)
  tests.test_service.ServiceIntegrationTest.test_unknown_command ... ok
  test_no_expected_output_exit (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_no_expected_output_exit ... ok
  test_no_expected_output_timeout (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_no_expected_output_timeout ... ok
  test_no_expected_port_exit (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_no_expected_port_exit ... ok
  test_no_expected_port_timeout (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_no_expected_port_timeout ... ok
  test_no_min_uptime (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_no_min_uptime ... ok
  test_ready (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_ready ... ok
  test_ready_with_expected_output (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_ready_with_expected_output ... ok
  test_ready_with_expected_port (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_ready_with_expected_port ... ok
  test_ready_with_expected_port_retry (tests.test_service.ServiceProtocolIntegrationTest)
  tests.test_service.ServiceProtocolIntegrationTest.test_ready_with_expected_port_retry ... ok
  
  ======================================================================
  FAIL: test_non_executable_command (tests.test_service.ServiceIntegrationTest)
  tests.test_service.ServiceIntegrationTest.test_non_executable_command
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    fake-process
  
  pythonlogging:'': {{{
  Starting Twisted reactor in a separate thread
  Reactor started
  Spawning service process ['/tmp/tmpBzBsYY/foobar']
  Service process spawned
  Service process alive for 0.1 seconds
  Service process ready
  Stopping Twisted reactor and wait for its thread
  Reactor stopped
  }}}
  
  Traceback (most recent call last):
    File "tests/test_service.py", line 65, in test_non_executable_command
      error = self.assertRaises(MultipleExceptions, self.fixture.setUp)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: <bound method Service.setUp of <txfixtures.service.Service object at 0x7f8df8015050>> returned None
  
  
  ----------------------------------------------------------------------
  Ran 71 tests in 7.658s
  
  FAILED (failures=1, skipped=2)
  E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd «BUILDDIR»/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: txfixtures.0.2.3-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8482 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170107/33c14da4/attachment-0001.obj>


More information about the Python-modules-team mailing list