[Python-modules-team] Bug#855908: hiro: FTBFS: test_segment_not_complete_error [...] AssertionError: False is not true

Chris Lamb lamby at debian.org
Thu Feb 23 08:58:54 UTC 2017


Source: hiro
Version: 0.2-2
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,

hiro fails to build from source in unstable/amd64:

  […]

     dh_auto_test -O--buildsystem=pybuild
  I: pybuild base:184: cd «BUILDDIR»/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
  test_accelerate (tests.test_context_mgr.TestScaledContext) ... ok
  test_check_time (tests.test_context_mgr.TestScaledContext) ... ok
  test_deccelerate (tests.test_context_mgr.TestScaledContext) ... ok
  test_utc (tests.test_context_mgr.TestScaledContext) ... ok
  test_decorated (tests.test_context_mgr.TestTimelineContext) ... ok
  test_decorated_with_argument (tests.test_context_mgr.TestTimelineContext) ... ok
  test_fluent (tests.test_context_mgr.TestTimelineContext) ... ok
  test_forward (tests.test_context_mgr.TestTimelineContext) ... ok
  test_freeze (tests.test_context_mgr.TestTimelineContext) ... ok
  test_freeze_forward_unfreeze (tests.test_context_mgr.TestTimelineContext) ... ok
  test_freeze_target (tests.test_context_mgr.TestTimelineContext) ... ok
  test_rewind (tests.test_context_mgr.TestTimelineContext) ... ok
  test_unfreeze (tests.test_context_mgr.TestTimelineContext) ... ok
  test_scale_up_runner (tests.test_runners.TestASyncRunner) ... ok
  test_scale_up_runner_fail (tests.test_runners.TestASyncRunner) ... ok
  test_segment_not_complete_error (tests.test_runners.TestASyncRunner) ... ok
  test_scale_up_runner (tests.test_runners.TestSyncRunner) ... ok
  test_scale_up_runner_fail (tests.test_runners.TestSyncRunner) ... ok
  
  ----------------------------------------------------------------------
  Ran 18 tests in 8.511s
  
  OK
  I: pybuild base:184: cd «BUILDDIR»/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  test_accelerate (tests.test_context_mgr.TestScaledContext) ... ok
  test_check_time (tests.test_context_mgr.TestScaledContext) ... ok
  test_deccelerate (tests.test_context_mgr.TestScaledContext) ... ok
  test_utc (tests.test_context_mgr.TestScaledContext) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_context_mgr.py:41: DeprecationWarning: Please use assertEqual instead.
    math.ceil((start_local - start_utc).seconds / 60.0 / 60.0))
  ok
  test_decorated (tests.test_context_mgr.TestTimelineContext) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/hiro/core.py:28: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
    if "timeline" in inspect.getargspec(fn).args:
  ok
  test_decorated_with_argument (tests.test_context_mgr.TestTimelineContext) ... ok
  test_fluent (tests.test_context_mgr.TestTimelineContext) ... ok
  test_forward (tests.test_context_mgr.TestTimelineContext) ... ok
  test_freeze (tests.test_context_mgr.TestTimelineContext) ... ok
  test_freeze_forward_unfreeze (tests.test_context_mgr.TestTimelineContext) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_context_mgr.py:145: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'>
    self.assertEquals(int(time.time()), int(os.popen("date +%s").read().strip()))
  ok
  test_freeze_target (tests.test_context_mgr.TestTimelineContext) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_context_mgr.py:91: DeprecationWarning: Please use assertAlmostEqual instead.
    self.assertAlmostEquals(time.time(), 0, 1)
  ok
  test_rewind (tests.test_context_mgr.TestTimelineContext) ... ok
  test_unfreeze (tests.test_context_mgr.TestTimelineContext) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_context_mgr.py:116: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='UTF-8'>
    self.assertTrue(int(time.time()) - int(os.popen("date +%s").read().strip()) <= 1)
  ok
  test_scale_up_runner (tests.test_runners.TestASyncRunner) ... ok
  test_scale_up_runner_fail (tests.test_runners.TestASyncRunner) ... ok
  test_segment_not_complete_error (tests.test_runners.TestASyncRunner) ... FAIL
  test_scale_up_runner (tests.test_runners.TestSyncRunner) ... «BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_runners.py:17: DeprecationWarning: Please use assertEqual instead.
    self.assertEquals(f.get_response(), 1)
  ok
  test_scale_up_runner_fail (tests.test_runners.TestSyncRunner) ... ok
  
  ======================================================================
  FAIL: test_segment_not_complete_error (tests.test_runners.TestASyncRunner)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "«BUILDDIR»/.pybuild/pythonX.Y_3.5/build/tests/test_runners.py", line 59, in test_segment_not_complete_error
      self.assertTrue(f.get_execution_time() < 1 )
  AssertionError: False is not true
  
  ----------------------------------------------------------------------
  Ran 18 tests in 10.016s
  
  FAILED (failures=1)
  E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd «BUILDDIR»/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13
  debian/rules:5: 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: hiro.0.2-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5329 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170223/11d99fc1/attachment.obj>


More information about the Python-modules-team mailing list