Seems that a dependency (tenacity) has been changed with broken api Need to change code to use new tenacity version
Le dim. 13 févr. 2022, 08:21, Lucas Nussbaum <lu...@debian.org> a écrit : > Source: biomaj3-download > Version: 3.2.4-1 > Severity: serious > Justification: FTBFS > Tags: bookworm sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20220212 ftbfs-bookworm > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64. > > > Relevant part (hopefully): > > make[1]: Entering directory '/<<PKGBUILDDIR>>' > > nosetests3 -a !network > > EEEEEEEEEEEEEEE > > ====================================================================== > > ERROR: test_local_download (biomaj_tests.TestBiomajLocalDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 256, in > test_local_download > > locald = LocalDownload(self.examples) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/localcopy.py", line > 24, in __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: Test download with hardlinks: we download a file from conf/ to > data_dir. > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 278, in > test_local_download_hardlinks > > locald = LocalDownload(self.utils.test_dir, use_hardlinks=True) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/localcopy.py", line > 24, in __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_local_download_in_subdir > (biomaj_tests.TestBiomajLocalDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 264, in > test_local_download_in_subdir > > locald = LocalDownload(self.curdir+'/') > > File "/<<PKGBUILDDIR>>/biomaj_download/download/localcopy.py", line > 24, in __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_local_list (biomaj_tests.TestBiomajLocalDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 240, in > test_local_list > > locald = LocalDownload(self.examples) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/localcopy.py", line > 24, in __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_local_list_error (biomaj_tests.TestBiomajLocalDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 246, in > test_local_list_error > > locald = LocalDownload("/tmp/foo/") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/localcopy.py", line > 24, in __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_download (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1061, in > test_rsync_download > > rsyncd = RSYNCDownload(self.examples, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_download_in_subdir > (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1085, in > test_rsync_download_in_subdir > > rsyncd = RSYNCDownload(self.curdir, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_download_or_copy (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1077, in > test_rsync_download_or_copy > > rsyncd = RSYNCDownload(self.examples, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: Try to download fake files to test retry. > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1107, in > test_rsync_download_retry > > rsyncd = RSYNCDownload(self.utils.test_dir + '/', "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: Download the fake archive file with RSYNC but skip check. > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1095, in > test_rsync_download_skip_check_uncompress > > rsyncd = RSYNCDownload(self.utils.test_dir + '/', "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_general_download (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1070, in > test_rsync_general_download > > rsyncd = RSYNCDownload(self.examples, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_list (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1040, in > test_rsync_list > > rsyncd = RSYNCDownload(self.examples, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_list_error (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1046, in > test_rsync_list_error > > rsyncd = RSYNCDownload("/tmp/foo/", "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: test_rsync_match (biomaj_tests.TestBiomajRSYNCDownload) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 1055, in > test_rsync_match > > rsyncd = RSYNCDownload(self.examples, "") > > File "/<<PKGBUILDDIR>>/biomaj_download/download/rsync.py", line 24, in > __init__ > > DownloadInterface.__init__(self) > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ====================================================================== > > ERROR: Test parsing of stop and wait conditions. > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 272, in _set_retryer > > s(tenacity.compat.make_retry_state(0, 0)) > > AttributeError: module 'tenacity' has no attribute 'compat' > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 274, in _set_retryer > > raise ValueError(stop_condition + " doesn't yield a stop condition") > > ValueError: stop_after_attempt(3) doesn't yield a stop condition > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/<<PKGBUILDDIR>>/tests/biomaj_tests.py", line 189, in > test_retry_parsing > > downloader = DownloadInterface() > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 171, in __init__ > > self._set_retryer( > > File "/<<PKGBUILDDIR>>/biomaj_download/download/interface.py", line > 276, in _set_retryer > > raise ValueError("Error while parsing stop condition: %s" % e) > > ValueError: Error while parsing stop condition: stop_after_attempt(3) > doesn't yield a stop condition > > > > ---------------------------------------------------------------------- > > Ran 15 tests in 0.128s > > > > FAILED (errors=15) > > make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1 > > > The full build log is available from: > http://qa-logs.debian.net/2022/02/12/biomaj3-download_3.2.4-1_unstable.log > > A list of current common problems and possible solutions is available at > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! > > If you reassign this bug to another package, please marking it as > 'affects'-ing > this package. See https://www.debian.org/Bugs/server-control#affects > > If you fail to reproduce this, please provide a build log and diff it with > mine > so that we can identify if something relevant changed in the meantime. > >