Diff of the two buildlogs: -- --- b1/build.log 2023-04-12 16:05:24.738589023 +0000 +++ b2/build.log 2023-04-12 16:07:30.289102496 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 14 10:26:14 -12 2024 -I: pbuilder-time-stamp: 1715725575 +I: Current time: Thu Apr 13 06:05:28 +14 2023 +I: pbuilder-time-stamp: 1681315528 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./backblaze-b2_1.3.8.orig.tar.gz] I: copying [./backblaze-b2_1.3.8-6.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 6 06:54:13 2022 -12 +gpgv: Signature made Wed Dec 7 08:54:13 2022 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./backblaze-b2_1.3.8-6.dsc: no acceptable signature found @@ -29,11 +29,20 @@ dpkg-source: info: applying 0003-Relax-arrow-version.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25480/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -43,38 +52,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' - PPID='25480' + PPID='2676' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1ajruM6c/pbuilderrc_tffY --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1ajruM6c/b1 --logfile b1/build.log backblaze-b2_1.3.8-6.dsc' + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1ajruM6c/pbuilderrc_wV6V --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1ajruM6c/b2 --logfile b2/build.log --extrapackages usrmerge backblaze-b2_1.3.8-6.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink13-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/25480/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 12 00:26 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -218,7 +227,7 @@ Get: 80 http://deb.debian.org/debian bookworm/main arm64 python3-tqdm all 4.64.1-1 [97.7 kB] Get: 81 http://deb.debian.org/debian bookworm/main arm64 python3-yapf all 0.32.0-1 [133 kB] Get: 82 http://deb.debian.org/debian bookworm/main arm64 yapf3 all 0.32.0-1 [29.7 kB] -Fetched 29.0 MB in 4s (8235 kB/s) +Fetched 29.0 MB in 1s (19.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -572,10 +581,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/backblaze-b2-1.3.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../backblaze-b2_1.3.8-6_source.changes +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/backblaze-b2-1.3.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../backblaze-b2_1.3.8-6_source.changes dpkg-buildpackage: info: source package backblaze-b2 dpkg-buildpackage: info: source version 1.3.8-6 dpkg-buildpackage: info: source distribution unstable @@ -676,98 +690,41 @@ writing manifest file 'b2.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/nose/config.py:430: DeprecationWarning: Use of multiple -w arguments is deprecated and support may be removed in a future release. You can get the same behavior by passing directories without the -w argument on the command line, or by using the --tests argument in a configuration file. warn("Use of multiple -w arguments is deprecated and " -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling InMemoryAccountInfo.save_bucket(self=, bucket=) -calling InMemoryAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling InMemoryAccountInfo.save_bucket(self=, bucket=) +calling InMemoryAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling InMemoryAccountInfo.clear(self=) -calling UrlPoolAccountInfo.clear(self=) -calling AbstractAccountInfo.clear(self=) -calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) -calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') -calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') -calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') -calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') -calling InMemoryAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling InMemoryAccountInfo.clear(self=) +calling UrlPoolAccountInfo.clear(self=) +calling AbstractAccountInfo.clear(self=) +calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) +calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') +calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') +calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling InMemoryAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling B2Api.list_buckets(self=, bucket_name='bucket1') -calling SqliteAccountInfo.save_bucket(self=, bucket=) -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling SqliteAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.list_buckets(self=, bucket_name='bucket1') -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) -calling B2Api.list_buckets(self=, bucket_name='bucket1') -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling SqliteAccountInfo.save_bucket(self=, bucket=) +calling SqliteAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling SqliteAccountInfo.clear(self=) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling SqliteAccountInfo.clear(self=) _get_account_info_or_raise encountered a problem while trying to retrieve "account_id" Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise @@ -786,18 +743,30 @@ value = cursor.fetchone()[0] ~~~~~~~~~~~~~~~~~^^^ TypeError: 'NoneType' object is not subscriptable +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) _get_account_info_or_raise encountered a problem while trying to retrieve "application_key" Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise value = cursor.fetchone()[0] ~~~~~~~~~~~~~~~~~^^^ TypeError: 'NoneType' object is not subscriptable +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) _get_account_info_or_raise encountered a problem while trying to retrieve "download_url" Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise value = cursor.fetchone()[0] ~~~~~~~~~~~~~~~~~^^^ TypeError: 'NoneType' object is not subscriptable +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.list_buckets(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') _get_account_info_or_raise encountered a problem while trying to retrieve "realm" Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise @@ -810,34 +779,86 @@ value = cursor.fetchone()[0] ~~~~~~~~~~~~~~~~~^^^ TypeError: 'NoneType' object is not subscriptable -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) +calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') +calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') +calling B2Api.list_buckets(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) +calling B2Api.list_buckets(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) -calling B2Api.list_buckets(self=, bucket_name='bucket2') -calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket2') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) +calling B2Api.list_buckets(self=, bucket_name='bucket2') +calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket2') +calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.authorize_automatically(self=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.authorize_automatically(self=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) -calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) -calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') -calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') -calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') -calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') -calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') +calling SqliteAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) +calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) server returned date in an inappropriate format Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/b2http.py", line 184, in post_request @@ -852,7 +873,7 @@ File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse raise ParserMatchError( arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'bad format'. -calling SqliteAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) +calling SqliteAccountInfo.set_auth_data_with_schema_0_for_test(self=, account_id='account_id', auth_token='auth_token', api_url='api_url', download_url='dowload_url', minimum_part_size=100, application_key='application_key', realm='realm') server returned date in an inappropriate format Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/b2http.py", line 184, in post_request @@ -867,15 +888,7 @@ File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse raise ParserMatchError( arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'Fri, 16 XXX 2016 20:52:30 GMT'. -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.set_auth_data(self=, api_url='api_url', download_url='download_url', minimum_part_size=100, realm='realm') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) -calling SqliteAccountInfo.set_auth_data_with_schema_0_for_test(self=, account_id='account_id', auth_token='auth_token', api_url='api_url', download_url='dowload_url', minimum_part_size=100, application_key='application_key', realm='realm') -calling SqliteAccountInfo.set_auth_data_with_schema_0_for_test(self=, account_id='account_id', auth_token='auth_token', api_url='api_url', download_url='dowload_url', minimum_part_size=100, application_key='application_key', realm='realm') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling SqliteAccountInfo.set_auth_data_with_schema_0_for_test(self=, account_id='account_id', auth_token='auth_token', api_url='api_url', download_url='dowload_url', minimum_part_size=100, application_key='application_key', realm='realm') _translate_errors has intercepted an unexpected exception Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/b2http.py", line 50, in _translate_errors @@ -884,705 +897,802 @@ File "/build/backblaze-b2-1.3.8/test/test_b2http.py", line 89, in fcn raise Exception('a message') Exception: a message -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) created part to download: PartToDownload(Range(0, 1), Range(0, 1)) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) - retrieved a total of 2 bytes + retrieved a total of 2 bytes created part to download: PartToDownload(Range(2, 3), Range(2, 3)) - retrieved a total of 2 bytes + retrieved a total of 2 bytes created part to download: PartToDownload(Range(4, 5), Range(4, 5)) - retrieved a total of 2 bytes +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) + retrieved a total of 2 bytes created part to download: PartToDownload(Range(6, 7), Range(6, 7)) - retrieved a total of 2 bytes + retrieved a total of 2 bytes created part to download: PartToDownload(Range(8, 10), Range(8, 10)) - retrieved a total of 3 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) + retrieved a total of 3 bytes +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) created part to download: PartToDownload(Range(0, 1), Range(0, 1)) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) + retrieved a total of 2 bytes +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) - retrieved a total of 2 bytes -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) created part to download: PartToDownload(Range(2, 3), Range(2, 3)) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) - retrieved a total of 2 bytes -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) + retrieved a total of 2 bytes created part to download: PartToDownload(Range(4, 5), Range(4, 5)) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) - retrieved a total of 2 bytes +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) + retrieved a total of 2 bytes created part to download: PartToDownload(Range(6, 7), Range(6, 7)) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) - retrieved a total of 2 bytes -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) + retrieved a total of 2 bytes +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) created part to download: PartToDownload(Range(8, 10), Range(8, 10)) - retrieved a total of 3 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) + retrieved a total of 3 bytes +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -created part to download: PartToDownload(Range(0, 1), Range(0, 1)) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) - retrieved a total of 2 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +created part to download: PartToDownload(Range(0, 1), Range(0, 1)) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) + retrieved a total of 2 bytes created part to download: PartToDownload(Range(2, 3), Range(2, 3)) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) - retrieved a total of 2 bytes -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -created part to download: PartToDownload(Range(4, 5), Range(4, 5)) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) - retrieved a total of 2 bytes -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) + retrieved a total of 2 bytes +calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) +created part to download: PartToDownload(Range(4, 5), Range(4, 5)) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) + retrieved a total of 2 bytes created part to download: PartToDownload(Range(6, 7), Range(6, 7)) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) - retrieved a total of 2 bytes -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) created part to download: PartToDownload(Range(8, 10), Range(8, 10)) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 10)) - retrieved a total of 3 bytes -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(0, 10)) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(0, 10)) (hidden args: content_sha1) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling DownloadDestBytes.capture_bytes_context(self=) + retrieved a total of 2 bytes + retrieved a total of 3 bytes +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -created part to download: PartToDownload(Range(3, 4), Range(0, 1)) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestBytes.capture_bytes_context(self=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(5, 6), Range(2, 3)) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) - retrieved a total of 2 bytes -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -created part to download: PartToDownload(Range(7, 9), Range(4, 6)) - retrieved a total of 3 bytes -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +created part to download: PartToDownload(Range(3, 4), Range(0, 1)) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -created part to download: PartToDownload(Range(3, 4), Range(3, 4)) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling Bucket.list_file_names(self=Bucket, start_filename='hello.txt', max_entries=1) +calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(5, 6), Range(5, 6)) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.delete_file_version(self=Bucket, file_id='9999', file_name='hello.txt') +calling B2Api.delete_file_version(self=, file_id='9999', file_name='hello.txt') +calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(5, 6), Range(2, 3)) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(7, 9), Range(4, 6)) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(7, 9), Range(7, 9)) - retrieved a total of 3 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -created part to download: PartToDownload(Range(3, 4), Range(7, 8)) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(5, 6), Range(9, 10)) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) - retrieved a total of 2 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -created part to download: PartToDownload(Range(7, 9), Range(11, 13)) - retrieved a total of 3 bytes -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.ls(self=Bucket, folder_to_list='foo', show_versions=False, max_entries=None, recursive=False, fetch_count=100) +test_account_info_same_object (test.test_account_info.TestInMemoryAccountInfo.test_account_info_same_object) ... ok +test_bucket (test.test_account_info.TestInMemoryAccountInfo.test_bucket) ... ok +test_clear (test.test_account_info.TestInMemoryAccountInfo.test_clear) ... ok +test_clear_bucket_upload_data (test.test_account_info.TestInMemoryAccountInfo.test_clear_bucket_upload_data) ... ok +test_clear_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_clear_large_file_upload_urls) ... ok +test_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_large_file_upload_urls) ... ok +test_refresh_bucket (test.test_account_info.TestInMemoryAccountInfo.test_refresh_bucket) ... ok +test_set_auth_data_compatibility (test.test_account_info.TestInMemoryAccountInfo.test_set_auth_data_compatibility) ... ok +test_clear (test.test_account_info.TestUploadUrlPool.test_clear) ... ok +test_put_and_take (test.test_account_info.TestUploadUrlPool.test_put_and_take) ... ok +test_take_empty (test.test_account_info.TestUploadUrlPool.test_take_empty) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) + retrieved a total of 3 bytes +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) calling Bucket.start_large_file(self=Bucket, file_name='file2.txt', content_type='text/plain', file_info={}) calling Bucket.start_large_file(self=Bucket, file_name='file3.txt', content_type='text/plain', file_info={}) calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=1) -calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -created part to download: PartToDownload(Range(0, 1), Range(0, 1)) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(2, 3), Range(2, 3)) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(4, 5), Range(4, 5)) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(6, 7), Range(6, 7)) -calling Bucket.list_file_names(self=Bucket, start_filename='hello.txt', max_entries=1) -calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') - retrieved a total of 2 bytes -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -created part to download: PartToDownload(Range(8, 10), Range(8, 10)) - retrieved a total of 3 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) -calling Bucket.delete_file_version(self=Bucket, file_id='9999', file_name='hello.txt') -calling B2Api.delete_file_version(self=, file_id='9999', file_name='hello.txt') -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +test_get_bucket_by_name_with_bucket_restriction (test.test_api.TestApi.test_get_bucket_by_name_with_bucket_restriction) ... ok +test_list_buckets (test.test_api.TestApi.test_list_buckets) ... ok +test_list_buckets_with_name (test.test_api.TestApi.test_list_buckets_with_name) ... ok +test_list_buckets_with_restriction (test.test_api.TestApi.test_list_buckets_with_restriction) ... ok +test_list_buckets_with_restriction_and_no_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_no_name) ... ok +test_list_buckets_with_restriction_and_wrong_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_wrong_name) ... ok +test_reauthorize_with_app_key (test.test_api.TestApi.test_reauthorize_with_app_key) ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling Bucket.hide_file(self=Bucket, file_name='hello.txt') +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling DownloadDestBytes.capture_bytes_context(self=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -created part to download: PartToDownload(Range(0, 1), Range(0, 1)) -calling Bucket.ls(self=Bucket, folder_to_list='foo', show_versions=False, max_entries=None, recursive=False, fetch_count=100) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling B2Api.authorize_automatically(self=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +test_callback (test.test_b2http.TestB2Http.test_callback) ... ok +test_get_content (test.test_b2http.TestB2Http.test_get_content) ... ok +test_post_json_return_json (test.test_b2http.TestB2Http.test_post_json_return_json) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(2, 3), Range(2, 3)) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(4, 5), Range(4, 5)) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +created part to download: PartToDownload(Range(3, 4), Range(3, 4)) +calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.authorize_automatically(self=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.hide_file(self=Bucket, file_name='hello.txt') +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +test_never_works (test.test_b2http.TestTranslateAndRetry.test_never_works) ... ok +test_non_retryable (test.test_b2http.TestTranslateAndRetry.test_non_retryable) ... ok +test_works_first_try (test.test_b2http.TestTranslateAndRetry.test_works_first_try) ... ok +test_works_second_try (test.test_b2http.TestTranslateAndRetry.test_works_second_try) ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling Bucket.start_large_file(self=Bucket, file_name='hello.txt', content_type=None, file_info=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) - retrieved a total of 2 bytes -created part to download: PartToDownload(Range(6, 7), Range(6, 7)) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +test_bad_format (test.test_b2http.TestClockSkewHook.test_bad_format) ... ok +test_bad_month (test.test_b2http.TestClockSkewHook.test_bad_month) ... ok +test_negative_skew (test.test_b2http.TestClockSkewHook.test_negative_skew) ... ok +test_no_skew (test.test_b2http.TestClockSkewHook.test_no_skew) ... ok +test_positive_skew (test.test_b2http.TestClockSkewHook.test_positive_skew) ... ok + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(5, 6), Range(5, 6)) +test_account_info_persistence (test.test_account_info.TestSqliteAccountInfo.test_account_info_persistence) ... ok +test_account_info_same_object (test.test_account_info.TestSqliteAccountInfo.test_account_info_same_object) ... ok +test_bucket (test.test_account_info.TestSqliteAccountInfo.test_bucket) ... ok +test_clear (test.test_account_info.TestSqliteAccountInfo.test_clear) ... ok +test_clear_bucket_upload_data (test.test_account_info.TestSqliteAccountInfo.test_clear_bucket_upload_data) ... ok +test_clear_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_clear_large_file_upload_urls) ... ok +Tests converting from a JSON account info file, which is what version ... ok +Test that a corrupted file will be replaced with a blank file. ... ok +test_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_large_file_upload_urls) ... ok +test_refresh_bucket (test.test_account_info.TestSqliteAccountInfo.test_refresh_bucket) ... ok +test_set_auth_data_compatibility (test.test_account_info.TestSqliteAccountInfo.test_set_auth_data_compatibility) ... ok +The 'allowed' field should be the default for upgraded databases. ... ok +The 'account_id_or_app_key_id' field should default to the account id. ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(7, 9), Range(7, 9)) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) - retrieved a total of 2 bytes -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +test_b2_error (test.test_b2http.TestTranslateErrors.test_b2_error) ... ok +test_broken_pipe (test.test_b2http.TestTranslateErrors.test_broken_pipe) ... ok +test_connection_error (test.test_b2http.TestTranslateErrors.test_connection_error) ... ok +test_connection_reset (test.test_b2http.TestTranslateErrors.test_connection_reset) ... ok +test_ok (test.test_b2http.TestTranslateErrors.test_ok) ... ok +test_partial_content (test.test_b2http.TestTranslateErrors.test_partial_content) ... ok +test_unknown_error (test.test_b2http.TestTranslateErrors.test_unknown_error) ... ok +test_unknown_host (test.test_b2http.TestTranslateErrors.test_unknown_host) ... ok +calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) + retrieved a total of 3 bytes +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) +test_blocking (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_blocking) ... ok +test_no_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_no_exceptions) ... ok +test_return_future (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_return_future) ... ok +test_two_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_two_exceptions) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +testEmpty (test.test_bucket.TestListParts.testEmpty) ... ok +testThree (test.test_bucket.TestListParts.testThree) ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +test_empty (test.test_bucket.TestListUnfinished.test_empty) ... ok +test_one (test.test_bucket.TestListUnfinished.test_one) ... ok +test_three (test.test_bucket.TestListUnfinished.test_three) ... ok +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.start_large_file(self=Bucket, file_name='hello.txt', content_type=None, file_info=None) -calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) -created part to download: PartToDownload(Range(8, 10), Range(8, 10)) - retrieved a total of 3 bytes -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpc4om305t/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpcu1gjtl6/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling Bucket.upload_bytes(self=Bucket, file_name='bb', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +test_download_by_id_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_no_progress) ... ok +test_download_by_id_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_progress) ... ok +test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_exact_range) ... ok +test_download_by_id_progress_partial (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial) ... ok +test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_inplace_overwrite) ... ok +test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_shifted_overwrite) ... ok +test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_range_one_off) ... ok +test_download_by_name_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_no_progress) ... ok +test_download_by_name_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_progress) ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(3, 9)) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=(3, 9)) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1', content_length=7, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=(3, 9)) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +created part to download: PartToDownload(Range(3, 4), Range(7, 8)) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpzijc8uu_/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +testCreateBucket (test.test_bucket.TestReauthorization.testCreateBucket) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) -calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +test_error_in_state (test.test_bucket.TestUploadPart.test_error_in_state) ... ok +Action: authorize-account, arguments: ['account-0', 'masterKey-0'] +// ======================================== 1.3.8 ======================================== \\ +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpnudwepsp/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2/sub1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +locale is ('en_US', 'UTF-8') +filesystem encoding is utf-8 +starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2/sub2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +Action: create-key, arguments: ['key1', 'listKeys'] +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) +// ======================================== 1.3.8 ======================================== \\ +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=False, max_entries=None, recursive=False, fetch_count=1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(5, 6), Range(9, 10)) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(7, 9), Range(11, 13)) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +locale is ('en_US', 'UTF-8') +test_failed_write_deletes_partial_file (test.test_download_dest.TestDownloadDestLocalFile.test_failed_write_deletes_partial_file) ... ok +Check that the file gets written and that its mod time gets set. ... ok +filesystem encoding is utf-8 +starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listKeys'] +calling B2Api.create_key(self=, capabilities=['listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] +// ======================================== 1.3.8 ======================================== \\ +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +locale is ('en_US', 'UTF-8') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +test_download_by_id_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_no_progress) ... ok +test_download_by_id_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_progress) ... ok +test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_exact_range) ... ok +test_download_by_id_progress_partial (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial) ... ok +test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_inplace_overwrite) ... ok +test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_shifted_overwrite) ... ok +test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_range_one_off) ... ok +test_download_by_name_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_no_progress) ... ok +test_download_by_name_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_progress) ... ok +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', content_sha1='sha1', file_info={}, mod_time_millis=1500222333000, range_=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) + retrieved a total of 3 bytes error when uploading, upload_url was https://upload.example.com/bucket_0/0 Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file @@ -1591,29 +1701,68 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', content_sha1='sha1', file_info={}, mod_time_millis=1500222333000, range_=None) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) -calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -Action: authorize-account, arguments: ['account-0', 'masterKey-0'] +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +filesystem encoding is utf-8 +starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys'], 'namePrefix': None, 'bucketName': None}) +ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability +calling StubAccountInfo.clear(self=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) +calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) +calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +Check that the file gets written and that its mod time gets set. ... ok +calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +Action: authorize-account, arguments: ['account-0', 'bad-app-key'] // ======================================== 1.3.8 ======================================== \\ -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +locale is ('en_US', 'UTF-8') +filesystem encoding is utf-8 +starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=(0, 11)) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=True, max_entries=None, recursive=False, fetch_count=1) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) error when uploading, upload_url was https://upload.example.com/bucket_0/0 Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file @@ -1622,8 +1771,8 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') error when uploading, upload_url was https://upload.example.com/bucket_0/1 Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file @@ -1637,11 +1786,41 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +ConsoleTool account authorization error +Traceback (most recent call last): + File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 258, in run + self.api.authorize_account(realm, args.accountId, args.applicationKey) + File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper + return function(*wrapee_args, **wrapee_kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/build/backblaze-b2-1.3.8/b2/api.py", line 126, in authorize_account + response = self.raw_api.authorize_account(realm_url, account_id_or_key_id, application_key) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 622, in authorize_account + raise InvalidAuthToken('secret key is wrong', 'unauthorized') +b2.exception.InvalidAuthToken: Invalid authorization token. Server said: secret key is wrong (unauthorized) +Action: authorize-account, arguments: ['account-0', 'masterKey-0'] +test_delete_file_version (test.test_bucket.TestLs.test_delete_file_version) ... ok +test_empty (test.test_bucket.TestLs.test_empty) ... ok +test_hidden_file (test.test_bucket.TestLs.test_hidden_file) ... ok +test_one_file_at_root (test.test_bucket.TestLs.test_one_file_at_root) ... ok +test_started_large_file (test.test_bucket.TestLs.test_started_large_file) ... ok +test_three_files_at_root (test.test_bucket.TestLs.test_three_files_at_root) ... ok +test_three_files_in_dir (test.test_bucket.TestLs.test_three_files_in_dir) ... ok +test_three_files_multiple_versions (test.test_bucket.TestLs.test_three_files_multiple_versions) ... ok +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +created part to download: PartToDownload(Range(0, 1), Range(0, 1)) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') error when uploading, upload_url was https://upload.example.com/bucket_0/2 Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file @@ -1660,24 +1839,33 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2/sub1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2/sub2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) -calling DownloadDestLocalFile.make_file_context(self=, file_id='file_id', file_name='file_name', content_length=100, content_type='content_type', file_info={}, mod_time_millis=1500222333000, range_=None) (hidden args: content_sha1) -calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +// ======================================== 1.3.8 ======================================== \\ +test_failed_write_deletes_partial_file (test.test_download_dest.TestPreSeekedDownloadDest.test_failed_write_deletes_partial_file) ... ok +Check that the file gets written and that its mod time gets set. ... ok +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +locale is ('en_US', 'UTF-8') +filesystem encoding is utf-8 +starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +Action: authorize-account, arguments: ['account-0', 'masterKey-0'] +// ======================================== 1.3.8 ======================================== \\ +platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +locale is ('en_US', 'UTF-8') +filesystem encoding is utf-8 +starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +test_plain_ascii (test.test_exception.TestB2Error.test_plain_ascii) ... ok +test_unicode (test.test_exception.TestB2Error.test_unicode) ... ok +Action: authorize-account, arguments: ['account-0', 'masterKey-0'] + retrieved a total of 2 bytes error when uploading, upload_url was https://upload.example.com/bucket_0/3 Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file @@ -1701,16 +1889,10 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +created part to download: PartToDownload(Range(2, 3), Range(2, 3)) +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +// ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') @@ -1744,350 +1926,147 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file raise self.upload_errors.pop(0) test.test_bucket.CanRetry: (None, None, None, None, None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=False, max_entries=None, recursive=False, fetch_count=1) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -Action: create-key, arguments: ['key1', 'listKeys'] -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -// ======================================== 1.3.8 ======================================== \\ -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listKeys'] -calling B2Api.create_key(self=, capabilities=['listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) -Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] -// ======================================== 1.3.8 ======================================== \\ -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys'], 'namePrefix': None, 'bucketName': None}) -ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability -calling StubAccountInfo.clear(self=) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -Action: authorize-account, arguments: ['account-0', 'bad-app-key'] -// ======================================== 1.3.8 ======================================== \\ -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=True, max_entries=None, recursive=False, fetch_count=1) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -ConsoleTool account authorization error -Traceback (most recent call last): - File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 258, in run - self.api.authorize_account(realm, args.accountId, args.applicationKey) - File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper - return function(*wrapee_args, **wrapee_kwargs) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/build/backblaze-b2-1.3.8/b2/api.py", line 126, in authorize_account - response = self.raw_api.authorize_account(realm_url, account_id_or_key_id, application_key) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 622, in authorize_account - raise InvalidAuthToken('secret key is wrong', 'unauthorized') -b2.exception.InvalidAuthToken: Invalid authorization token. Server said: secret key is wrong (unauthorized) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -// ======================================== 1.3.8 ======================================== \\ -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) + +WARNING: Unable to print unicode. Encoding for stdout is: '' +Trying to print: ('Using http://production.example.com',) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +test_already_failed_exception (test.test_exception.TestExceptions.test_already_failed_exception) ... ok +test_bad_upload_url_exception (test.test_exception.TestExceptions.test_bad_upload_url_exception) ... ok +test_command_error (test.test_exception.TestExceptions.test_command_error) ... ok + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(4, 5), Range(4, 5)) option optionFlag is properly recognized as OPTION_FLAGS option optionArg is properly recognized as OPTION_ARGS option list is properly recognized as LIST_ARGS option list is properly recognized as LIST_ARGS -option optionArg is recognized as OPTION_ARGS and there are no more arguments on arg_list to parse -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value1'}, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value1'}, min_part_size=None, progress_listener=) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) -test_account_info_same_object (test.test_account_info.TestInMemoryAccountInfo.test_account_info_same_object) ... ok -test_bucket (test.test_account_info.TestInMemoryAccountInfo.test_bucket) ... ok -test_clear (test.test_account_info.TestInMemoryAccountInfo.test_clear) ... ok -test_clear_bucket_upload_data (test.test_account_info.TestInMemoryAccountInfo.test_clear_bucket_upload_data) ... ok -test_clear_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_clear_large_file_upload_urls) ... ok -test_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_large_file_upload_urls) ... ok -test_refresh_bucket (test.test_account_info.TestInMemoryAccountInfo.test_refresh_bucket) ... ok -test_set_auth_data_compatibility (test.test_account_info.TestInMemoryAccountInfo.test_set_auth_data_compatibility) ... ok -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -test_clear (test.test_account_info.TestUploadUrlPool.test_clear) ... ok -test_put_and_take (test.test_account_info.TestUploadUrlPool.test_put_and_take) ... ok -test_take_empty (test.test_account_info.TestUploadUrlPool.test_take_empty) ... ok -option parser failed to consume this: ['badArg'] -option badFlag is of unknown type! -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value2'}, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value2'}, min_part_size=None, progress_listener=) -test_get_bucket_by_name_with_bucket_restriction (test.test_api.TestApi.test_get_bucket_by_name_with_bucket_restriction) ... ok -test_list_buckets (test.test_api.TestApi.test_list_buckets) ... ok -test_list_buckets_with_name (test.test_api.TestApi.test_list_buckets_with_name) ... ok -test_list_buckets_with_restriction (test.test_api.TestApi.test_list_buckets_with_restriction) ... ok -test_list_buckets_with_restriction_and_no_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_no_name) ... ok -test_list_buckets_with_restriction_and_wrong_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_wrong_name) ... ok -test_reauthorize_with_app_key (test.test_api.TestApi.test_reauthorize_with_app_key) ... ok -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={'property': 'value2'}) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -// ======================================== 1.3.8 ======================================== \\ -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -test_bad_format (test.test_b2http.TestClockSkewHook.test_bad_format) ... ok -test_bad_month (test.test_b2http.TestClockSkewHook.test_bad_month) ... ok -test_negative_skew (test.test_b2http.TestClockSkewHook.test_negative_skew) ... ok -test_no_skew (test.test_b2http.TestClockSkewHook.test_no_skew) ... ok -test_positive_skew (test.test_b2http.TestClockSkewHook.test_positive_skew) ... ok -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) - -WARNING: Unable to print unicode. Encoding for stdout is: '' -Trying to print: ('Using http://production.example.com',) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -test_callback (test.test_b2http.TestB2Http.test_callback) ... ok -test_get_content (test.test_b2http.TestB2Http.test_get_content) ... ok -test_post_json_return_json (test.test_b2http.TestB2Http.test_post_json_return_json) ... ok -test_account_info_persistence (test.test_account_info.TestSqliteAccountInfo.test_account_info_persistence) ... ok -test_account_info_same_object (test.test_account_info.TestSqliteAccountInfo.test_account_info_same_object) ... ok -test_bucket (test.test_account_info.TestSqliteAccountInfo.test_bucket) ... ok -test_clear (test.test_account_info.TestSqliteAccountInfo.test_clear) ... ok -test_clear_bucket_upload_data (test.test_account_info.TestSqliteAccountInfo.test_clear_bucket_upload_data) ... ok -test_clear_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_clear_large_file_upload_urls) ... ok -Tests converting from a JSON account info file, which is what version ... ok -Test that a corrupted file will be replaced with a blank file. ... ok -test_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_large_file_upload_urls) ... ok -test_refresh_bucket (test.test_account_info.TestSqliteAccountInfo.test_refresh_bucket) ... ok -test_set_auth_data_compatibility (test.test_account_info.TestSqliteAccountInfo.test_set_auth_data_compatibility) ... ok -The 'allowed' field should be the default for upgraded databases. ... ok -The 'account_id_or_app_key_id' field should default to the account id. ... ok -Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -// ======================================== 1.3.8 ======================================== \\ -platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -locale is ('en_US', 'UTF-8') -filesystem encoding is utf-8 -starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(6, 7), Range(6, 7)) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] -test_never_works (test.test_b2http.TestTranslateAndRetry.test_never_works) ... ok -test_non_retryable (test.test_b2http.TestTranslateAndRetry.test_non_retryable) ... ok -test_works_first_try (test.test_b2http.TestTranslateAndRetry.test_works_first_try) ... ok -test_works_second_try (test.test_b2http.TestTranslateAndRetry.test_works_second_try) ... ok -calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) // ======================================== 1.3.8 ======================================== \\ +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) Action: update-bucket, arguments: ['--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] option bucketInfo is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ +option optionArg is recognized as OPTION_ARGS and there are no more arguments on arg_list to parse +option parser failed to consume this: ['badArg'] +option badFlag is of unknown type! + retrieved a total of 2 bytes +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +created part to download: PartToDownload(Range(8, 10), Range(8, 10)) +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) + retrieved a total of 3 bytes +test_bad_json (test.test_exception.TestInterpretError.test_bad_json) ... ok +test_conflict (test.test_exception.TestInterpretError.test_conflict) ... ok +test_duplicate_bucket_name (test.test_exception.TestInterpretError.test_duplicate_bucket_name) ... ok +test_file_already_hidden (test.test_exception.TestInterpretError.test_file_already_hidden) ... ok +test_file_not_present (test.test_exception.TestInterpretError.test_file_not_present) ... ok +test_invalid_auth_token (test.test_exception.TestInterpretError.test_invalid_auth_token) ... ok +test_missing_part (test.test_exception.TestInterpretError.test_missing_part) ... ok +test_part_sha1_mismatch (test.test_exception.TestInterpretError.test_part_sha1_mismatch) ... ok +test_service_error (test.test_exception.TestInterpretError.test_service_error) ... ok +test_storage_cap_exceeded (test.test_exception.TestInterpretError.test_storage_cap_exceeded) ... ok +test_too_many_requests (test.test_exception.TestInterpretError.test_too_many_requests) ... ok +test_unauthorized (test.test_exception.TestInterpretError.test_unauthorized) ... ok +test_unknown_error (test.test_exception.TestInterpretError.test_unknown_error) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', '--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +test_all_there (test.test_parse_args.TestParseArgs.test_all_there) ... ok +test_no_args (test.test_parse_args.TestParseArgs.test_no_args) ... ok +test_no_optional (test.test_parse_args.TestParseArgs.test_no_optional) ... ok +test_option_defaults (test.test_parse_args.TestParseArgs.test_option_defaults) ... ok +test_optional_arg_missing_value (test.test_parse_args.TestParseArgs.test_optional_arg_missing_value) ... ok +test_optional_before (test.test_parse_args.TestParseArgs.test_optional_before) ... ok +test_same_arg_in_two_places (test.test_parse_args.TestParseArgs.test_same_arg_in_two_places) ... ok +test_unexpected_arg (test.test_parse_args.TestParseArgs.test_unexpected_arg) ... ok +test_unexpected_flag (test.test_parse_args.TestParseArgs.test_unexpected_flag) ... ok calling Bucket.update(self=Bucket, bucket_type='allPrivate', bucket_info={'color': 'blue'}, cors_rules=None, lifecycle_rules=None, if_revision_is=None) -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +test_large_read (test.test_progress.TestHashingStream.test_large_read) ... ok +test_no_argument (test.test_progress.TestHashingStream.test_no_argument) ... ok +test_no_argument_equal (test.test_progress.TestHashingStream.test_no_argument_equal) ... ok +test_no_argument_less (test.test_progress.TestHashingStream.test_no_argument_less) ... ok +test_no_argument_more (test.test_progress.TestHashingStream.test_no_argument_more) ... ok +test_one_by_one (test.test_progress.TestHashingStream.test_one_by_one) ... ok +test_seek_zero (test.test_progress.TestHashingStream.test_seek_zero) ... ok +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +created part to download: PartToDownload(Range(0, 1), Range(0, 1)) +Test a conforming and non-conforming filename for each rule. ... ok Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2095,20 +2074,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] -test_b2_error (test.test_b2http.TestTranslateErrors.test_b2_error) ... ok -test_broken_pipe (test.test_b2http.TestTranslateErrors.test_broken_pipe) ... ok -test_connection_error (test.test_b2http.TestTranslateErrors.test_connection_error) ... ok -test_connection_reset (test.test_b2http.TestTranslateErrors.test_connection_reset) ... ok -test_ok (test.test_b2http.TestTranslateErrors.test_ok) ... ok -test_partial_content (test.test_b2http.TestTranslateErrors.test_partial_content) ... ok -test_unknown_error (test.test_b2http.TestTranslateErrors.test_unknown_error) ... ok -test_unknown_host (test.test_b2http.TestTranslateErrors.test_unknown_host) ... ok -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) option bucket is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2116,92 +2083,84 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) -Action: delete-bucket, arguments: ['my-bucket'] +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) -calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +test_new_version_no_action (test.test_policy.TestMakeB2KeepDaysActions.test_new_version_no_action) ... ok +test_no_source_one_old_version_hides (test.test_policy.TestMakeB2KeepDaysActions.test_no_source_one_old_version_hides) ... ok +test_no_versions (test.test_policy.TestMakeB2KeepDaysActions.test_no_versions) ... ok +test_old_hide_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_hide_causes_delete) ... ok +test_old_upload_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_upload_causes_delete) ... ok +test_out_of_order_dates (test.test_policy.TestMakeB2KeepDaysActions.test_out_of_order_dates) ... ok +Action: delete-bucket, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.delete_bucket(self=, bucket=Bucket) -test_blocking (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_blocking) ... ok -test_no_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_no_exceptions) ... ok -test_return_future (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_return_future) ... ok -test_two_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_two_exceptions) ... ok -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.delete_bucket(self=, bucket=Bucket) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(2, 3), Range(2, 3)) Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ -test_download_by_id_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_no_progress) ... ok -test_download_by_id_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_progress) ... ok -test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_exact_range) ... ok -test_download_by_id_progress_partial (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial) ... ok -test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_inplace_overwrite) ... ok -test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_shifted_overwrite) ... ok -test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_range_one_off) ... ok -test_download_by_name_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_no_progress) ... ok -test_download_by_name_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_progress) ... ok platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +test_default (test.test_scan_policies.TestScanPolicies.test_default) ... ok +test_exclude_dir (test.test_scan_policies.TestScanPolicies.test_exclude_dir) ... ok +test_exclude_include (test.test_scan_policies.TestScanPolicies.test_exclude_include) ... ok +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': None}) ConsoleTool has bucket-restricted key and the bucket does not exist -calling StubAccountInfo.clear(self=) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source -determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source -testEmpty (test.test_bucket.TestListParts.testEmpty) ... ok -testThree (test.test_bucket.TestListParts.testThree) ... ok +calling StubAccountInfo.clear(self=) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(4, 5), Range(4, 5)) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(6, 7), Range(6, 7)) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination -determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination -determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on destination -File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False -determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) Action: create-bucket, arguments: ['bad/bucket/name', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 + retrieved a total of 2 bytes +created part to download: PartToDownload(Range(8, 10), Range(8, 10)) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'bad/bucket/name', 'allPublic'] -calling B2Api.create_bucket(self=, name='bad/bucket/name', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -test_empty (test.test_bucket.TestListUnfinished.test_empty) ... ok -test_one (test.test_bucket.TestListUnfinished.test_one) ... ok -test_three (test.test_bucket.TestListUnfinished.test_three) ... ok +calling B2Api.create_bucket(self=, name='bad/bucket/name', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -2222,123 +2181,157 @@ File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 660, in create_bucket raise BadJson('illegal bucket name: ' + bucket_name) b2.exception.BadJson: Bad request: illegal bucket name: bad/bucket/name +test_empty (test.test_sync.TestB2Folder.test_empty) ... ok +test_multiple_versions (test.test_sync.TestB2Folder.test_multiple_versions) ... ok +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) + retrieved a total of 3 bytes +determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination +test_download_by_id_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_no_progress) ... ok +test_download_by_id_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_progress) ... ok +test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_exact_range) ... ok +test_download_by_id_progress_partial (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial) ... ok +test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_inplace_overwrite) ... ok +test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_shifted_overwrite) ... ok +test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_range_one_off) ... ok +test_download_by_name_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_no_progress) ... ok +test_download_by_name_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_progress) ... ok Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -test_download_by_id_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_no_progress) ... ok -test_download_by_id_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_progress) ... ok -test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_exact_range) ... ok -test_download_by_id_progress_partial (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial) ... ok -test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_inplace_overwrite) ... ok -test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_shifted_overwrite) ... ok -test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_range_one_off) ... ok -test_download_by_name_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_no_progress) ... ok -test_download_by_name_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_progress) ... ok locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPrivate'] -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source +determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source +determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination +determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination Action: create-bucket, arguments: ['your-bucket', 'allPrivate'] -calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'your-bucket', 'allPrivate'] -calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) -calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: update-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on destination +File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False +determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', 'my-bucket', 'allPublic'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -testCreateBucket (test.test_bucket.TestReauthorization.testCreateBucket) ... ok +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.update(self=Bucket, bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None, if_revision_is=None) +determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source Action: list-buckets, arguments: [] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list_buckets'] -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value1'}, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value1'}, min_part_size=None, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source +determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source -Action: delete-bucket, arguments: ['your-bucket'] determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination +determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination +File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False +starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list_buckets'] +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +Action: delete-bucket, arguments: ['your-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -test_error_in_state (test.test_bucket.TestUploadPart.test_error_in_state) ... ok locale is ('en_US', 'UTF-8') -File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False filesystem encoding is utf-8 starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete_bucket', 'your-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='your-bucket') -calling B2Api.delete_bucket(self=, bucket=Bucket) +determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) +determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source +test_file_exclusions_inclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_inclusions_with_delete) ... ok +test_file_exclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_with_delete) ... ok +calling B2Api.check_bucket_restrictions(self=, bucket_name='your-bucket') +calling B2Api.delete_bucket(self=, bucket=Bucket) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -test_download_by_id_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_no_progress) ... ok -test_download_by_id_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_progress) ... ok -test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_exact_range) ... ok -test_download_by_id_progress_partial (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial) ... ok -test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_inplace_overwrite) ... ok -test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_shifted_overwrite) ... ok -test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_range_one_off) ... ok -test_download_by_name_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_no_progress) ... ok -test_download_by_name_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_progress) ... ok -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, content_sha1='none', file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=600, content_type=None, file_info={'property': 'value1'}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value2'}, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value2'}, min_part_size=None, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={'property': 'value2'}) +File a.txt: source size 10, dest size 10, diff 0, threshold 0, diff > threshold False +test_app_key_info_all_info (test.test_session.TestB2Session.test_app_key_info_all_info) ... ok +test_app_key_info_no_info (test.test_session.TestB2Session.test_app_key_info_no_info) ... ok +test_app_key_info_no_info_no_message (test.test_session.TestB2Session.test_app_key_info_no_info_no_message) ... ok +test_fails_second_time (test.test_session.TestB2Session.test_fails_second_time) ... ok +test_works_first_time (test.test_session.TestB2Session.test_works_first_time) ... ok +test_works_second_time (test.test_session.TestB2Session.test_works_second_time) ... ok calling Bucket.start_large_file(self=Bucket, file_name='file2', content_type='text/plain', file_info={}) Action: cancel-all-unfinished-large-files, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ @@ -2347,33 +2340,26 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CancelAllUnfinishedLargeFiles] with arguments: ['b2', 'cancel_all_unfinished_large_files', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'hide'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source -determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source -test_failed_write_deletes_partial_file (test.test_download_dest.TestDownloadDestLocalFile.test_failed_write_deletes_partial_file) ... ok -Check that the file gets written and that its mod time gets set. ... ok calling Bucket.cancel_large_file(self=Bucket, file_id='9999') -calling B2Api.cancel_large_file(self=, file_id='9999') -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True +calling B2Api.cancel_large_file(self=, file_id='9999') calling Bucket.cancel_large_file(self=Bucket, file_id='9998') -calling B2Api.cancel_large_file(self=, file_id='9998') -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.cancel_large_file(self=, file_id='9998') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpscutjsge/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 -determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source -determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -Check that the file gets written and that its mod time gets set. ... ok locale is ('en_US', 'UTF-8') +File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -2382,67 +2368,104 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: cancel-large-file, arguments: ['9999'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') +determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload'), FileVersion('id_a_200', 'folder/a.txt', 200, 'upload')]) is not present on source +determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'upload'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={'property': 'value2'}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +test_empty (test.test_sync.TestZipFolders.test_empty) ... ok +test_one_empty (test.test_sync.TestZipFolders.test_one_empty) ... ok +Check that the zip_folders() function passes the reporter through ... ok +test_two (test.test_sync.TestZipFolders.test_two) ... ok +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +determined that File(a.txt, [FileVersion('id_a_8553600000', 'folder/a.txt', 8553600000, 'upload'), FileVersion('id_a_8380800000', 'folder/a.txt', 8380800000, 'upload'), FileVersion('id_a_8208000000', 'folder/a.txt', 8208000000, 'upload')]) is not present on source filesystem encoding is utf-8 starting command [b2.console_tool.CancelLargeFile] with arguments: ['b2', 'cancel_large_file', '9999'] -calling B2Api.cancel_large_file(self=, file_id='9999') +calling B2Api.cancel_large_file(self=, file_id='9999') +determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) -calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) -calling DownloadDestBytes.capture_bytes_context(self=) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source +determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination +test_b2_double_slash (test.test_sync.TestParseSyncFolder.test_b2_double_slash) ... ok +test_b2_no_double_slash (test.test_sync.TestParseSyncFolder.test_b2_no_double_slash) ... ok +test_b2_no_folder (test.test_sync.TestParseSyncFolder.test_b2_no_folder) ... ok +test_b2_trailing_slash (test.test_sync.TestParseSyncFolder.test_b2_trailing_slash) ... ok +test_local (test.test_sync.TestParseSyncFolder.test_local) ... ok +test_local_trailing_slash (test.test_sync.TestParseSyncFolder.test_local_trailing_slash) ... ok +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: clear-account, arguments: [] -test_failed_write_deletes_partial_file (test.test_download_dest.TestPreSeekedDownloadDest.test_failed_write_deletes_partial_file) ... ok -Check that the file gets written and that its mod time gets set. ... ok -determined that File(a.txt, [FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'hide'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload'), FileVersion('id_a_8121600000', 'folder/a.txt', 8121600000, 'upload')]) is not present on source // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +test_it (test.test_utils.TestFormatAndScaleFraction.test_it) ... ok +could not output the following line with encoding on stdout due to 'codec' codec can't encode characters in position 100-104: artificial UnicodeEncodeError: count: 0 files compare: 0 files updated: 0 files 0 B 0 B/s locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 +determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination starting command [b2.console_tool.ClearAccount] with arguments: ['b2', 'clear-account'] -calling StubAccountInfo.clear(self=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling StubAccountInfo.clear(self=) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +Makes sure that the executor will run more jobs that the ... ok +Makes sure that no more than queue_limit workers are ... ok +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +test_bad_terminal (test.test_sync_report.TestSyncReport.test_bad_terminal) ... ok +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -test_plain_ascii (test.test_exception.TestB2Error.test_plain_ascii) ... ok -test_unicode (test.test_exception.TestB2Error.test_unicode) ... ok Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2450,17 +2473,27 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +test_it (test.test_utils.TestFormatAndScaleNumber.test_it) ... ok +test_it (test.test_utils.TestChooseParts.test_it) ... ok +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] option bucket is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 +test_it (test.test_utils.TestUrlEncoding.test_it) ... ok +File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.create_key(self=, capabilities=['listKeys', 'listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_key(self=, capabilities=['listKeys', 'listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2468,26 +2501,26 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listKeys', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket'}) -calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -test_already_failed_exception (test.test_exception.TestExceptions.test_already_failed_exception) ... ok -test_bad_upload_url_exception (test.test_exception.TestExceptions.test_bad_upload_url_exception) ... ok -test_command_error (test.test_exception.TestExceptions.test_command_error) ... ok -error when uploading, upload_url was https://upload.example.com/bucket_0/0 -Traceback (most recent call last): - File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file - response = self.api.raw_api.upload_file( - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file - raise self.upload_errors.pop(0) -test.test_bucket.CanRetry: (None, None, None, None, None) -calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True +determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source +test_broken_symlink (test.test_sync.TestLocalFolder.test_broken_symlink) ... ok +test_exclude_all (test.test_sync.TestLocalFolder.test_exclude_all) ... ok +test_exclude_directory (test.test_sync.TestLocalFolder.test_exclude_directory) ... ok +test_exclude_directory2 (test.test_sync.TestLocalFolder.test_exclude_directory2) ... ok +test_exclude_directory_trailing_slash_does_not_match (test.test_sync.TestLocalFolder.test_exclude_directory_trailing_slash_does_not_match) ... ok +test_exclude_matches_prefix (test.test_sync.TestLocalFolder.test_exclude_matches_prefix) ... ok +test_exclusion_with_exact_match (test.test_sync.TestLocalFolder.test_exclusion_with_exact_match) ... ok +test_exclusions (test.test_sync.TestLocalFolder.test_exclusions) ... ok +test_exclusions_inclusions (test.test_sync.TestLocalFolder.test_exclusions_inclusions) ... ok +test_invalid_permissions (test.test_sync.TestLocalFolder.test_invalid_permissions) ... SKIP: incorrect sbuild user access rights +test_slash_sorting (test.test_sync.TestLocalFolder.test_slash_sorting) ... ok Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2495,42 +2528,32 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -test_bad_json (test.test_exception.TestInterpretError.test_bad_json) ... ok -test_conflict (test.test_exception.TestInterpretError.test_conflict) ... ok -test_duplicate_bucket_name (test.test_exception.TestInterpretError.test_duplicate_bucket_name) ... ok -test_file_already_hidden (test.test_exception.TestInterpretError.test_file_already_hidden) ... ok -test_file_not_present (test.test_exception.TestInterpretError.test_file_not_present) ... ok -test_invalid_auth_token (test.test_exception.TestInterpretError.test_invalid_auth_token) ... ok -test_missing_part (test.test_exception.TestInterpretError.test_missing_part) ... ok -test_part_sha1_mismatch (test.test_exception.TestInterpretError.test_part_sha1_mismatch) ... ok -test_service_error (test.test_exception.TestInterpretError.test_service_error) ... ok -test_storage_cap_exceeded (test.test_exception.TestInterpretError.test_storage_cap_exceeded) ... ok -test_too_many_requests (test.test_exception.TestInterpretError.test_too_many_requests) ... ok -test_unauthorized (test.test_exception.TestInterpretError.test_unauthorized) ... ok -test_unknown_error (test.test_exception.TestInterpretError.test_unknown_error) ... ok -could not output the following line with encoding on stdout due to 'codec' codec can't encode characters in position 100-104: artificial UnicodeEncodeError: count: 0 files compare: 0 files updated: 0 files 0 B 0 B/s Action: create-key, arguments: ['key1', 'listBuckets,listKeys'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -File a.txt: source size 10, dest size 10, diff 0, threshold 0, diff > threshold False starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listBuckets,listKeys'] -calling B2Api.create_key(self=, capabilities=['listBuckets', 'listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['listBuckets', 'listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination +determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on destination Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets', 'listKeys'], 'namePrefix': None, 'bucketName': None}) +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2538,129 +2561,191 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -test_delete_file_version (test.test_bucket.TestLs.test_delete_file_version) ... ok -test_empty (test.test_bucket.TestLs.test_empty) ... ok -test_hidden_file (test.test_bucket.TestLs.test_hidden_file) ... ok -test_one_file_at_root (test.test_bucket.TestLs.test_one_file_at_root) ... ok -test_started_large_file (test.test_bucket.TestLs.test_started_large_file) ... ok -test_three_files_at_root (test.test_bucket.TestLs.test_three_files_at_root) ... ok -test_three_files_in_dir (test.test_bucket.TestLs.test_three_files_in_dir) ... ok -test_three_files_multiple_versions (test.test_bucket.TestLs.test_three_files_multiple_versions) ... ok -File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -test_all_there (test.test_parse_args.TestParseArgs.test_all_there) ... ok -test_no_args (test.test_parse_args.TestParseArgs.test_no_args) ... ok -test_no_optional (test.test_parse_args.TestParseArgs.test_no_optional) ... ok -test_option_defaults (test.test_parse_args.TestParseArgs.test_option_defaults) ... ok -test_optional_arg_missing_value (test.test_parse_args.TestParseArgs.test_optional_arg_missing_value) ... ok -test_optional_before (test.test_parse_args.TestParseArgs.test_optional_before) ... ok -test_same_arg_in_two_places (test.test_parse_args.TestParseArgs.test_same_arg_in_two_places) ... ok -test_unexpected_arg (test.test_parse_args.TestParseArgs.test_unexpected_arg) ... ok -test_unexpected_flag (test.test_parse_args.TestParseArgs.test_unexpected_flag) ... ok starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmpy9sjswst/file1.txt', 'file1.txt'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +File directory/a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmptqc6a1si/file1.txt', 'file1.txt'] option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmpy9sjswst/file1.txt', 'file1.txt'] -File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True -test_large_read (test.test_progress.TestHashingStream.test_large_read) ... ok -test_no_argument (test.test_progress.TestHashingStream.test_no_argument) ... ok -test_no_argument_equal (test.test_progress.TestHashingStream.test_no_argument_equal) ... ok -test_no_argument_less (test.test_progress.TestHashingStream.test_no_argument_less) ... ok -test_no_argument_more (test.test_progress.TestHashingStream.test_no_argument_more) ... ok -test_one_by_one (test.test_progress.TestHashingStream.test_one_by_one) ... ok -test_seek_zero (test.test_progress.TestHashingStream.test_seek_zero) ... ok -determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source -determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload'), FileVersion('id_a_200', 'folder/a.txt', 200, 'upload')]) is not present on source -calling B2Api.set_thread_pool_size(self=, max_workers=10) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpy9sjswst/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1500111222000'}, sha1_sum=None, min_part_size=None, progress_listener=) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1500111222000'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmptqc6a1si/file1.txt', 'file1.txt'] +calling B2Api.set_thread_pool_size(self=, max_workers=10) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmptqc6a1si/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1500111222000'}, sha1_sum=None, min_part_size=None, progress_listener=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1500111222000'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) Action: get-file-info, arguments: ['9999'] -determined that File(a.txt, [FileVersion('id_a_8640000000', 'folder/a.txt', 8640000000, 'upload'), FileVersion('id_a_8467200000', 'folder/a.txt', 8467200000, 'upload'), FileVersion('id_a_8294400000', 'folder/a.txt', 8294400000, 'upload')]) is not present on source // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetFileInfo] with arguments: ['b2', 'get_file_info', '9999'] -determined that File(a.txt, [FileVersion('id_a_8553600000', 'folder/a.txt', 8553600000, 'upload'), FileVersion('id_a_8380800000', 'folder/a.txt', 8380800000, 'upload'), FileVersion('id_a_8208000000', 'folder/a.txt', 8208000000, 'upload')]) is not present on source -Action: download-file-by-name, arguments: ['--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmpy9sjswst/download1.txt'] +File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +Action: download-file-by-name, arguments: ['--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmptqc6a1si/download1.txt'] +File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False +calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.DownloadFileByName] with arguments: ['b2', 'download_file_by_name', '--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmpy9sjswst/download1.txt'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.download_file_by_name(self=Bucket, file_name='file1.txt', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1.txt', download_dest=, progress_listener=, range_=None) -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) -test_new_version_no_action (test.test_policy.TestMakeB2KeepDaysActions.test_new_version_no_action) ... ok -test_no_source_one_old_version_hides (test.test_policy.TestMakeB2KeepDaysActions.test_no_source_one_old_version_hides) ... ok -test_no_versions (test.test_policy.TestMakeB2KeepDaysActions.test_no_versions) ... ok -test_old_hide_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_hide_causes_delete) ... ok -test_old_upload_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_upload_causes_delete) ... ok -test_out_of_order_dates (test.test_policy.TestMakeB2KeepDaysActions.test_out_of_order_dates) ... ok -Test a conforming and non-conforming filename for each rule. ... ok -Action: download-file-by-id, arguments: ['--noProgress', '9999', '/tmp/tmpy9sjswst/download2.txt'] +starting command [b2.console_tool.DownloadFileByName] with arguments: ['b2', 'download_file_by_name', '--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmptqc6a1si/download1.txt'] +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.download_file_by_name(self=Bucket, file_name='file1.txt', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1.txt', download_dest=, progress_listener=, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) +File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +Action: download-file-by-id, arguments: ['--noProgress', '9999', '/tmp/tmptqc6a1si/download2.txt'] option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.DownloadFileById] with arguments: ['b2', 'download_file_by_id', '--noProgress', '9999', '/tmp/tmpy9sjswst/download2.txt'] -calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) -calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) -determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source -determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source -calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) -calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) -calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) -calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) -calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) -calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) -test_default (test.test_scan_policies.TestScanPolicies.test_default) ... ok -test_exclude_dir (test.test_scan_policies.TestScanPolicies.test_exclude_dir) ... ok -test_exclude_include (test.test_scan_policies.TestScanPolicies.test_exclude_include) ... ok -calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +starting command [b2.console_tool.DownloadFileById] with arguments: ['b2', 'download_file_by_id', '--noProgress', '9999', '/tmp/tmptqc6a1si/download2.txt'] +calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/b2api/v2/b2_download_file_by_id?fileId=9999', download_dest=, progress_listener=, range_=None) +File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False +File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) +calling DownloadDestLocalFile.make_file_context(self=, file_id='9999', file_name='file1.txt', content_length=11, content_type='b2/x-auto', file_info={'src_last_modified_millis': '1500111222000'}, mod_time_millis=1500111222000, range_=None) (hidden args: content_sha1) +calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +test_already_hidden_multiple_versions_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_delete) ... ok +test_already_hidden_multiple_versions_keep (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep) ... ok +test_already_hidden_multiple_versions_keep_days (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days) ... ok +test_already_hidden_multiple_versions_keep_days_delete_hide_marker (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_delete_hide_marker) ... ok +test_already_hidden_multiple_versions_keep_days_old_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_old_delete) ... ok +test_already_hidden_multiple_versions_keep_days_one_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_one_old) ... ok +test_already_hidden_multiple_versions_keep_days_two_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_two_old) ... ok +test_compare_b2_none_newer (test.test_sync.TestMakeSyncActions.test_compare_b2_none_newer) ... ok +test_compare_b2_none_older (test.test_sync.TestMakeSyncActions.test_compare_b2_none_older) ... ok +test_compare_b2_size_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_equal) ... ok +test_compare_b2_size_not_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal) ... ok +test_compare_b2_size_not_equal_delete (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal_delete) ... ok +test_delete_b2 (test.test_sync.TestMakeSyncActions.test_delete_b2) ... ok +test_delete_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_b2_multiple_versions) ... ok +test_delete_hide_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions) ... ok +test_delete_hide_b2_multiple_versions_old (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions_old) ... ok +test_delete_large_b2 (test.test_sync.TestMakeSyncActions.test_delete_large_b2) ... ok +test_delete_local (test.test_sync.TestMakeSyncActions.test_delete_local) ... ok +test_dir_not_there_b2_delete (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_delete) ... ok +test_dir_not_there_b2_keepdays (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_keepdays) ... ok +test_empty_b2 (test.test_sync.TestMakeSyncActions.test_empty_b2) ... ok +test_empty_local (test.test_sync.TestMakeSyncActions.test_empty_local) ... ok +test_illegal_b2_to_b2 (test.test_sync.TestMakeSyncActions.test_illegal_b2_to_b2) ... ok +test_illegal_delete_and_keep_days (test.test_sync.TestMakeSyncActions.test_illegal_delete_and_keep_days) ... ok +test_illegal_local_to_local (test.test_sync.TestMakeSyncActions.test_illegal_local_to_local) ... ok +test_illegal_skip_and_replace (test.test_sync.TestMakeSyncActions.test_illegal_skip_and_replace) ... ok +test_keep_days_no_change_with_old_file (test.test_sync.TestMakeSyncActions.test_keep_days_no_change_with_old_file) ... ok +test_newer_b2 (test.test_sync.TestMakeSyncActions.test_newer_b2) ... ok +test_newer_b2_clean_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_clean_old_versions) ... ok +test_newer_b2_delete_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_delete_old_versions) ... ok +test_newer_local (test.test_sync.TestMakeSyncActions.test_newer_local) ... ok +test_no_delete_b2 (test.test_sync.TestMakeSyncActions.test_no_delete_b2) ... ok +test_no_delete_local (test.test_sync.TestMakeSyncActions.test_no_delete_local) ... ok +test_not_there_b2 (test.test_sync.TestMakeSyncActions.test_not_there_b2) ... ok +test_not_there_local (test.test_sync.TestMakeSyncActions.test_not_there_local) ... ok +test_older_b2 (test.test_sync.TestMakeSyncActions.test_older_b2) ... ok +test_older_b2_replace (test.test_sync.TestMakeSyncActions.test_older_b2_replace) ... ok +test_older_b2_replace_delete (test.test_sync.TestMakeSyncActions.test_older_b2_replace_delete) ... ok +test_older_b2_skip (test.test_sync.TestMakeSyncActions.test_older_b2_skip) ... ok +test_older_local (test.test_sync.TestMakeSyncActions.test_older_local) ... ok +test_older_local_replace (test.test_sync.TestMakeSyncActions.test_older_local_replace) ... ok +test_older_local_skip (test.test_sync.TestMakeSyncActions.test_older_local_skip) ... ok +test_same_b2 (test.test_sync.TestMakeSyncActions.test_same_b2) ... ok +test_same_clean_old_versions (test.test_sync.TestMakeSyncActions.test_same_clean_old_versions) ... ok +test_same_delete_old_versions (test.test_sync.TestMakeSyncActions.test_same_delete_old_versions) ... ok +test_same_leave_old_versions (test.test_sync.TestMakeSyncActions.test_same_leave_old_versions) ... ok +test_same_local (test.test_sync.TestMakeSyncActions.test_same_local) ... ok +calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') Action: hide-file, arguments: ['my-bucket', 'file1.txt'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'file1.txt'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='file1.txt') -test_empty (test.test_sync.TestB2Folder.test_empty) ... ok -test_multiple_versions (test.test_sync.TestB2Folder.test_multiple_versions) ... ok +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', content_sha1='none', file_info={}, mod_time_millis=5001, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9998', file_name='file1', content_length=600, content_type='b2/x-auto', file_info={}, mod_time_millis=5001, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) Action: list-file-versions, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2668,8 +2753,28 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListFileVersions] with arguments: ['b2', 'list_file_versions', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_file_versions(self=Bucket, start_filename=None, start_file_id=None, max_entries=None) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpb62_chfw/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) +calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) +calling DownloadDestProgressWrapper.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestProgressWrapper.write_file_and_report_progress_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', content_sha1='2aae6c35c94fcfb415dbe95f408b9ce91ee846ed', file_info={}, mod_time_millis=5000, range_=None) +calling DownloadDestBytes.make_file_context(self=, file_id='9999', file_name='file1', content_length=11, content_type='b2/x-auto', file_info={}, mod_time_millis=5000, range_=None) (hidden args: content_sha1) +calling DownloadDestBytes.capture_bytes_context(self=) +calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) +calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) +calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: list-file-names, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2677,23 +2782,46 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -test_app_key_info_all_info (test.test_session.TestB2Session.test_app_key_info_all_info) ... ok -test_app_key_info_no_info (test.test_session.TestB2Session.test_app_key_info_no_info) ... ok -test_app_key_info_no_info_no_message (test.test_session.TestB2Session.test_app_key_info_no_info_no_message) ... ok -test_fails_second_time (test.test_session.TestB2Session.test_fails_second_time) ... ok -test_works_first_time (test.test_session.TestB2Session.test_works_first_time) ... ok -test_works_second_time (test.test_session.TestB2Session.test_works_second_time) ... ok +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) Action: delete-file-version, arguments: ['file1.txt', '9998'] -determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 +calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +error when uploading, upload_url was https://upload.example.com/bucket_0/0 +Traceback (most recent call last): + File "/build/backblaze-b2-1.3.8/b2/bucket.py", line 413, in _upload_small_file + response = self.api.raw_api.upload_file( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/build/backblaze-b2-1.3.8/b2/raw_simulator.py", line 935, in upload_file + raise self.upload_errors.pop(0) +test.test_bucket.CanRetry: (None, None, None, None, None) +calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +test_upload_bytes (test.test_bucket.TestUpload.test_upload_bytes) ... ok +test_upload_bytes_progress (test.test_bucket.TestUpload.test_upload_bytes_progress) ... ok +test_upload_dead_symlink (test.test_bucket.TestUpload.test_upload_dead_symlink) ... ok +test_upload_fifo (test.test_bucket.TestUpload.test_upload_fifo) ... ok +test_upload_file_one_fatal_error (test.test_bucket.TestUpload.test_upload_file_one_fatal_error) ... ok +test_upload_file_too_many_retryable_errors (test.test_bucket.TestUpload.test_upload_file_too_many_retryable_errors) ... ok +test_upload_large (test.test_bucket.TestUpload.test_upload_large) ... ok +test_upload_large_resume (test.test_bucket.TestUpload.test_upload_large_resume) ... ok +test_upload_large_resume_all_parts_there (test.test_bucket.TestUpload.test_upload_large_resume_all_parts_there) ... ok +test_upload_large_resume_file_info (test.test_bucket.TestUpload.test_upload_large_resume_file_info) ... ok +test_upload_large_resume_file_info_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_file_info_does_not_match) ... ok +test_upload_large_resume_no_parts (test.test_bucket.TestUpload.test_upload_large_resume_no_parts) ... ok +test_upload_large_resume_part_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_part_does_not_match) ... ok +test_upload_large_resume_wrong_part_size (test.test_bucket.TestUpload.test_upload_large_resume_wrong_part_size) ... ok +test_upload_local_file (test.test_bucket.TestUpload.test_upload_local_file) ... ok +test_upload_one_retryable_error (test.test_bucket.TestUpload.test_upload_one_retryable_error) ... ok Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', 'file1.txt', '9998'] -calling B2Api.delete_file_version(self=, file_id='9998', file_name='file1.txt') +calling B2Api.delete_file_version(self=, file_id='9998', file_name='file1.txt') Action: delete-file-version, arguments: ['9999'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2701,11 +2829,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', '9999'] -calling B2Api.delete_file_version(self=, file_id='9999', file_name='file1.txt') -test_file_exclusions_inclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_inclusions_with_delete) ... ok -test_file_exclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_with_delete) ... ok -Makes sure that the executor will run more jobs that the ... ok -Makes sure that no more than queue_limit workers are ... ok +calling B2Api.delete_file_version(self=, file_id='9999', file_name='file1.txt') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2713,15 +2837,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -test_b2_double_slash (test.test_sync.TestParseSyncFolder.test_b2_double_slash) ... ok -test_b2_no_double_slash (test.test_sync.TestParseSyncFolder.test_b2_no_double_slash) ... ok -test_b2_no_folder (test.test_sync.TestParseSyncFolder.test_b2_no_folder) ... ok -test_b2_trailing_slash (test.test_sync.TestParseSyncFolder.test_b2_trailing_slash) ... ok -test_local (test.test_sync.TestParseSyncFolder.test_local) ... ok -test_local_trailing_slash (test.test_sync.TestParseSyncFolder.test_local_trailing_slash) ... ok Action: get-account-info, arguments: [] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2736,10 +2854,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) -test_bad_terminal (test.test_sync_report.TestSyncReport.test_bad_terminal) ... ok Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2747,23 +2864,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -test_upload_bytes (test.test_bucket.TestUpload.test_upload_bytes) ... ok -test_upload_bytes_progress (test.test_bucket.TestUpload.test_upload_bytes_progress) ... ok -test_upload_dead_symlink (test.test_bucket.TestUpload.test_upload_dead_symlink) ... ok -test_upload_fifo (test.test_bucket.TestUpload.test_upload_fifo) ... ok -test_upload_file_one_fatal_error (test.test_bucket.TestUpload.test_upload_file_one_fatal_error) ... ok -test_upload_file_too_many_retryable_errors (test.test_bucket.TestUpload.test_upload_file_too_many_retryable_errors) ... ok -test_upload_large (test.test_bucket.TestUpload.test_upload_large) ... ok -test_upload_large_resume (test.test_bucket.TestUpload.test_upload_large_resume) ... ok -test_upload_large_resume_all_parts_there (test.test_bucket.TestUpload.test_upload_large_resume_all_parts_there) ... ok -test_upload_large_resume_file_info (test.test_bucket.TestUpload.test_upload_large_resume_file_info) ... ok -test_upload_large_resume_file_info_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_file_info_does_not_match) ... ok -test_upload_large_resume_no_parts (test.test_bucket.TestUpload.test_upload_large_resume_no_parts) ... ok -test_upload_large_resume_part_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_part_does_not_match) ... ok -test_upload_large_resume_wrong_part_size (test.test_bucket.TestUpload.test_upload_large_resume_wrong_part_size) ... ok -test_upload_local_file (test.test_bucket.TestUpload.test_upload_local_file) ... ok -test_upload_one_retryable_error (test.test_bucket.TestUpload.test_upload_one_retryable_error) ... ok -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-bucket, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2771,123 +2872,94 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -test_it (test.test_utils.TestFormatAndScaleFraction.test_it) ... ok -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] -test_empty (test.test_sync.TestZipFolders.test_empty) ... ok -test_one_empty (test.test_sync.TestZipFolders.test_one_empty) ... ok -Check that the zip_folders() function passes the reporter through ... ok -test_two (test.test_sync.TestZipFolders.test_two) ... ok locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -test_it (test.test_utils.TestFormatAndScaleNumber.test_it) ... ok -File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -test_it (test.test_utils.TestChooseParts.test_it) ... ok -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -test_it (test.test_utils.TestUrlEncoding.test_it) ... ok -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -test_broken_symlink (test.test_sync.TestLocalFolder.test_broken_symlink) ... ok -test_exclude_all (test.test_sync.TestLocalFolder.test_exclude_all) ... ok -test_exclude_directory (test.test_sync.TestLocalFolder.test_exclude_directory) ... ok -test_exclude_directory2 (test.test_sync.TestLocalFolder.test_exclude_directory2) ... ok -test_exclude_directory_trailing_slash_does_not_match (test.test_sync.TestLocalFolder.test_exclude_directory_trailing_slash_does_not_match) ... ok -test_exclude_matches_prefix (test.test_sync.TestLocalFolder.test_exclude_matches_prefix) ... ok -test_exclusion_with_exact_match (test.test_sync.TestLocalFolder.test_exclusion_with_exact_match) ... ok -test_exclusions (test.test_sync.TestLocalFolder.test_exclusions) ... ok -test_exclusions_inclusions (test.test_sync.TestLocalFolder.test_exclusions_inclusions) ... ok -test_invalid_permissions (test.test_sync.TestLocalFolder.test_invalid_permissions) ... SKIP: incorrect sbuild user access rights -test_slash_sorting (test.test_sync.TestLocalFolder.test_slash_sorting) ... ok -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source -calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on destination -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: hide-file, arguments: ['my-bucket', '1/hidden1'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -2895,18 +2967,16 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') Action: hide-file, arguments: ['my-bucket', '1/hidden1'] // ======================================== 1.3.8 ======================================== \\ -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') Action: hide-file, arguments: ['my-bucket', '1/hidden2'] // ======================================== 1.3.8 ======================================== \\ @@ -2915,7 +2985,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden2'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/hidden2') Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] // ======================================== 1.3.8 ======================================== \\ @@ -2924,8 +2994,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] // ======================================== 1.3.8 ======================================== \\ @@ -2934,7 +3003,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] // ======================================== 1.3.8 ======================================== \\ @@ -2943,17 +3012,16 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] -File directory/a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS @@ -2963,10 +3031,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -2975,8 +3042,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -2985,7 +3052,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -2994,11 +3061,10 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) -File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3006,9 +3072,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3017,23 +3082,21 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmp9ec_g3pi/file1.txt', 'file1.txt'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmp5mavq76s/file1.txt', 'file1.txt'] option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmp9ec_g3pi/file1.txt', 'file1.txt'] -File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False -calling B2Api.set_thread_pool_size(self=, max_workers=10) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp9ec_g3pi/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1715725685937'}, sha1_sum=None, min_part_size=None, progress_listener=) -calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1715725685937'}, min_part_size=None, progress_listener=) -File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmp5mavq76s/file1.txt', 'file1.txt'] +calling B2Api.set_thread_pool_size(self=, max_workers=10) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp5mavq76s/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1681315629682'}, sha1_sum=None, min_part_size=None, progress_listener=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1681315629682'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -3042,9 +3105,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3053,9 +3116,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) -File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3064,116 +3126,68 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -test_already_hidden_multiple_versions_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_delete) ... ok -test_already_hidden_multiple_versions_keep (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep) ... ok -test_already_hidden_multiple_versions_keep_days (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days) ... ok -test_already_hidden_multiple_versions_keep_days_delete_hide_marker (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_delete_hide_marker) ... ok -test_already_hidden_multiple_versions_keep_days_old_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_old_delete) ... ok -test_already_hidden_multiple_versions_keep_days_one_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_one_old) ... ok -test_already_hidden_multiple_versions_keep_days_two_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_two_old) ... ok -test_compare_b2_none_newer (test.test_sync.TestMakeSyncActions.test_compare_b2_none_newer) ... ok -test_compare_b2_none_older (test.test_sync.TestMakeSyncActions.test_compare_b2_none_older) ... ok -test_compare_b2_size_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_equal) ... ok -test_compare_b2_size_not_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal) ... ok -test_compare_b2_size_not_equal_delete (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal_delete) ... ok -test_delete_b2 (test.test_sync.TestMakeSyncActions.test_delete_b2) ... ok -test_delete_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_b2_multiple_versions) ... ok -test_delete_hide_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions) ... ok -test_delete_hide_b2_multiple_versions_old (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions_old) ... ok -test_delete_large_b2 (test.test_sync.TestMakeSyncActions.test_delete_large_b2) ... ok -test_delete_local (test.test_sync.TestMakeSyncActions.test_delete_local) ... ok -test_dir_not_there_b2_delete (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_delete) ... ok -test_dir_not_there_b2_keepdays (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_keepdays) ... ok -test_empty_b2 (test.test_sync.TestMakeSyncActions.test_empty_b2) ... ok -test_empty_local (test.test_sync.TestMakeSyncActions.test_empty_local) ... ok -test_illegal_b2_to_b2 (test.test_sync.TestMakeSyncActions.test_illegal_b2_to_b2) ... ok -test_illegal_delete_and_keep_days (test.test_sync.TestMakeSyncActions.test_illegal_delete_and_keep_days) ... ok -test_illegal_local_to_local (test.test_sync.TestMakeSyncActions.test_illegal_local_to_local) ... ok -test_illegal_skip_and_replace (test.test_sync.TestMakeSyncActions.test_illegal_skip_and_replace) ... ok -test_keep_days_no_change_with_old_file (test.test_sync.TestMakeSyncActions.test_keep_days_no_change_with_old_file) ... ok -test_newer_b2 (test.test_sync.TestMakeSyncActions.test_newer_b2) ... ok -test_newer_b2_clean_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_clean_old_versions) ... ok -test_newer_b2_delete_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_delete_old_versions) ... ok -test_newer_local (test.test_sync.TestMakeSyncActions.test_newer_local) ... ok -test_no_delete_b2 (test.test_sync.TestMakeSyncActions.test_no_delete_b2) ... ok -test_no_delete_local (test.test_sync.TestMakeSyncActions.test_no_delete_local) ... ok -test_not_there_b2 (test.test_sync.TestMakeSyncActions.test_not_there_b2) ... ok -test_not_there_local (test.test_sync.TestMakeSyncActions.test_not_there_local) ... ok -test_older_b2 (test.test_sync.TestMakeSyncActions.test_older_b2) ... ok -test_older_b2_replace (test.test_sync.TestMakeSyncActions.test_older_b2_replace) ... ok -test_older_b2_replace_delete (test.test_sync.TestMakeSyncActions.test_older_b2_replace_delete) ... ok -test_older_b2_skip (test.test_sync.TestMakeSyncActions.test_older_b2_skip) ... ok -test_older_local (test.test_sync.TestMakeSyncActions.test_older_local) ... ok -test_older_local_replace (test.test_sync.TestMakeSyncActions.test_older_local_replace) ... ok -test_older_local_skip (test.test_sync.TestMakeSyncActions.test_older_local_skip) ... ok -test_same_b2 (test.test_sync.TestMakeSyncActions.test_same_b2) ... ok -test_same_clean_old_versions (test.test_sync.TestMakeSyncActions.test_same_clean_old_versions) ... ok -test_same_delete_old_versions (test.test_sync.TestMakeSyncActions.test_same_delete_old_versions) ... ok -test_same_leave_old_versions (test.test_sync.TestMakeSyncActions.test_same_leave_old_versions) ... ok -test_same_local (test.test_sync.TestMakeSyncActions.test_same_local) ... ok -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/9/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/9/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/9/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='1/2/3/4/5/6/7/8/9/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -3182,9 +3196,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3193,8 +3207,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3203,26 +3217,26 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload4', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload5', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='upload6', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload4', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload5', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='upload6', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: hide-file, arguments: ['my-bucket', 'hidden1'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3230,7 +3244,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden1'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='hidden1') Action: hide-file, arguments: ['my-bucket', 'hidden2'] // ======================================== 1.3.8 ======================================== \\ @@ -3239,7 +3253,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden2'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='hidden2') Action: hide-file, arguments: ['my-bucket', 'hidden3'] // ======================================== 1.3.8 ======================================== \\ @@ -3248,7 +3262,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden3'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='hidden3') Action: hide-file, arguments: ['my-bucket', 'hidden4'] // ======================================== 1.3.8 ======================================== \\ @@ -3257,7 +3271,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden4'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.hide_file(self=Bucket, file_name='hidden4') Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS @@ -3267,9 +3281,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3278,8 +3292,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3288,38 +3302,38 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: get-bucket, arguments: ['--showSize', 'my-bucket'] option showSize is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -3328,9 +3342,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3339,8 +3353,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3349,7 +3363,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-download-auth, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3357,7 +3371,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3365,8 +3379,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3375,7 +3389,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-download-auth, arguments: ['--prefix', 'prefix', '--duration', '12345', 'my-bucket'] option prefix is properly recognized as OPTION_ARGS option duration is properly recognized as OPTION_ARGS @@ -3385,7 +3399,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', '--prefix', 'prefix', '--duration', '12345', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3393,8 +3407,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3403,7 +3417,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', 'my-file'] option duration is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -3412,8 +3426,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', 'my-file'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3421,8 +3435,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3431,7 +3445,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', '自'] option duration is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -3440,8 +3454,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', '自'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') Action: list-parts, arguments: [] lack of required positional argument: largeFileId ConsoleTool 'args is None' - printing usage @@ -3452,8 +3466,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket-a', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3462,7 +3476,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-a', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket-a', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket-a', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-bucket, arguments: ['my-bucket-b', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3470,7 +3484,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-b', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket-b', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket-b', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-bucket, arguments: ['my-bucket-c', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3478,7 +3492,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-c', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket-c', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket-c', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['bad_key_name', 'readFiles,listBuckets'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3486,7 +3500,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'bad_key_name', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='bad_key_name', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='bad_key_name', valid_duration_seconds=None, bucket_id=None, name_prefix=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3515,7 +3529,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '-456', 'goodKeyName', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=-456, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=-456, bucket_id=None, name_prefix=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3544,7 +3558,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '0', 'goodKeyName', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=0, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=0, bucket_id=None, name_prefix=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3573,7 +3587,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '86400001', 'goodKeyName', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=86400001, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=86400001, bucket_id=None, name_prefix=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3601,7 +3615,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'goodKeyName-One', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) Action: create-key, arguments: ['--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] option bucket is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -3610,8 +3624,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Two', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Two', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) Action: create-key, arguments: ['--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] option bucket is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -3620,8 +3634,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Three', valid_duration_seconds=None, bucket_id='bucket_1', name_prefix=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Three', valid_duration_seconds=None, bucket_id='bucket_1', name_prefix=None) Action: delete-key, arguments: ['abc123'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3629,7 +3643,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.DeleteKey] with arguments: ['b2', 'delete_key', 'abc123'] -calling B2Api.delete_key(self=, application_key_id='abc123') +calling B2Api.delete_key(self=, application_key_id='abc123') Action: delete-bucket, arguments: ['my-bucket-b'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3637,8 +3651,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket-b'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') -calling B2Api.delete_bucket(self=, bucket=Bucket) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') +calling B2Api.delete_bucket(self=, bucket=Bucket) Action: list-keys, arguments: [] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3646,10 +3660,10 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys'] -calling B2Api.list_keys(self=, start_application_key_id=None) -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.list_keys(self=, start_application_key_id=None) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) Action: list-keys, arguments: ['--long'] option long is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -3658,13 +3672,13 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys', '--long'] -calling B2Api.list_keys(self=, start_application_key_id=None) -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.list_keys(self=, start_application_key_id=None) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3672,8 +3686,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': None}) Action: list-buckets, arguments: [] // ======================================== 1.3.8 ======================================== \\ @@ -3682,9 +3696,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) Action: get-bucket, arguments: ['my-bucket-a'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3692,9 +3706,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') Action: authorize-account, arguments: ['appKeyId1', 'appKey1'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3702,8 +3716,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket-a'}) Action: list-buckets, arguments: [] // ======================================== 1.3.8 ======================================== \\ @@ -3712,8 +3726,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] -calling B2Api.list_buckets(self=, bucket_name=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name=None) +calling B2Api.list_buckets(self=, bucket_name=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3740,8 +3754,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-c'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket-c') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') +calling B2Api.list_buckets(self=, bucket_name='my-bucket-c') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3768,9 +3782,9 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] -calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') Action: list-file-names, arguments: ['my-bucket-c'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3778,7 +3792,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list-file-names', 'my-bucket-c'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -3802,8 +3816,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ @@ -3812,7 +3826,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['my-key', 'listFiles'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3820,7 +3834,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'my-key', 'listFiles'] -calling B2Api.create_key(self=, capabilities=['listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id=None, name_prefix=None) Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3828,11 +3842,11 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listFiles'], 'namePrefix': None, 'bucketName': None}) ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability -calling StubAccountInfo.clear(self=) +calling StubAccountInfo.clear(self=) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3840,8 +3854,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3850,8 +3864,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) Action: list-parts, arguments: ['9999'] // ======================================== 1.3.8 ======================================== \\ @@ -3860,7 +3874,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3868,8 +3882,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3878,13 +3892,13 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) Action: list-parts, arguments: ['9999'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3892,7 +3906,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] -calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) +calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3900,8 +3914,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3910,7 +3924,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: list-unfinished-large-files, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3918,7 +3932,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3927,8 +3941,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3937,7 +3951,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: list-unfinished-large-files, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3945,7 +3959,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -3954,8 +3968,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -3964,7 +3978,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: ls, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3972,24 +3986,24 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: ls, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -3997,7 +4011,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) Action: ls, arguments: ['--recursive', 'my-bucket'] option recursive is properly recognized as OPTION_FLAGS @@ -4007,7 +4021,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--recursive', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=True, fetch_count=100) Action: ls, arguments: ['--long', 'my-bucket'] option long is properly recognized as OPTION_FLAGS @@ -4017,7 +4031,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) Action: ls, arguments: ['--long', '--versions', 'my-bucket'] option long is properly recognized as OPTION_FLAGS @@ -4028,7 +4042,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', '--versions', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -4037,8 +4051,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ @@ -4047,7 +4061,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] option bucket is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -4056,8 +4070,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4065,8 +4079,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': 'my-bucket'}) Action: ls, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ @@ -4075,10 +4089,10 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.list_buckets(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.list_buckets(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -4087,8 +4101,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['restrictedBucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ @@ -4097,7 +4111,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'restrictedBucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='restrictedBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='restrictedBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-bucket, arguments: ['otherBucket', 'allPrivate'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4105,7 +4119,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'otherBucket', 'allPrivate'] -calling B2Api.create_bucket(self=, name='otherBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='otherBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: create-key, arguments: ['--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] option bucket is properly recognized as OPTION_ARGS option namePrefix is properly recognized as OPTION_ARGS @@ -4115,8 +4129,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='restrictedBucket') -calling B2Api.create_key(self=, capabilities=['listBuckets', 'readFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix='some/file/prefix/') +calling B2Api.check_bucket_restrictions(self=, bucket_name='restrictedBucket') +calling B2Api.create_key(self=, capabilities=['listBuckets', 'readFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix='some/file/prefix/') Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4124,8 +4138,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'readFiles'], 'namePrefix': 'some/file/prefix/', 'bucketName': 'restrictedBucket'}) Action: create-key, arguments: ['goodKeyName-One', 'readFiles,listBuckets'] // ======================================== 1.3.8 ======================================== \\ @@ -4134,7 +4148,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'goodKeyName-One', 'readFiles,listBuckets'] -calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) +calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/session.py", line 39, in wrapper @@ -4171,8 +4185,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4181,8 +4195,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--threads', '5', '--noProgress', '/tmp/tmpna3l1n3g', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--threads', '5', '--noProgress', '/tmp/tmpr55819gh', 'b2://my-bucket'] option threads is properly recognized as OPTION_ARGS option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -4190,16 +4204,16 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '5', '--noProgress', '/tmp/tmpna3l1n3g', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=5) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmpna3l1n3g), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpna3l1n3g', 'threads': 5, 'verbose': False}), now_millis=1715725686636, stdout=.MyStringIO object at 0xffff913556c0>, no_progress=True, max_workers=5, policies_manager=, dry_run=False, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '5', '--noProgress', '/tmp/tmpr55819gh', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=5) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmpr55819gh), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpr55819gh', 'threads': 5, 'verbose': False}), now_millis=1681315630341, stdout=.MyStringIO object at 0xffff83fb35b0>, no_progress=True, max_workers=5, policies_manager=, dry_run=False, allow_empty_source=False) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) -determined that File(test.txt, [FileVersion('/tmp/tmpna3l1n3g/test.txt', 'test.txt', 1715725686629, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpna3l1n3g/test.txt, test.txt, 1715725686629) on bucket Bucket -calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1715725686629'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +determined that File(test.txt, [FileVersion('/tmp/tmpr55819gh/test.txt', 'test.txt', 1681315630334, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmpr55819gh/test.txt, test.txt, 1681315630334) on bucket Bucket +calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1681315630334'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4207,8 +4221,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4217,8 +4231,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmpw0zrzt_0', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmp3xlkmg0p', 'b2://my-bucket'] option threads is properly recognized as OPTION_ARGS option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -4226,21 +4240,21 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmpw0zrzt_0', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=1) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmpw0zrzt_0), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpw0zrzt_0', 'threads': 1, 'verbose': False}), now_millis=1715725686686, stdout=.MyStringIO object at 0xffff913555a0>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmp3xlkmg0p', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=1) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmp3xlkmg0p), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmp3xlkmg0p', 'threads': 1, 'verbose': False}), now_millis=1681315630367, stdout=.MyStringIO object at 0xffff83fb3880>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) -determined that File(alink, [FileVersion('/tmp/tmpw0zrzt_0/alink', 'alink', 1715725686677, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpw0zrzt_0/alink, alink, 1715725686677) on bucket Bucket -calling Bucket.upload(self=Bucket, upload_source=, file_name='alink', content_type=None, file_info={'src_last_modified_millis': '1715725686677'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) -determined that File(test.txt, [FileVersion('/tmp/tmpw0zrzt_0/test.txt', 'test.txt', 1715725686677, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpw0zrzt_0/test.txt, test.txt, 1715725686677) on bucket Bucket -calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1715725686677'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +determined that File(alink, [FileVersion('/tmp/tmp3xlkmg0p/alink', 'alink', 1681315630358, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmp3xlkmg0p/alink, alink, 1681315630358) on bucket Bucket +determined that File(test.txt, [FileVersion('/tmp/tmp3xlkmg0p/test.txt', 'test.txt', 1681315630358, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmp3xlkmg0p/test.txt, test.txt, 1681315630358) on bucket Bucket +calling Bucket.upload(self=Bucket, upload_source=, file_name='alink', content_type=None, file_info={'src_last_modified_millis': '1681315630358'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1681315630358'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4248,8 +4262,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4258,8 +4272,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--noProgress', '--dryRun', '/tmp/tmpvjo05piq', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--noProgress', '--dryRun', '/tmp/tmpfswf6tbq', 'b2://my-bucket'] option noProgress is properly recognized as OPTION_FLAGS option dryRun is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -4267,13 +4281,13 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '--dryRun', '/tmp/tmpvjo05piq', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=10) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmpvjo05piq), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': True, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpvjo05piq', 'threads': None, 'verbose': False}), now_millis=1715725686717, stdout=.MyStringIO object at 0xffff913556c0>, no_progress=True, max_workers=10, policies_manager=, dry_run=True, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '--dryRun', '/tmp/tmpfswf6tbq', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=10) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmpfswf6tbq), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': True, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpfswf6tbq', 'threads': None, 'verbose': False}), now_millis=1681315630408, stdout=.MyStringIO object at 0xffff83fb36d0>, no_progress=True, max_workers=10, policies_manager=, dry_run=True, allow_empty_source=False) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) -determined that File(test-dry-run.txt, [FileVersion('/tmp/tmpvjo05piq/test-dry-run.txt', 'test-dry-run.txt', 1715725686705, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpvjo05piq/test-dry-run.txt, test-dry-run.txt, 1715725686705) on bucket Bucket +determined that File(test-dry-run.txt, [FileVersion('/tmp/tmpfswf6tbq/test-dry-run.txt', 'test-dry-run.txt', 1681315630398, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmpfswf6tbq/test-dry-run.txt, test-dry-run.txt, 1681315630398) on bucket Bucket Action: list-file-names, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4281,25 +4295,25 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) -Action: sync, arguments: ['--noProgress', '/tmp/tmpvjo05piq', 'b2://my-bucket'] +Action: sync, arguments: ['--noProgress', '/tmp/tmpfswf6tbq', 'b2://my-bucket'] option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '/tmp/tmpvjo05piq', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=10) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmpvjo05piq), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpvjo05piq', 'threads': None, 'verbose': False}), now_millis=1715725686727, stdout=.MyStringIO object at 0xffff913556c0>, no_progress=True, max_workers=10, policies_manager=, dry_run=False, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '/tmp/tmpfswf6tbq', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=10) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmpfswf6tbq), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpfswf6tbq', 'threads': None, 'verbose': False}), now_millis=1681315630438, stdout=.MyStringIO object at 0xffff83fb36d0>, no_progress=True, max_workers=10, policies_manager=, dry_run=False, allow_empty_source=False) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) -determined that File(test-dry-run.txt, [FileVersion('/tmp/tmpvjo05piq/test-dry-run.txt', 'test-dry-run.txt', 1715725686705, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpvjo05piq/test-dry-run.txt, test-dry-run.txt, 1715725686705) on bucket Bucket -calling Bucket.upload(self=Bucket, upload_source=, file_name='test-dry-run.txt', content_type=None, file_info={'src_last_modified_millis': '1715725686705'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +determined that File(test-dry-run.txt, [FileVersion('/tmp/tmpfswf6tbq/test-dry-run.txt', 'test-dry-run.txt', 1681315630398, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmpfswf6tbq/test-dry-run.txt, test-dry-run.txt, 1681315630398) on bucket Bucket +calling Bucket.upload(self=Bucket, upload_source=, file_name='test-dry-run.txt', content_type=None, file_info={'src_last_modified_millis': '1681315630398'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: list-file-names, arguments: ['my-bucket'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4307,7 +4321,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -4316,8 +4330,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4326,8 +4340,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmp3qm2g89r', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpg2ot9s0d', 'b2://my-bucket'] option threads is properly recognized as OPTION_ARGS option noProgress is properly recognized as OPTION_FLAGS option allowEmptySource is properly recognized as OPTION_FLAGS @@ -4336,10 +4350,10 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmp3qm2g89r', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=1) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmp3qm2g89r), dest_folder=, args=Arguments({'allowEmptySource': True, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmp3qm2g89r', 'threads': 1, 'verbose': False}), now_millis=1715725686756, stdout=.MyStringIO object at 0xffff913556c0>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=True) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpg2ot9s0d', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=1) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmpg2ot9s0d), dest_folder=, args=Arguments({'allowEmptySource': True, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpg2ot9s0d', 'threads': 1, 'verbose': False}), now_millis=1681315630476, stdout=.MyStringIO object at 0xffff83fb3520>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=True) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ @@ -4348,8 +4362,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4358,8 +4372,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmp_v9r_820', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmp9mn22oxb', 'b2://my-bucket'] option threads is properly recognized as OPTION_ARGS option noProgress is properly recognized as OPTION_FLAGS // ======================================== 1.3.8 ======================================== \\ @@ -4367,10 +4381,10 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmp_v9r_820', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=1) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmp_v9r_820), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmp_v9r_820', 'threads': 1, 'verbose': False}), now_millis=1715725686778, stdout=.MyStringIO object at 0xffff913556c0>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmp9mn22oxb', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=1) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmp9mn22oxb), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': False, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmp9mn22oxb', 'threads': 1, 'verbose': False}), now_millis=1681315630499, stdout=.MyStringIO object at 0xffff83fb35b0>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) ConsoleTool command error Traceback (most recent call last): File "/build/backblaze-b2-1.3.8/b2/console_tool.py", line 1399, in run_command @@ -4385,7 +4399,7 @@ source_folder.ensure_non_empty() File "/build/backblaze-b2-1.3.8/b2/sync/folder.py", line 121, in ensure_non_empty raise CommandError( -b2.exception.CommandError: Directory /tmp/tmp_v9r_820 is empty. Use --allowEmptySource to sync anyway. +b2.exception.CommandError: Directory /tmp/tmp9mn22oxb is empty. Use --allowEmptySource to sync anyway. Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4393,8 +4407,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4403,8 +4417,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: sync, arguments: ['--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmpamgj77rv', 'b2://my-bucket'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: sync, arguments: ['--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmp4f1jsxab', 'b2://my-bucket'] option threads is properly recognized as OPTION_ARGS option noProgress is properly recognized as OPTION_FLAGS option excludeAllSymlinks is properly recognized as OPTION_FLAGS @@ -4413,16 +4427,16 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmpamgj77rv', 'b2://my-bucket'] -calling B2Api.set_thread_pool_size(self=, max_workers=1) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling sync_folders(source_folder=LocalFolder(/tmp/tmpamgj77rv), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': True, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmpamgj77rv', 'threads': 1, 'verbose': False}), now_millis=1715725686793, stdout=.MyStringIO object at 0xffff913555a0>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) +starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmp4f1jsxab', 'b2://my-bucket'] +calling B2Api.set_thread_pool_size(self=, max_workers=1) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling sync_folders(source_folder=LocalFolder(/tmp/tmp4f1jsxab), dest_folder=, args=Arguments({'allowEmptySource': False, 'compareThreshold': None, 'compareVersions': None, 'debugLogs': False, 'delete': False, 'destination': 'b2://my-bucket', 'dryRun': False, 'excludeAllSymlinks': True, 'excludeDirRegex': [], 'excludeRegex': [], 'includeRegex': [], 'keepDays': None, 'logConfig': None, 'noProgress': True, 'replaceNewer': False, 'skipNewer': False, 'source': '/tmp/tmp4f1jsxab', 'threads': 1, 'verbose': False}), now_millis=1681315630517, stdout=.MyStringIO object at 0xffff83fb3760>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) -determined that File(test.txt, [FileVersion('/tmp/tmpamgj77rv/test.txt', 'test.txt', 1715725686785, 'upload')]) is not present on destination -scheduling action b2_upload(/tmp/tmpamgj77rv/test.txt, test.txt, 1715725686785) on bucket Bucket -calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1715725686785'}, min_part_size=None, progress_listener=) -calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') -calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) +determined that File(test.txt, [FileVersion('/tmp/tmp4f1jsxab/test.txt', 'test.txt', 1681315630510, 'upload')]) is not present on destination +scheduling action b2_upload(/tmp/tmp4f1jsxab/test.txt, test.txt, 1681315630510) on bucket Bucket +calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1681315630510'}, min_part_size=None, progress_listener=) +calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') +calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) Action: authorize-account, arguments: ['account-0', 'masterKey-0'] // ======================================== 1.3.8 ======================================== \\ platform is Linux-4.15.0-208-generic-aarch64-with-glibc2.36 @@ -4430,8 +4444,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4440,7 +4454,7 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) Action: sync, arguments: ['--includeRegex', '.incl', 'non-existent-local-folder', 'b2://my-bucket'] option includeRegex is properly recognized as LIST_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -4457,8 +4471,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) -calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) -calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) +calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) +calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys', 'writeKeys', 'deleteKeys', 'listBuckets', 'writeBuckets', 'deleteBuckets', 'listFiles', 'readFiles', 'shareFiles', 'writeFiles', 'deleteFiles'], 'namePrefix': None, 'bucketName': None}) Action: create-bucket, arguments: ['my-bucket', 'allPublic'] // ======================================== 1.3.8 ======================================== \\ @@ -4467,8 +4481,8 @@ locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] -calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) -Action: upload-file, arguments: ['--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmplqrju2i6/test.txt', 'test.txt'] +calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) +Action: upload-file, arguments: ['--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmphd9culgm/test.txt', 'test.txt'] option noProgress is properly recognized as OPTION_FLAGS option threads is properly recognized as OPTION_ARGS // ======================================== 1.3.8 ======================================== \\ @@ -4476,19 +4490,19 @@ Python version is CPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] locale is ('en_US', 'UTF-8') filesystem encoding is utf-8 -starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmplqrju2i6/test.txt', 'test.txt'] -calling B2Api.set_thread_pool_size(self=, max_workers=5) -calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') -calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmplqrju2i6/test.txt', file_name='test.txt', content_type=None, file_infos={'src_last_modified_millis': '1715725686829'}, sha1_sum=None, min_part_size=None, progress_listener=) -calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1715725686829'}, min_part_size=None, progress_listener=) +starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmphd9culgm/test.txt', 'test.txt'] +calling B2Api.set_thread_pool_size(self=, max_workers=5) +calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') +calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmphd9culgm/test.txt', file_name='test.txt', content_type=None, file_infos={'src_last_modified_millis': '1681315630550'}, sha1_sum=None, min_part_size=None, progress_listener=) +calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1681315630550'}, min_part_size=None, progress_listener=) calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) -calling Bucket.start_large_file(self=Bucket, file_name='test.txt', content_type='b2/x-auto', file_info={'src_last_modified_millis': '1715725686829'}) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) -calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') -calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling Bucket.start_large_file(self=Bucket, file_name='test.txt', content_type='b2/x-auto', file_info={'src_last_modified_millis': '1681315630550'}) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) +calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') +calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) test_authorize_key_without_list_buckets (test.test_console_tool.TestConsoleTool.test_authorize_key_without_list_buckets) ... ok test_authorize_with_bad_key (test.test_console_tool.TestConsoleTool.test_authorize_with_bad_key) ... ok test_authorize_with_good_key_using_hyphen (test.test_console_tool.TestConsoleTool.test_authorize_with_good_key_using_hyphen) ... ok @@ -4535,7 +4549,7 @@ test_upload_large_file (test.test_console_tool.TestConsoleTool.test_upload_large_file) ... ok ---------------------------------------------------------------------- -Ran 291 tests in 3.940s +Ran 291 tests in 4.011s OK (SKIP=1) make[1]: Leaving directory '/build/backblaze-b2-1.3.8' @@ -4696,12 +4710,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2676/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/25480 and its subdirectories -I: Current time: Tue May 14 10:28:23 -12 2024 -I: pbuilder-time-stamp: 1715725703 +I: removing directory /srv/workspace/pbuilder/2676 and its subdirectories +I: Current time: Thu Apr 13 06:07:28 +14 2023 +I: pbuilder-time-stamp: 1681315648