[Python-apps-team] Bug#903519: backblaze-b2 FTBFS with Python 3.7 as supported version

Adrian Bunk bunk at debian.org
Tue Jul 10 22:29:35 BST 2018


Source: backblaze-b2
Version: 1.1.0-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/backblaze-b2.html

...
I: pybuild base:217: python3.7 setup.py nosetests
...
======================================================================
ERROR: test_file_exclusions_inclusions_with_delete (test.test_sync.TestExclusions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 382, in test_file_exclusions_inclusions_with_delete
    self._check_folder_sync(expected_actions, fakeargs)
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 350, in _check_folder_sync
    make_folder_sync_actions(local_folder, b2_folder, fakeargs, TODAY, self.reporter)
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 149, in make_folder_sync_actions
    sync_type, source_file, dest_file, source_folder, dest_folder, args, now_millis
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 106, in make_file_sync_actions
    for action in policy.get_all_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 129, in get_all_actions
    for action in self._get_hide_delete_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 187, in _get_hide_delete_actions
    self._source_file, self._dest_file, self._dest_folder, self._transferred
RuntimeError: generator raised StopIteration
-------------------- >> begin captured logging << --------------------
root: DEBUG: _filter_folder() exclusions for FakeFolder(local, /dir/) are [re.compile('b\\.txt')]
root: DEBUG: _filter_folder() inclusions for FakeFolder(local, /dir/) are [re.compile('.*\\.incl')]
root: DEBUG: determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_file_exclusions_with_delete (test.test_sync.TestExclusions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 366, in test_file_exclusions_with_delete
    self._check_folder_sync(expected_actions, FakeArgs(delete=True, excludeRegex=["b\\.txt"]))
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 350, in _check_folder_sync
    make_folder_sync_actions(local_folder, b2_folder, fakeargs, TODAY, self.reporter)
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 149, in make_folder_sync_actions
    sync_type, source_file, dest_file, source_folder, dest_folder, args, now_millis
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 106, in make_file_sync_actions
    for action in policy.get_all_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 129, in get_all_actions
    for action in self._get_hide_delete_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 187, in _get_hide_delete_actions
    self._source_file, self._dest_file, self._dest_folder, self._transferred
RuntimeError: generator raised StopIteration
-------------------- >> begin captured logging << --------------------
root: DEBUG: _filter_folder() exclusions for FakeFolder(local, /dir/) are [re.compile('b\\.txt')]
root: DEBUG: _filter_folder() inclusions for FakeFolder(local, /dir/) are []
root: DEBUG: determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination
--------------------- >> end captured logging << ---------------------

WARNING: Unable to print unicode.  Encoding for stdout is: '<MagicMock name='mock.encoding' id='140067521702824'>'
Trying to print: ('Using http://production.example.com',)

======================================================================
ERROR: test_dir_not_there_b2_delete (test.test_sync.TestMakeSyncActions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 428, in test_dir_not_there_b2_delete
    self._check_local_to_b2(src_file, None, FakeArgs(delete=True), actions)
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 684, in _check_local_to_b2
    self._check_one_file('local', src_file, 'b2', dst_file, args, expected_actions)
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 699, in _check_one_file
    actions = list(make_folder_sync_actions(src_folder, dst_folder, args, TODAY, self.reporter))
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 149, in make_folder_sync_actions
    sync_type, source_file, dest_file, source_folder, dest_folder, args, now_millis
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 106, in make_file_sync_actions
    for action in policy.get_all_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 129, in get_all_actions
    for action in self._get_hide_delete_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 187, in _get_hide_delete_actions
    self._source_file, self._dest_file, self._dest_folder, self._transferred
RuntimeError: generator raised StopIteration
-------------------- >> begin captured logging << --------------------
root: DEBUG: _filter_folder() exclusions for FakeFolder(local, /dir/) are []
root: DEBUG: _filter_folder() inclusions for FakeFolder(local, /dir/) are []
root: DEBUG: determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_dir_not_there_b2_keepdays (test.test_sync.TestMakeSyncActions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 423, in test_dir_not_there_b2_keepdays
    self._check_local_to_b2(src_file, None, FakeArgs(keepDays=1), actions)
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 684, in _check_local_to_b2
    self._check_one_file('local', src_file, 'b2', dst_file, args, expected_actions)
  File "/build/1st/backblaze-b2-1.1.0/test/test_sync.py", line 699, in _check_one_file
    actions = list(make_folder_sync_actions(src_folder, dst_folder, args, TODAY, self.reporter))
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 149, in make_folder_sync_actions
    sync_type, source_file, dest_file, source_folder, dest_folder, args, now_millis
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/sync.py", line 106, in make_file_sync_actions
    for action in policy.get_all_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 129, in get_all_actions
    for action in self._get_hide_delete_actions():
  File "/build/1st/backblaze-b2-1.1.0/b2/sync/policy.py", line 202, in _get_hide_delete_actions
    self._keepDays, self._now_millis
RuntimeError: generator raised StopIteration
-------------------- >> begin captured logging << --------------------
root: DEBUG: _filter_folder() exclusions for FakeFolder(local, /dir/) are []
root: DEBUG: _filter_folder() inclusions for FakeFolder(local, /dir/) are []
root: DEBUG: determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 201 tests in 1.120s

FAILED (SKIP=1, errors=4)
E: pybuild pybuild:336: test: plugin custom failed with: exit code=1: python3.7 setup.py nosetests
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.7 3.6" returned exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25



More information about the Python-apps-team mailing list