Created
March 8, 2020 23:54
-
-
Save mweinelt/d5c1dbfc78cdbd02ee46a688f7f019f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running install tests | |
============================= test session starts ============================== | |
platform linux -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 | |
benchmark: 3.2.2 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) | |
Tests enabled: BSD flags, fuse, root, symlinks, hardlinks, atime/mtime, modes | |
Tests disabled: | |
rootdir: /build/borgbackup-1.1.11, inifile: setup.cfg | |
plugins: benchmark-3.2.2 | |
collected 1360 items | |
archive.py ................................... [ 2%] | |
archiver.py .sFFF.F.s....F..........F...F...........F.F.F.............FF [ 6%] | |
F.s..........s.....FFFFF......................Fs........xF.........F.F.. [ 12%] | |
.FFFFF...F..............ssssssssssssssssssssssssssssssssssssssssssssssss [ 17%] | |
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 22%] | |
ssssssssssssssssssssssssssssssssss.................FFF.F.s....F......... [ 28%] | |
.s...F...........F.F.Fs............FFF.s..........s.....FFFFF........... [ 33%] | |
...........Fs........xF.........F.F.....FFFFF....F..............FFFFF... [ 38%] | |
....................................................... [ 42%] | |
benchmark.py ................................................. [ 46%] | |
cache.py ............................................................... [ 51%] | |
.......... [ 51%] | |
checksums.py .... [ 52%] | |
chunker.py ... [ 52%] | |
compress.py ............ [ 53%] | |
crypto.py ............ [ 54%] | |
file_integrity.py ................... [ 55%] | |
hashindex.py .................................... [ 58%] | |
helpers.py ....................................FFFF..................... [ 62%] | |
............................... [ 64%] | |
item.py ............ [ 65%] | |
key.py .................................................... [ 69%] | |
locking.py .................... [ 71%] | |
logger.py .... [ 71%] | |
lrucache.py .. [ 71%] | |
nanorst.py ........ [ 72%] | |
nonces.py ......... [ 72%] | |
patterns.py ............................................................ [ 77%] | |
........................................................................ [ 82%] | |
.......... [ 83%] | |
platform.py sss.s..... [ 83%] | |
remote.py ...................................... [ 86%] | |
repository.py .......................................................... [ 90%] | |
....................... [ 92%] | |
shellpattern.py ........................................................ [ 96%] | |
...... [ 97%] | |
upgrader.py ....... [ 97%] | |
version.py ........................ [ 99%] | |
xattr.py sss.... [100%] | |
=================================== FAILURES =================================== | |
_____________ ArchiverTestCase.test_aes_counter_uniqueness_keyfile _____________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_aes_counter_uniqueness_keyfile> | |
def test_aes_counter_uniqueness_keyfile(self): | |
> self.verify_aes_counter_uniqueness('keyfile') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2351: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2339: in verify_aes_counter_uniqueness | |
self.create_test_files() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_aes_counter_uniqueness_keyfile> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
___________ ArchiverTestCase.test_aes_counter_uniqueness_passphrase ____________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_aes_counter_uniqueness_passphrase> | |
def test_aes_counter_uniqueness_passphrase(self): | |
> self.verify_aes_counter_uniqueness('repokey') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2354: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2339: in verify_aes_counter_uniqueness | |
self.create_test_files() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_aes_counter_uniqueness_passphrase> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________________ ArchiverTestCase.test_atime __________________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_atime> | |
@pytest.mark.skipif(not is_utime_fully_supported(), reason='cannot properly setup and execute test without utime') | |
def test_atime(self): | |
def has_noatime(some_file): | |
atime_before = os.stat(some_file).st_atime_ns | |
try: | |
with open(os.open(some_file, flags_noatime)) as file: | |
file.read() | |
except PermissionError: | |
return False | |
else: | |
atime_after = os.stat(some_file).st_atime_ns | |
noatime_used = flags_noatime != flags_normal | |
return noatime_used and atime_before == atime_after | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:500: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_atime> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ ArchiverTestCase.test_basic_functionality ___________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_basic_functionality> | |
def test_basic_functionality(self): | |
> have_root = self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:388: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_basic_functionality> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________________ ArchiverTestCase.test_common_options _____________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_common_options> | |
def test_common_options(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2055: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_common_options> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________________ ArchiverTestCase.test_config _________________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_config> | |
def test_config(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2841: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_config> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ ArchiverTestCase.test_create_no_cache_sync __________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_create_no_cache_sync> | |
def test_create_no_cache_sync(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:1149: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_create_no_cache_sync> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________________ ArchiverTestCase.test_debug_dump_archive_items ________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_dump_archive_items> | |
def test_debug_dump_archive_items(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2357: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_dump_archive_items> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ ArchiverTestCase.test_debug_dump_repo_objs __________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_dump_repo_objs> | |
def test_debug_dump_repo_objs(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2367: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_dump_repo_objs> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________________ ArchiverTestCase.test_debug_profile ______________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_profile> | |
def test_debug_profile(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2041: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_debug_profile> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________________ ArchiverTestCase.test_export_tar _______________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar> | |
@requires_gnutar | |
def test_export_tar(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2872: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________________ ArchiverTestCase.test_export_tar_gz ______________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar_gz> | |
@requires_gnutar | |
@requires_gzip | |
def test_export_tar_gz(self): | |
if not shutil.which('gzip'): | |
pytest.skip('gzip is not installed') | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2887: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar_gz> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
______________ ArchiverTestCase.test_export_tar_strip_components _______________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar_strip_components> | |
@requires_gnutar | |
def test_export_tar_strip_components(self): | |
if not shutil.which('gzip'): | |
pytest.skip('gzip is not installed') | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2902: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_export_tar_strip_components> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________________ ArchiverTestCase.test_fuse __________________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse(self): | |
def has_noatime(some_file): | |
atime_before = os.stat(some_file).st_atime_ns | |
try: | |
os.close(os.open(some_file, flags_noatime)) | |
except PermissionError: | |
return False | |
else: | |
atime_after = os.stat(some_file).st_atime_ns | |
noatime_used = flags_noatime != flags_normal | |
return noatime_used and atime_before == atime_after | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2155: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________________ ArchiverTestCase.test_fuse_allow_damaged_files ________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse_allow_damaged_files> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_allow_damaged_files(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_src_archive('archive') | |
# Get rid of a chunk and repair it | |
archive, repository = self.open_archive('archive') | |
with repository: | |
for item in archive.iter_items(): | |
if item.path.endswith('testsuite/archiver.py'): | |
repository.delete(item.chunks[-1].id) | |
path = item.path # store full path for later | |
break | |
else: | |
assert False # missed the file | |
repository.commit() | |
self.cmd('check', '--repair', self.repository_location, exit_code=0) | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
> with self.fuse_mount(self.repository_location + '::archive', mountpoint): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2293: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
__________________ ArchiverTestCase.test_fuse_mount_hardlinks __________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse_mount_hardlinks> | |
@requires_hardlinks | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_mount_hardlinks(self): | |
self._extract_hardlinks_setup() | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
# we need to get rid of permissions checking because fakeroot causes issues with it. | |
# On all platforms, borg defaults to "default_permissions" and we need to get rid of it via "ignore_permissions". | |
# On macOS (darwin), we additionally need "defer_permissions" to switch off the checks in osxfuse. | |
if sys.platform == 'darwin': | |
ignore_perms = ['-o', 'ignore_permissions,defer_permissions'] | |
else: | |
ignore_perms = ['-o', 'ignore_permissions'] | |
> with self.fuse_mount(self.repository_location + '::test', mountpoint, '--strip-components=2', *ignore_perms), \ | |
changedir(mountpoint): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:812: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
___________________ ArchiverTestCase.test_fuse_mount_options ___________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse_mount_options> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_mount_options(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_src_archive('arch11') | |
self.create_src_archive('arch12') | |
self.create_src_archive('arch21') | |
self.create_src_archive('arch22') | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
> with self.fuse_mount(self.repository_location, mountpoint, '--first=2', '--sort=name'): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2309: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
___________________ ArchiverTestCase.test_fuse_versions_view ___________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_fuse_versions_view> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_versions_view(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_regular_file('test', contents=b'first') | |
if are_hardlinks_supported(): | |
self.create_regular_file('hardlink1', contents=b'123456') | |
os.link('input/hardlink1', 'input/hardlink2') | |
os.link('input/hardlink1', 'input/hardlink3') | |
self.cmd('create', self.repository_location + '::archive1', 'input') | |
self.create_regular_file('test', contents=b'second') | |
self.cmd('create', self.repository_location + '::archive2', 'input') | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
# mount the whole repository, archive contents shall show up in versioned view: | |
> with self.fuse_mount(self.repository_location, mountpoint, '-o', 'versions'): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2256: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
________________________ ArchiverTestCase.test_log_json ________________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_log_json> | |
def test_log_json(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2023: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_log_json> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________________ ArchiverTestCase.test_recreate_basic _____________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_basic> | |
def test_recreate_basic(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2474: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_basic> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________________ ArchiverTestCase.test_recreate_target _____________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_target> | |
def test_recreate_target(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2454: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_target> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
___________________ ArchiverTestCase.test_recreate_timestamp ___________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_timestamp> | |
def test_recreate_timestamp(self): | |
local_timezone = datetime.now(timezone(timedelta(0))).astimezone().tzinfo | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2540: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_recreate_timestamp> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________ ArchiverTestCase.test_repository_swap_detection ________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection> | |
def test_repository_swap_detection(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:628: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________ ArchiverTestCase.test_repository_swap_detection2 _______________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection2> | |
def test_repository_swap_detection2(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:644: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection2> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________ ArchiverTestCase.test_repository_swap_detection2_no_cache ___________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection2_no_cache> | |
def test_repository_swap_detection2_no_cache(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:675: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection2_no_cache> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
___________ ArchiverTestCase.test_repository_swap_detection_no_cache ___________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection_no_cache> | |
def test_repository_swap_detection_no_cache(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:658: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection_no_cache> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
___ ArchiverTestCase.test_repository_swap_detection_repokey_blank_passphrase ___ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection_repokey_blank_passphrase> | |
def test_repository_swap_detection_repokey_blank_passphrase(self): | |
# Check that a repokey repo with a blank passphrase is considered like a plaintext repo. | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:692: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_repository_swap_detection_repokey_blank_passphrase> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________________ ArchiverTestCase.test_symlink_extract _____________________ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_symlink_extract> | |
@pytest.mark.skipif(not are_symlinks_supported(), reason='symlinks not supported') | |
def test_symlink_extract(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:479: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_symlink_extract> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________ RemoteArchiverTestCase.test_aes_counter_uniqueness_keyfile __________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_aes_counter_uniqueness_keyfile> | |
def test_aes_counter_uniqueness_keyfile(self): | |
> self.verify_aes_counter_uniqueness('keyfile') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2351: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2339: in verify_aes_counter_uniqueness | |
self.create_test_files() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_aes_counter_uniqueness_keyfile> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________ RemoteArchiverTestCase.test_aes_counter_uniqueness_passphrase _________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_aes_counter_uniqueness_passphrase> | |
def test_aes_counter_uniqueness_passphrase(self): | |
> self.verify_aes_counter_uniqueness('repokey') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2354: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2339: in verify_aes_counter_uniqueness | |
self.create_test_files() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_aes_counter_uniqueness_passphrase> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
______________________ RemoteArchiverTestCase.test_atime _______________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_atime> | |
@pytest.mark.skipif(not is_utime_fully_supported(), reason='cannot properly setup and execute test without utime') | |
def test_atime(self): | |
def has_noatime(some_file): | |
atime_before = os.stat(some_file).st_atime_ns | |
try: | |
with open(os.open(some_file, flags_noatime)) as file: | |
file.read() | |
except PermissionError: | |
return False | |
else: | |
atime_after = os.stat(some_file).st_atime_ns | |
noatime_used = flags_noatime != flags_normal | |
return noatime_used and atime_before == atime_after | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:500: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_atime> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________ RemoteArchiverTestCase.test_basic_functionality ________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_basic_functionality> | |
def test_basic_functionality(self): | |
> have_root = self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:388: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_basic_functionality> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ RemoteArchiverTestCase.test_common_options __________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_common_options> | |
def test_common_options(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2055: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_common_options> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________ RemoteArchiverTestCase.test_create_no_cache_sync _______________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_create_no_cache_sync> | |
def test_create_no_cache_sync(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:1149: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_create_no_cache_sync> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________ RemoteArchiverTestCase.test_debug_dump_archive_items _____________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_dump_archive_items> | |
def test_debug_dump_archive_items(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2357: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_dump_archive_items> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________ RemoteArchiverTestCase.test_debug_dump_repo_objs _______________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_dump_repo_objs> | |
def test_debug_dump_repo_objs(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2367: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_dump_repo_objs> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ RemoteArchiverTestCase.test_debug_profile ___________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_profile> | |
def test_debug_profile(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2041: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_debug_profile> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________________ RemoteArchiverTestCase.test_export_tar ____________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar> | |
@requires_gnutar | |
def test_export_tar(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2872: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ RemoteArchiverTestCase.test_export_tar_gz ___________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar_gz> | |
@requires_gnutar | |
@requires_gzip | |
def test_export_tar_gz(self): | |
if not shutil.which('gzip'): | |
pytest.skip('gzip is not installed') | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2887: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar_gz> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
___________ RemoteArchiverTestCase.test_export_tar_strip_components ____________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar_strip_components> | |
@requires_gnutar | |
def test_export_tar_strip_components(self): | |
if not shutil.which('gzip'): | |
pytest.skip('gzip is not installed') | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2902: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_export_tar_strip_components> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______________________ RemoteArchiverTestCase.test_fuse _______________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse(self): | |
def has_noatime(some_file): | |
atime_before = os.stat(some_file).st_atime_ns | |
try: | |
os.close(os.open(some_file, flags_noatime)) | |
except PermissionError: | |
return False | |
else: | |
atime_after = os.stat(some_file).st_atime_ns | |
noatime_used = flags_noatime != flags_normal | |
return noatime_used and atime_before == atime_after | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2155: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________ RemoteArchiverTestCase.test_fuse_allow_damaged_files _____________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse_allow_damaged_files> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_allow_damaged_files(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_src_archive('archive') | |
# Get rid of a chunk and repair it | |
archive, repository = self.open_archive('archive') | |
with repository: | |
for item in archive.iter_items(): | |
if item.path.endswith('testsuite/archiver.py'): | |
repository.delete(item.chunks[-1].id) | |
path = item.path # store full path for later | |
break | |
else: | |
assert False # missed the file | |
repository.commit() | |
self.cmd('check', '--repair', self.repository_location, exit_code=0) | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
> with self.fuse_mount(self.repository_location + '::archive', mountpoint): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2293: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
_______________ RemoteArchiverTestCase.test_fuse_mount_hardlinks _______________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse_mount_hardlinks> | |
@requires_hardlinks | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_mount_hardlinks(self): | |
self._extract_hardlinks_setup() | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
# we need to get rid of permissions checking because fakeroot causes issues with it. | |
# On all platforms, borg defaults to "default_permissions" and we need to get rid of it via "ignore_permissions". | |
# On macOS (darwin), we additionally need "defer_permissions" to switch off the checks in osxfuse. | |
if sys.platform == 'darwin': | |
ignore_perms = ['-o', 'ignore_permissions,defer_permissions'] | |
else: | |
ignore_perms = ['-o', 'ignore_permissions'] | |
> with self.fuse_mount(self.repository_location + '::test', mountpoint, '--strip-components=2', *ignore_perms), \ | |
changedir(mountpoint): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:812: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
________________ RemoteArchiverTestCase.test_fuse_mount_options ________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse_mount_options> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_mount_options(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_src_archive('arch11') | |
self.create_src_archive('arch12') | |
self.create_src_archive('arch21') | |
self.create_src_archive('arch22') | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
> with self.fuse_mount(self.repository_location, mountpoint, '--first=2', '--sort=name'): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2309: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
________________ RemoteArchiverTestCase.test_fuse_versions_view ________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_fuse_versions_view> | |
@unittest.skipUnless(has_llfuse, 'llfuse not installed') | |
def test_fuse_versions_view(self): | |
self.cmd('init', '--encryption=repokey', self.repository_location) | |
self.create_regular_file('test', contents=b'first') | |
if are_hardlinks_supported(): | |
self.create_regular_file('hardlink1', contents=b'123456') | |
os.link('input/hardlink1', 'input/hardlink2') | |
os.link('input/hardlink1', 'input/hardlink3') | |
self.cmd('create', self.repository_location + '::archive1', 'input') | |
self.create_regular_file('test', contents=b'second') | |
self.cmd('create', self.repository_location + '::archive2', 'input') | |
mountpoint = os.path.join(self.tmpdir, 'mountpoint') | |
# mount the whole repository, archive contents shall show up in versioned view: | |
> with self.fuse_mount(self.repository_location, mountpoint, '-o', 'versions'): | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2256: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/contextlib.py:112: in __enter__ | |
return next(self.gen) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/__init__.py:230: in fuse_mount | |
self.cmd(*args, fork=True) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:295: in cmd | |
self.assert_equal(ret, exit_code) | |
E AssertionError: 2 != 0 | |
----------------------------- Captured stdout call ----------------------------- | |
fuse: device not found, try 'modprobe fuse' first | |
_____________________ RemoteArchiverTestCase.test_log_json _____________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_log_json> | |
def test_log_json(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2023: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_log_json> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
__________________ RemoteArchiverTestCase.test_recreate_basic __________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_basic> | |
def test_recreate_basic(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2474: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_basic> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________ RemoteArchiverTestCase.test_recreate_target __________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_target> | |
def test_recreate_target(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2454: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_target> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________________ RemoteArchiverTestCase.test_recreate_timestamp ________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_timestamp> | |
def test_recreate_timestamp(self): | |
local_timezone = datetime.now(timezone(timedelta(0))).astimezone().tzinfo | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:2540: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_recreate_timestamp> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________ RemoteArchiverTestCase.test_repository_swap_detection _____________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection> | |
def test_repository_swap_detection(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:628: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________ RemoteArchiverTestCase.test_repository_swap_detection2 ____________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection2> | |
def test_repository_swap_detection2(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:644: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection2> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_______ RemoteArchiverTestCase.test_repository_swap_detection2_no_cache ________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection2_no_cache> | |
def test_repository_swap_detection2_no_cache(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:675: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection2_no_cache> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________ RemoteArchiverTestCase.test_repository_swap_detection_no_cache ________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection_no_cache> | |
def test_repository_swap_detection_no_cache(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:658: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection_no_cache> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_ RemoteArchiverTestCase.test_repository_swap_detection_repokey_blank_passphrase _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection_repokey_blank_passphrase> | |
def test_repository_swap_detection_repokey_blank_passphrase(self): | |
# Check that a repokey repo with a blank passphrase is considered like a plaintext repo. | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:692: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_repository_swap_detection_repokey_blank_passphrase> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________ RemoteArchiverTestCase.test_symlink_extract __________________ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_symlink_extract> | |
@pytest.mark.skipif(not are_symlinks_supported(), reason='symlinks not supported') | |
def test_symlink_extract(self): | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:479: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.RemoteArchiverTestCase testMethod=test_symlink_extract> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________ ArchiverCorruptionTestCase.test_cache_chunks _________________ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_cache_chunks> | |
def setUp(self): | |
super().setUp() | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:3383: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_cache_chunks> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_________________ ArchiverCorruptionTestCase.test_cache_files __________________ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_cache_files> | |
def setUp(self): | |
super().setUp() | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:3383: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_cache_files> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________________ ArchiverCorruptionTestCase.test_chunks_archive ________________ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_chunks_archive> | |
def setUp(self): | |
super().setUp() | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:3383: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_chunks_archive> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
____________ ArchiverCorruptionTestCase.test_old_version_interfered ____________ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_old_version_interfered> | |
def setUp(self): | |
super().setUp() | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:3383: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.ArchiverCorruptionTestCase testMethod=test_old_version_interfered> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
________________ DiffArchiverTestCase.test_basic_functionality _________________ | |
self = <borg.testsuite.archiver.DiffArchiverTestCase testMethod=test_basic_functionality> | |
def test_basic_functionality(self): | |
# Initialize test folder | |
> self.create_test_files() | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:3455: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <borg.testsuite.archiver.DiffArchiverTestCase testMethod=test_basic_functionality> | |
def create_test_files(self): | |
"""Create a minimal test case including all supported file types | |
""" | |
# File | |
self.create_regular_file('file1', size=1024 * 80) | |
self.create_regular_file('flagfile', size=1024) | |
# Directory | |
self.create_regular_file('dir2/file2', size=1024 * 80) | |
# File mode | |
> os.chmod('input/file1', 0o4755) | |
E PermissionError: [Errno 1] Operation not permitted: 'input/file1' | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/archiver.py:336: PermissionError | |
_____________________________ test_get_config_dir ______________________________ | |
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff57afbd0> | |
def test_get_config_dir(monkeypatch): | |
"""test that get_config_dir respects environment""" | |
monkeypatch.delenv('BORG_CONFIG_DIR', raising=False) | |
monkeypatch.delenv('XDG_CONFIG_HOME', raising=False) | |
assert get_config_dir() == os.path.join(os.path.expanduser('~'), '.config', 'borg') | |
monkeypatch.setenv('XDG_CONFIG_HOME', '/var/tmp/.config') | |
> assert get_config_dir() == os.path.join('/var/tmp/.config', 'borg') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/helpers.py:468: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:570: in get_config_dir | |
os.makedirs(config_dir) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
name = '/var', mode = 511, exist_ok = False | |
def makedirs(name, mode=0o777, exist_ok=False): | |
"""makedirs(name [, mode=0o777][, exist_ok=False]) | |
Super-mkdir; create a leaf directory and all intermediate ones. Works like | |
mkdir, except that any intermediate path segment (not just the rightmost) | |
will be created if it does not exist. If the target directory already | |
exists, raise an OSError if exist_ok is False. Otherwise no exception is | |
raised. This is recursive. | |
""" | |
head, tail = path.split(name) | |
if not tail: | |
head, tail = path.split(head) | |
if head and tail and not path.exists(head): | |
try: | |
makedirs(head, exist_ok=exist_ok) | |
except FileExistsError: | |
# Defeats race condition when another thread created the path | |
pass | |
cdir = curdir | |
if isinstance(tail, bytes): | |
cdir = bytes(curdir, 'ASCII') | |
if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists | |
return | |
try: | |
> mkdir(name, mode) | |
E PermissionError: [Errno 13] Permission denied: '/var' | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:221: PermissionError | |
______________________________ test_get_cache_dir ______________________________ | |
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff467cd10> | |
def test_get_cache_dir(monkeypatch): | |
"""test that get_cache_dir respects environment""" | |
monkeypatch.delenv('BORG_CACHE_DIR', raising=False) | |
monkeypatch.delenv('XDG_CACHE_HOME', raising=False) | |
assert get_cache_dir() == os.path.join(os.path.expanduser('~'), '.cache', 'borg') | |
monkeypatch.setenv('XDG_CACHE_HOME', '/var/tmp/.cache') | |
> assert get_cache_dir() == os.path.join('/var/tmp/.cache', 'borg') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/helpers.py:479: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:553: in get_cache_dir | |
os.makedirs(cache_dir) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
name = '/var', mode = 511, exist_ok = False | |
def makedirs(name, mode=0o777, exist_ok=False): | |
"""makedirs(name [, mode=0o777][, exist_ok=False]) | |
Super-mkdir; create a leaf directory and all intermediate ones. Works like | |
mkdir, except that any intermediate path segment (not just the rightmost) | |
will be created if it does not exist. If the target directory already | |
exists, raise an OSError if exist_ok is False. Otherwise no exception is | |
raised. This is recursive. | |
""" | |
head, tail = path.split(name) | |
if not tail: | |
head, tail = path.split(head) | |
if head and tail and not path.exists(head): | |
try: | |
makedirs(head, exist_ok=exist_ok) | |
except FileExistsError: | |
# Defeats race condition when another thread created the path | |
pass | |
cdir = curdir | |
if isinstance(tail, bytes): | |
cdir = bytes(curdir, 'ASCII') | |
if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists | |
return | |
try: | |
> mkdir(name, mode) | |
E PermissionError: [Errno 13] Permission denied: '/var' | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:221: PermissionError | |
______________________________ test_get_keys_dir _______________________________ | |
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff48ab710> | |
def test_get_keys_dir(monkeypatch): | |
"""test that get_keys_dir respects environment""" | |
monkeypatch.delenv('BORG_KEYS_DIR', raising=False) | |
monkeypatch.delenv('XDG_CONFIG_HOME', raising=False) | |
assert get_keys_dir() == os.path.join(os.path.expanduser('~'), '.config', 'borg', 'keys') | |
monkeypatch.setenv('XDG_CONFIG_HOME', '/var/tmp/.config') | |
> assert get_keys_dir() == os.path.join('/var/tmp/.config', 'borg', 'keys') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/helpers.py:490: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:530: in get_keys_dir | |
keys_dir = os.environ.get('BORG_KEYS_DIR', os.path.join(get_config_dir(), 'keys')) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:570: in get_config_dir | |
os.makedirs(config_dir) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
name = '/var', mode = 511, exist_ok = False | |
def makedirs(name, mode=0o777, exist_ok=False): | |
"""makedirs(name [, mode=0o777][, exist_ok=False]) | |
Super-mkdir; create a leaf directory and all intermediate ones. Works like | |
mkdir, except that any intermediate path segment (not just the rightmost) | |
will be created if it does not exist. If the target directory already | |
exists, raise an OSError if exist_ok is False. Otherwise no exception is | |
raised. This is recursive. | |
""" | |
head, tail = path.split(name) | |
if not tail: | |
head, tail = path.split(head) | |
if head and tail and not path.exists(head): | |
try: | |
makedirs(head, exist_ok=exist_ok) | |
except FileExistsError: | |
# Defeats race condition when another thread created the path | |
pass | |
cdir = curdir | |
if isinstance(tail, bytes): | |
cdir = bytes(curdir, 'ASCII') | |
if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists | |
return | |
try: | |
> mkdir(name, mode) | |
E PermissionError: [Errno 13] Permission denied: '/var' | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:221: PermissionError | |
____________________________ test_get_security_dir _____________________________ | |
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff54b7e50> | |
def test_get_security_dir(monkeypatch): | |
"""test that get_security_dir respects environment""" | |
monkeypatch.delenv('BORG_SECURITY_DIR', raising=False) | |
monkeypatch.delenv('XDG_CONFIG_HOME', raising=False) | |
assert get_security_dir() == os.path.join(os.path.expanduser('~'), '.config', 'borg', 'security') | |
assert get_security_dir(repository_id='1234') == os.path.join(os.path.expanduser('~'), '.config', 'borg', 'security', '1234') | |
monkeypatch.setenv('XDG_CONFIG_HOME', '/var/tmp/.config') | |
> assert get_security_dir() == os.path.join('/var/tmp/.config', 'borg', 'security') | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/testsuite/helpers.py:502: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:539: in get_security_dir | |
security_dir = os.environ.get('BORG_SECURITY_DIR', os.path.join(get_config_dir(), 'security')) | |
/nix/store/hxw6l90wwmg33fva294dkhx0lkvc3g2d-borgbackup-1.1.11/lib/python3.7/site-packages/borg/helpers.py:570: in get_config_dir | |
os.makedirs(config_dir) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:211: in makedirs | |
makedirs(head, exist_ok=exist_ok) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
name = '/var', mode = 511, exist_ok = False | |
def makedirs(name, mode=0o777, exist_ok=False): | |
"""makedirs(name [, mode=0o777][, exist_ok=False]) | |
Super-mkdir; create a leaf directory and all intermediate ones. Works like | |
mkdir, except that any intermediate path segment (not just the rightmost) | |
will be created if it does not exist. If the target directory already | |
exists, raise an OSError if exist_ok is False. Otherwise no exception is | |
raised. This is recursive. | |
""" | |
head, tail = path.split(name) | |
if not tail: | |
head, tail = path.split(head) | |
if head and tail and not path.exists(head): | |
try: | |
makedirs(head, exist_ok=exist_ok) | |
except FileExistsError: | |
# Defeats race condition when another thread created the path | |
pass | |
cdir = curdir | |
if isinstance(tail, bytes): | |
cdir = bytes(curdir, 'ASCII') | |
if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists | |
return | |
try: | |
> mkdir(name, mode) | |
E PermissionError: [Errno 13] Permission denied: '/var' | |
/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/lib/python3.7/os.py:221: PermissionError | |
=============================== warnings summary =============================== | |
/nix/store/8sfdkyzqwr7qz6l3zqvncq250awd31yn-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/mark/structures.py:327 | |
/nix/store/8sfdkyzqwr7qz6l3zqvncq250awd31yn-python3.7-pytest-5.3.5/lib/python3.7/site-packages/_pytest/mark/structures.py:327: PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html | |
PytestUnknownMarkWarning, | |
-- Docs: https://docs.pytest.org/en/latest/warnings.html | |
--------------------------------------------------------------------------------------------------- benchmark: 49 tests --------------------------------------------------------------------------------------------------- | |
Name (time in ms) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
test_help[python] 930.5869 (1.0) 1,214.9434 (1.25) 1,020.3134 (1.05) 111.6063 (inf) 980.8980 (1.01) 85.8719 (inf) 1;1 0.9801 (0.95) 5 1 | |
test_list[random-python-none-none] 948.5686 (1.02) 1,106.2718 (1.14) 1,025.0705 (1.06) 67.5214 (inf) 997.7017 (1.03) 112.7907 (inf) 2;0 0.9755 (0.95) 5 1 | |
test_check[zeros-python-none-none] 949.5352 (1.02) 1,215.3566 (1.25) 1,098.4601 (1.13) 105.4172 (inf) 1,107.1468 (1.14) 162.8521 (inf) 2;0 0.9104 (0.88) 5 1 | |
test_list[zeros-python-none-none] 956.7048 (1.03) 1,230.4119 (1.27) 1,041.2202 (1.07) 110.9632 (inf) 995.2223 (1.02) 121.2217 (inf) 1;0 0.9604 (0.93) 5 1 | |
test_info[random-python-none-none] 959.2529 (1.03) 1,221.2431 (1.26) 1,129.1848 (1.16) 101.3970 (inf) 1,144.4330 (1.18) 107.6626 (inf) 1;0 0.8856 (0.86) 5 1 | |
test_info[random-python-lz4-none] 962.8594 (1.03) 1,216.0417 (1.25) 1,071.4927 (1.10) 99.9688 (inf) 1,064.1347 (1.10) 150.8725 (inf) 2;0 0.9333 (0.91) 5 1 | |
test_check[random-python-lz4-none] 968.6510 (1.04) 1,189.7862 (1.22) 1,082.2026 (1.11) 79.8216 (inf) 1,095.0888 (1.13) 85.7993 (inf) 2;0 0.9240 (0.90) 5 1 | |
test_delete[zeros-python-none-none] 971.5797 (1.04) 971.5797 (1.0) 971.5797 (1.0) 0.0000 (1.0) 971.5797 (1.0) 0.0000 (1.0) 0;0 1.0293 (1.0) 1 1 | |
test_info[zeros-python-none-none] 983.5525 (1.06) 1,315.8339 (1.35) 1,080.1202 (1.11) 136.0958 (inf) 1,054.8972 (1.09) 131.4042 (inf) 1;0 0.9258 (0.90) 5 1 | |
test_check[zeros-python-lz4-none] 990.3848 (1.06) 1,157.1414 (1.19) 1,067.5393 (1.10) 75.5531 (inf) 1,069.0978 (1.10) 140.9118 (inf) 2;0 0.9367 (0.91) 5 1 | |
test_delete[random-python-lz4-none] 1,015.4774 (1.09) 1,015.4774 (1.05) 1,015.4774 (1.05) 0.0000 (1.0) 1,015.4774 (1.05) 0.0000 (1.0) 0;0 0.9848 (0.96) 1 1 | |
test_list[random-python-lz4-none] 1,020.5917 (1.10) 1,119.6685 (1.15) 1,082.3548 (1.11) 44.9398 (inf) 1,102.7529 (1.14) 77.2375 (inf) 1;0 0.9239 (0.90) 5 1 | |
test_list[zeros-python-lz4-none] 1,023.5435 (1.10) 1,191.8152 (1.23) 1,087.7696 (1.12) 67.4858 (inf) 1,061.1585 (1.09) 94.7975 (inf) 1;0 0.9193 (0.89) 5 1 | |
test_info[random-python-none-repokey] 1,032.8013 (1.11) 1,201.7439 (1.24) 1,111.0236 (1.14) 71.0830 (inf) 1,129.5253 (1.16) 117.5311 (inf) 2;0 0.9001 (0.87) 5 1 | |
test_delete[random-python-none-none] 1,035.2295 (1.11) 1,035.2295 (1.07) 1,035.2295 (1.07) 0.0000 (1.0) 1,035.2295 (1.07) 0.0000 (1.0) 0;0 0.9660 (0.94) 1 1 | |
test_list[random-python-none-repokey] 1,038.4279 (1.12) 1,222.2291 (1.26) 1,168.7508 (1.20) 74.1378 (inf) 1,192.1218 (1.23) 59.6068 (inf) 1;1 0.8556 (0.83) 5 1 | |
test_list[zeros-python-none-repokey] 1,039.1809 (1.12) 1,200.2348 (1.24) 1,133.4927 (1.17) 82.8029 (inf) 1,185.6497 (1.22) 151.7762 (inf) 2;0 0.8822 (0.86) 5 1 | |
test_delete[zeros-python-none-repokey] 1,051.1994 (1.13) 1,051.1994 (1.08) 1,051.1994 (1.08) 0.0000 (1.0) 1,051.1994 (1.08) 0.0000 (1.0) 0;0 0.9513 (0.92) 1 1 | |
test_info[random-python-lz4-repokey] 1,053.2239 (1.13) 1,283.0198 (1.32) 1,160.6491 (1.19) 101.9665 (inf) 1,140.8536 (1.17) 185.9173 (inf) 2;0 0.8616 (0.84) 5 1 | |
test_list[random-python-lz4-repokey] 1,057.4333 (1.14) 1,369.8220 (1.41) 1,231.6977 (1.27) 113.8738 (inf) 1,258.5808 (1.30) 121.2725 (inf) 2;0 0.8119 (0.79) 5 1 | |
test_check[zeros-python-none-repokey] 1,064.2349 (1.14) 1,296.4344 (1.33) 1,191.7020 (1.23) 97.7276 (inf) 1,163.7042 (1.20) 158.1978 (inf) 2;0 0.8391 (0.82) 5 1 | |
test_check[random-python-none-none] 1,069.0092 (1.15) 1,230.7864 (1.27) 1,135.4807 (1.17) 63.1407 (inf) 1,118.7626 (1.15) 88.9623 (inf) 2;0 0.8807 (0.86) 5 1 | |
test_extract[zeros-python-none-none] 1,072.6052 (1.15) 1,072.6052 (1.10) 1,072.6052 (1.10) 0.0000 (1.0) 1,072.6052 (1.10) 0.0000 (1.0) 0;0 0.9323 (0.91) 1 1 | |
test_delete[random-python-none-repokey] 1,072.7502 (1.15) 1,072.7502 (1.10) 1,072.7502 (1.10) 0.0000 (1.0) 1,072.7502 (1.10) 0.0000 (1.0) 0;0 0.9322 (0.91) 1 1 | |
test_list[zeros-python-lz4-repokey] 1,078.3523 (1.16) 1,353.4747 (1.39) 1,221.9392 (1.26) 125.1323 (inf) 1,254.6121 (1.29) 231.1464 (inf) 2;0 0.8184 (0.80) 5 1 | |
test_extract[random-python-none-none] 1,079.2982 (1.16) 1,079.2982 (1.11) 1,079.2982 (1.11) 0.0000 (1.0) 1,079.2982 (1.11) 0.0000 (1.0) 0;0 0.9265 (0.90) 1 1 | |
test_info[zeros-python-none-repokey] 1,087.4927 (1.17) 1,299.8252 (1.34) 1,197.4920 (1.23) 77.1912 (inf) 1,208.9787 (1.24) 88.6235 (inf) 2;0 0.8351 (0.81) 5 1 | |
test_check[random-python-lz4-repokey] 1,090.4025 (1.17) 1,235.0686 (1.27) 1,149.9779 (1.18) 53.6110 (inf) 1,135.8306 (1.17) 58.4685 (inf) 2;0 0.8696 (0.84) 5 1 | |
test_extract[random-python-lz4-repokey] 1,098.1671 (1.18) 1,098.1671 (1.13) 1,098.1671 (1.13) 0.0000 (1.0) 1,098.1671 (1.13) 0.0000 (1.0) 0;0 0.9106 (0.88) 1 1 | |
test_check[zeros-python-lz4-repokey] 1,102.5374 (1.18) 1,220.9240 (1.26) 1,175.9645 (1.21) 48.0734 (inf) 1,200.1200 (1.24) 66.9242 (inf) 1;0 0.8504 (0.83) 5 1 | |
test_info[zeros-python-lz4-none] 1,126.1445 (1.21) 1,219.2937 (1.25) 1,189.7453 (1.22) 40.9883 (inf) 1,214.1959 (1.25) 59.3820 (inf) 1;0 0.8405 (0.82) 5 1 | |
test_delete[zeros-python-lz4-none] 1,131.5185 (1.22) 1,131.5185 (1.16) 1,131.5185 (1.16) 0.0000 (1.0) 1,131.5185 (1.16) 0.0000 (1.0) 0;0 0.8838 (0.86) 1 1 | |
test_check[random-python-none-repokey] 1,133.5742 (1.22) 1,228.0007 (1.26) 1,173.4679 (1.21) 40.0536 (inf) 1,161.3185 (1.20) 67.3534 (inf) 1;0 0.8522 (0.83) 5 1 | |
test_info[zeros-python-lz4-repokey] 1,140.3099 (1.23) 1,276.6057 (1.31) 1,220.1519 (1.26) 55.0931 (inf) 1,208.8131 (1.24) 79.6663 (inf) 2;0 0.8196 (0.80) 5 1 | |
test_extract[zeros-python-lz4-none] 1,154.4192 (1.24) 1,154.4192 (1.19) 1,154.4192 (1.19) 0.0000 (1.0) 1,154.4192 (1.19) 0.0000 (1.0) 0;0 0.8662 (0.84) 1 1 | |
test_delete[random-python-lz4-repokey] 1,173.5250 (1.26) 1,173.5250 (1.21) 1,173.5250 (1.21) 0.0000 (1.0) 1,173.5250 (1.21) 0.0000 (1.0) 0;0 0.8521 (0.83) 1 1 | |
test_extract[random-python-lz4-none] 1,198.1012 (1.29) 1,198.1012 (1.23) 1,198.1012 (1.23) 0.0000 (1.0) 1,198.1012 (1.23) 0.0000 (1.0) 0;0 0.8347 (0.81) 1 1 | |
test_create_none[zeros-python-none] 1,206.3584 (1.30) 1,206.3584 (1.24) 1,206.3584 (1.24) 0.0000 (1.0) 1,206.3584 (1.24) 0.0000 (1.0) 0;0 0.8289 (0.81) 1 1 | |
test_create_lz4[random-python-none] 1,223.5721 (1.31) 1,223.5721 (1.26) 1,223.5721 (1.26) 0.0000 (1.0) 1,223.5721 (1.26) 0.0000 (1.0) 0;0 0.8173 (0.79) 1 1 | |
test_create_lz4[zeros-python-none] 1,251.2426 (1.34) 1,251.2426 (1.29) 1,251.2426 (1.29) 0.0000 (1.0) 1,251.2426 (1.29) 0.0000 (1.0) 0;0 0.7992 (0.78) 1 1 | |
test_delete[zeros-python-lz4-repokey] 1,263.4107 (1.36) 1,263.4107 (1.30) 1,263.4107 (1.30) 0.0000 (1.0) 1,263.4107 (1.30) 0.0000 (1.0) 0;0 0.7915 (0.77) 1 1 | |
test_extract[zeros-python-none-repokey] 1,270.6798 (1.37) 1,270.6798 (1.31) 1,270.6798 (1.31) 0.0000 (1.0) 1,270.6798 (1.31) 0.0000 (1.0) 0;0 0.7870 (0.76) 1 1 | |
test_extract[random-python-none-repokey] 1,303.2072 (1.40) 1,303.2072 (1.34) 1,303.2072 (1.34) 0.0000 (1.0) 1,303.2072 (1.34) 0.0000 (1.0) 0;0 0.7673 (0.75) 1 1 | |
test_create_none[zeros-python-repokey] 1,322.3423 (1.42) 1,322.3423 (1.36) 1,322.3423 (1.36) 0.0000 (1.0) 1,322.3423 (1.36) 0.0000 (1.0) 0;0 0.7562 (0.73) 1 1 | |
test_extract[zeros-python-lz4-repokey] 1,351.9649 (1.45) 1,351.9649 (1.39) 1,351.9649 (1.39) 0.0000 (1.0) 1,351.9649 (1.39) 0.0000 (1.0) 0;0 0.7397 (0.72) 1 1 | |
test_create_none[random-python-none] 1,400.2237 (1.50) 1,400.2237 (1.44) 1,400.2237 (1.44) 0.0000 (1.0) 1,400.2237 (1.44) 0.0000 (1.0) 0;0 0.7142 (0.69) 1 1 | |
test_create_lz4[random-python-repokey] 1,402.0043 (1.51) 1,402.0043 (1.44) 1,402.0043 (1.44) 0.0000 (1.0) 1,402.0043 (1.44) 0.0000 (1.0) 0;0 0.7133 (0.69) 1 1 | |
test_create_lz4[zeros-python-repokey] 1,467.2976 (1.58) 1,467.2976 (1.51) 1,467.2976 (1.51) 0.0000 (1.0) 1,467.2976 (1.51) 0.0000 (1.0) 0;0 0.6815 (0.66) 1 1 | |
test_create_none[random-python-repokey] 1,530.3554 (1.64) 1,530.3554 (1.58) 1,530.3554 (1.58) 0.0000 (1.0) 1,530.3554 (1.58) 0.0000 (1.0) 0;0 0.6534 (0.63) 1 1 | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Legend: | |
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. | |
OPS: Operations Per Second, computed as 1 / Mean | |
= 64 failed, 1122 passed, 172 skipped, 2 xfailed, 1 warning in 1150.02s (0:19:10) = | |
builder for '/nix/store/1jg3q334k0vnsq1pcps8hv2mgcwmjrqn-borgbackup-1.1.11.drv' failed with exit code 1 | |
error: build of '/nix/store/1jg3q334k0vnsq1pcps8hv2mgcwmjrqn-borgbackup-1.1.11.drv' on 'ssh://hexa@phoibe.cysec.de' failed: builder for '/nix/store/1jg3q334k0vnsq1pcps8hv2mgcwmjrqn-borgbackup-1.1.11.drv' failed with exit code 1 | |
builder for '/nix/store/1jg3q334k0vnsq1pcps8hv2mgcwmjrqn-borgbackup-1.1.11.drv' failed with exit code 1 | |
error: build of '/nix/store/1jg3q334k0vnsq1pcps8hv2mgcwmjrqn-borgbackup-1.1.11.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment