[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#893743: python-cffi: FTBFS on hurd-i386: test_thread AssertionError



Source: python-cffi
Version: 1.11.5-1
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-hurd@lists.debian.org
Usertags: hurd

The latest build of python-cffi for hurd-i386 (admittedly not a
release architecture) failed, per the below excerpts from [1]:

  I: pybuild base:184: python2.7-dbg -m pytest c/ testing/
  ============================= test session starts ==============================
  [...]
  =================================== FAILURES ===================================
  _________ TestThread.test_init_different_modules_in_different_threads __________
  
  self = <testing.embedding.test_thread.TestThread instance at 0x4770e34>
  
      def test_init_different_modules_in_different_threads(self):
          add1_cffi = self.prepare_module('add1')
          add2_cffi = self.prepare_module('add2')
          self.compile('thread2-test', [add1_cffi, add2_cffi], threads=True)
          output = self.execute('thread2-test')
          output = self._take_out(output, "preparing")
          output = self._take_out(output, ".")
          output = self._take_out(output, ".")
          # at least the 3rd dot should be after everything from ADD2
  >       assert output == ("starting\n"
                            "prepADD2\n"
                            "adding 1000 and 200 and 30\n"
                            ".\n"
                            "adding 40 and 2\n"
                            "done\n")
  E       AssertionError: assert 'starting\n.\...nd 30\ndone\n' == 'starting\npre...and 2\ndone\n'
  E           starting
  E         + prepADD2
  E         + adding 1000 and 200 and 30
  E           .
  E           adding 40 and 2
  E         - prepADD2
  E         - adding 1000 and 200 and 30...
  E         
  E         ...Full output truncated (2 lines hidden), use '-vv' to show
  
  testing/embedding/test_thread.py:29: AssertionError

Could you please take a look?

Thanks!

[1] https://buildd.debian.org/status/fetch.php?pkg=python-cffi&arch=hurd-i386&ver=1.11.5-1&stamp=1519773174&raw=0

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: