Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spurious failure in test_cache_files #5438

Closed
ThomasWaldmann opened this issue Oct 26, 2020 · 0 comments · Fixed by #5479
Closed

spurious failure in test_cache_files #5438

ThomasWaldmann opened this issue Oct 26, 2020 · 0 comments · Fixed by #5479

Comments

@ThomasWaldmann
Copy link
Member

ThomasWaldmann commented Oct 26, 2020

current master branch on travis-ci:

_________________ ArchiverCorruptionTestCase.test_cache_files __________________

[gw0] linux -- Python 3.8.6 /home/travis/build/borgbackup/borg/.tox/py38/bin/python

self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_cache_files>
    def test_cache_files(self):
        self.cmd('create', self.repository_location + '::test', 'input')
        self.corrupt(os.path.join(self.cache_path, 'files'))
        out = self.cmd('create', self.repository_location + '::test1', 'input')
        # borg warns about the corrupt files cache, but then continues without files cache.
>       assert 'files cache is corrupted' in out
E       AssertionError: assert 'files cache is corrupted' in ''
.tox/py38/lib/python3.8/site-packages/borg/testsuite/archiver.py:3714: AssertionError

Bounty: https://www.bountysource.com/issues/93666717-spurious-failure-in-test_cache_files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant