0s autopkgtest [21:23:13]: starting date and time: 2024-07-13 21:23:13+0000 0s autopkgtest [21:23:13]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [21:23:13]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8v630ga_/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:setuptools --apt-upgrade backblaze-b2 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=setuptools/70.3.0-2 -- lxd -r lxd-armhf-10.145.243.141 lxd-armhf-10.145.243.141:autopkgtest/ubuntu/oracular/armhf 58s autopkgtest [21:24:11]: testbed dpkg architecture: armhf 60s autopkgtest [21:24:13]: testbed apt version: 2.9.6 60s autopkgtest [21:24:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 68s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 69s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [3304 B] 69s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [49.8 kB] 69s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 69s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [399 kB] 69s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [76.7 kB] 69s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf c-n-f Metadata [1428 B] 69s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1368 B] 69s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf c-n-f Metadata [120 B] 69s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [387 kB] 69s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf c-n-f Metadata [6916 B] 69s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1784 B] 69s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf c-n-f Metadata [120 B] 71s Fetched 1062 kB in 1s (1112 kB/s) 71s Reading package lists... 97s tee: /proc/self/fd/2: Permission denied 122s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 122s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 122s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 124s Reading package lists... 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 126s Calculating upgrade... 126s The following packages will be upgraded: 126s libelf1t64 python3-pkg-resources python3-setuptools ubuntu-pro-client 126s ubuntu-pro-client-l10n 127s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Need to get 917 kB of archives. 127s After this operation, 465 kB of additional disk space will be used. 127s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf libelf1t64 armhf 0.191-2 [50.0 kB] 127s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf python3-setuptools all 70.3.0-2 [429 kB] 128s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf python3-pkg-resources all 70.3.0-2 [187 kB] 128s Get:4 http://ftpmaster.internal/ubuntu oracular/main armhf ubuntu-pro-client-l10n armhf 33.1 [19.2 kB] 128s Get:5 http://ftpmaster.internal/ubuntu oracular/main armhf ubuntu-pro-client armhf 33.1 [232 kB] 130s Fetched 917 kB in 1s (824 kB/s) 130s (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 ... 58436 files and directories currently installed.) 130s Preparing to unpack .../libelf1t64_0.191-2_armhf.deb ... 130s Unpacking libelf1t64:armhf (0.191-2) over (0.191-1) ... 131s Preparing to unpack .../python3-setuptools_70.3.0-2_all.deb ... 131s Unpacking python3-setuptools (70.3.0-2) over (68.1.2-2ubuntu1) ... 131s Preparing to unpack .../python3-pkg-resources_70.3.0-2_all.deb ... 131s Unpacking python3-pkg-resources (70.3.0-2) over (68.1.2-2ubuntu1) ... 132s Preparing to unpack .../ubuntu-pro-client-l10n_33.1_armhf.deb ... 132s Unpacking ubuntu-pro-client-l10n (33.1) over (33) ... 132s Preparing to unpack .../ubuntu-pro-client_33.1_armhf.deb ... 132s Unpacking ubuntu-pro-client (33.1) over (33) ... 132s Setting up python3-pkg-resources (70.3.0-2) ... 133s Setting up python3-setuptools (70.3.0-2) ... 134s Setting up libelf1t64:armhf (0.191-2) ... 134s Setting up ubuntu-pro-client (33.1) ... 134s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 134s 134s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 134s 134s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 134s 137s Setting up ubuntu-pro-client-l10n (33.1) ... 137s Processing triggers for man-db (2.12.1-2) ... 138s Processing triggers for libc-bin (2.39-0ubuntu9) ... 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s autopkgtest [21:25:37]: rebooting testbed after setup commands that affected boot 229s autopkgtest [21:27:02]: testbed running kernel: Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 11:19:33 UTC 2 261s autopkgtest [21:27:34]: @@@@@@@@@@@@@@@@@@@@ apt-source backblaze-b2 274s Get:1 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (dsc) [2346 B] 274s Get:2 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (tar) [139 kB] 274s Get:3 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (diff) [81.2 kB] 275s gpgv: Signature made Tue Dec 6 18:54:13 2022 UTC 275s gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 275s gpgv: Can't check signature: No public key 275s dpkg-source: warning: cannot verify inline signature for ./backblaze-b2_1.3.8-6.dsc: no acceptable signature found 275s autopkgtest [21:27:48]: testing package backblaze-b2 version 1.3.8-6 278s autopkgtest [21:27:51]: build not needed 280s autopkgtest [21:27:53]: test command1: preparing testbed 291s Reading package lists... 291s Building dependency tree... 292s Reading state information... 292s Starting pkgProblemResolver with broken count: 0 292s Starting 2 pkgProblemResolver with broken count: 0 292s Done 294s The following additional packages will be installed: 294s backblaze-b2 python3-all python3-arrow python3-dateutil 294s python3-importlib-metadata python3-logfury python3-mock python3-nose 294s python3-platformdirs python3-pyflakes python3-tomli python3-tqdm 294s python3-yapf python3-zipp python3-zombie-imp yapf3 294s Suggested packages: 294s python-arrow-doc python-mock-doc python-nose-doc 294s Recommended packages: 294s pyflakes3 294s The following NEW packages will be installed: 294s autopkgtest-satdep backblaze-b2 python3-all python3-arrow python3-dateutil 294s python3-importlib-metadata python3-logfury python3-mock python3-nose 294s python3-platformdirs python3-pyflakes python3-tomli python3-tqdm 294s python3-yapf python3-zipp python3-zombie-imp yapf3 294s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 294s Need to get 801 kB/802 kB of archives. 294s After this operation, 4272 kB of additional disk space will be used. 294s Get:1 /tmp/autopkgtest.Evawbg/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [752 B] 294s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf python3-dateutil all 2.9.0-2 [80.3 kB] 294s Get:3 http://ftpmaster.internal/ubuntu oracular/main armhf python3-arrow all 1.2.3-1 [55.7 kB] 294s Get:4 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-logfury all 1.0.1-1 [7988 B] 294s Get:5 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-tqdm all 4.66.4-1 [91.3 kB] 294s Get:6 http://ftpmaster.internal/ubuntu oracular/universe armhf backblaze-b2 all 1.3.8-6 [74.4 kB] 294s Get:7 http://ftpmaster.internal/ubuntu oracular/main armhf python3-all armhf 3.12.3-0ubuntu1 [886 B] 294s Get:8 http://ftpmaster.internal/ubuntu oracular/main armhf python3-zipp all 3.19.2-2 [10.2 kB] 294s Get:9 http://ftpmaster.internal/ubuntu oracular/main armhf python3-importlib-metadata all 8.0.0-2 [19.4 kB] 294s Get:10 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-zombie-imp all 0.0.2-2 [11.9 kB] 294s Get:11 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-nose all 1.3.7-12 [117 kB] 294s Get:12 http://ftpmaster.internal/ubuntu oracular/main armhf python3-platformdirs all 4.2.1-1 [16.3 kB] 294s Get:13 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pyflakes all 3.2.0-1 [52.8 kB] 294s Get:14 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-tomli all 2.0.1-2 [16.5 kB] 294s Get:15 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-yapf all 0.40.2-1 [166 kB] 294s Get:16 http://ftpmaster.internal/ubuntu oracular/universe armhf yapf3 all 0.40.2-1 [16.7 kB] 294s Get:17 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mock all 5.1.0-1 [64.1 kB] 295s Fetched 801 kB in 1s (1252 kB/s) 295s Selecting previously unselected package python3-dateutil. 295s (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 ... 58496 files and directories currently installed.) 295s Preparing to unpack .../00-python3-dateutil_2.9.0-2_all.deb ... 295s Unpacking python3-dateutil (2.9.0-2) ... 295s Selecting previously unselected package python3-arrow. 295s Preparing to unpack .../01-python3-arrow_1.2.3-1_all.deb ... 295s Unpacking python3-arrow (1.2.3-1) ... 295s Selecting previously unselected package python3-logfury. 295s Preparing to unpack .../02-python3-logfury_1.0.1-1_all.deb ... 295s Unpacking python3-logfury (1.0.1-1) ... 295s Selecting previously unselected package python3-tqdm. 295s Preparing to unpack .../03-python3-tqdm_4.66.4-1_all.deb ... 295s Unpacking python3-tqdm (4.66.4-1) ... 295s Selecting previously unselected package backblaze-b2. 295s Preparing to unpack .../04-backblaze-b2_1.3.8-6_all.deb ... 295s Unpacking backblaze-b2 (1.3.8-6) ... 295s Selecting previously unselected package python3-all. 295s Preparing to unpack .../05-python3-all_3.12.3-0ubuntu1_armhf.deb ... 295s Unpacking python3-all (3.12.3-0ubuntu1) ... 295s Selecting previously unselected package python3-zipp. 295s Preparing to unpack .../06-python3-zipp_3.19.2-2_all.deb ... 295s Unpacking python3-zipp (3.19.2-2) ... 295s Selecting previously unselected package python3-importlib-metadata. 295s Preparing to unpack .../07-python3-importlib-metadata_8.0.0-2_all.deb ... 295s Unpacking python3-importlib-metadata (8.0.0-2) ... 296s Selecting previously unselected package python3-zombie-imp. 296s Preparing to unpack .../08-python3-zombie-imp_0.0.2-2_all.deb ... 296s Unpacking python3-zombie-imp (0.0.2-2) ... 296s Selecting previously unselected package python3-nose. 296s Preparing to unpack .../09-python3-nose_1.3.7-12_all.deb ... 296s Unpacking python3-nose (1.3.7-12) ... 296s Selecting previously unselected package python3-platformdirs. 296s Preparing to unpack .../10-python3-platformdirs_4.2.1-1_all.deb ... 296s Unpacking python3-platformdirs (4.2.1-1) ... 296s Selecting previously unselected package python3-pyflakes. 296s Preparing to unpack .../11-python3-pyflakes_3.2.0-1_all.deb ... 296s Unpacking python3-pyflakes (3.2.0-1) ... 296s Selecting previously unselected package python3-tomli. 296s Preparing to unpack .../12-python3-tomli_2.0.1-2_all.deb ... 296s Unpacking python3-tomli (2.0.1-2) ... 296s Selecting previously unselected package python3-yapf. 296s Preparing to unpack .../13-python3-yapf_0.40.2-1_all.deb ... 296s Unpacking python3-yapf (0.40.2-1) ... 296s Selecting previously unselected package yapf3. 296s Preparing to unpack .../14-yapf3_0.40.2-1_all.deb ... 296s Unpacking yapf3 (0.40.2-1) ... 296s Selecting previously unselected package python3-mock. 296s Preparing to unpack .../15-python3-mock_5.1.0-1_all.deb ... 296s Unpacking python3-mock (5.1.0-1) ... 296s Selecting previously unselected package autopkgtest-satdep. 296s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 296s Unpacking autopkgtest-satdep (0) ... 296s Setting up python3-zombie-imp (0.0.2-2) ... 296s Setting up python3-tomli (2.0.1-2) ... 297s Setting up python3-tqdm (4.66.4-1) ... 297s Setting up python3-pyflakes (3.2.0-1) ... 297s Setting up python3-all (3.12.3-0ubuntu1) ... 297s Setting up python3-zipp (3.19.2-2) ... 297s Setting up python3-nose (1.3.7-12) ... 297s /usr/lib/python3/dist-packages/nose/config.py:142: SyntaxWarning: invalid escape sequence '\.' 297s """nose configuration. 298s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:686: SyntaxWarning: invalid escape sequence '\S' 298s _INDENT_RE = re.compile('^([ ]*)(?=\S)', re.MULTILINE) 298s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1021: SyntaxWarning: invalid escape sequence '\s' 298s pat = re.compile('(^|.*:)\s*\w*("|\')') 298s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1430: SyntaxWarning: invalid escape sequence '\s' 298s want = re.sub('(?m)^%s\s*?$' % re.escape(BLANKLINE_MARKER), 298s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1434: SyntaxWarning: invalid escape sequence '\s' 298s got = re.sub('(?m)^\s*?$', '', got) 298s /usr/lib/python3/dist-packages/nose/inspector.py:110: SyntaxWarning: invalid escape sequence '\ ' 298s """Find lines in home that are inspectable. 298s Setting up python3-platformdirs (4.2.1-1) ... 298s Setting up python3-mock (5.1.0-1) ... 298s Setting up python3-logfury (1.0.1-1) ... 298s Setting up python3-dateutil (2.9.0-2) ... 299s Setting up python3-importlib-metadata (8.0.0-2) ... 299s Setting up python3-arrow (1.2.3-1) ... 299s Setting up backblaze-b2 (1.3.8-6) ... 300s /usr/lib/python3/dist-packages/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 300s """ 300s /usr/lib/python3/dist-packages/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 300s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 300s Setting up python3-yapf (0.40.2-1) ... 300s Setting up yapf3 (0.40.2-1) ... 300s Setting up autopkgtest-satdep (0) ... 300s Processing triggers for man-db (2.12.1-2) ... 317s (Reading database ... 58999 files and directories currently installed.) 317s Removing autopkgtest-satdep (0) ... 328s autopkgtest [21:28:41]: test command1: set -e; for py in $(py3versions -i); do echo "[*] testing on $py:"; $py setup.py nosetests 2>&1; done 328s autopkgtest [21:28:41]: test command1: [----------------------- 331s [*] testing on python3.12: 332s running nosetests 332s running egg_info 332s creating b2.egg-info 332s writing b2.egg-info/PKG-INFO 332s writing dependency_links to b2.egg-info/dependency_links.txt 332s writing entry points to b2.egg-info/entry_points.txt 332s writing requirements to b2.egg-info/requires.txt 332s writing top-level names to b2.egg-info/top_level.txt 332s writing manifest file 'b2.egg-info/SOURCES.txt' 332s reading manifest file 'b2.egg-info/SOURCES.txt' 332s reading manifest template 'MANIFEST.in' 332s adding license file 'LICENSE' 332s writing manifest file 'b2.egg-info/SOURCES.txt' 332s /usr/lib/python3/dist-packages/nose/commands.py:143: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 332s !! 332s 332s ******************************************************************************** 332s Requirements should be satisfied by a PEP 517 installer. 332s If you are using pip, you can try `pip install --use-pep517`. 332s ******************************************************************************** 332s 332s !! 332s self.distribution.fetch_build_eggs( 332s WARNING: The wheel package is not available. 332s /usr/lib/python3/dist-packages/nose/commands.py:146: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 332s !! 332s 332s ******************************************************************************** 332s Requirements should be satisfied by a PEP 517 installer. 332s If you are using pip, you can try `pip install --use-pep517`. 332s ******************************************************************************** 332s 332s !! 332s self.distribution.fetch_build_eggs( 332s WARNING: The wheel package is not available. 332s /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. 332s warn("Use of multiple -w arguments is deprecated and " 333s /tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 333s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 333s /tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 333s """ 333s 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) 333s 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}) 333s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 333s warnings.warn("TestResult has no addDuration method", 333s calling InMemoryAccountInfo.save_bucket(self=, bucket=) 333s calling InMemoryAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') 333s 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) 333s 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}) 333s calling InMemoryAccountInfo.clear(self=) 333s calling UrlPoolAccountInfo.clear(self=) 333s calling AbstractAccountInfo.clear(self=) 333s calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') 333s calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') 333s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s calling InMemoryAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) 333s 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) 333s 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}) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 333s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 333s warnings.warn("TestResult has no addDuration method", 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.list_buckets(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.list_buckets(self=, bucket_name=None) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.list_buckets(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 333s calling B2Api.list_buckets(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 333s calling B2Api.list_buckets(self=, bucket_name=None) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 333s calling B2Api.list_buckets(self=, bucket_name='bucket2') 333s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket2') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) 333s calling B2Api.list_buckets(self=, bucket_name=None) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 333s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 333s calling B2Api.authorize_automatically(self=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) 333s server returned date in an inappropriate format 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/b2http.py", line 184, in post_request 333s server_time = arrow.get( 333s ^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/api.py", line 91, in get 333s return _factory.get(*args, **kwargs) 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/factory.py", line 295, in get 333s dt = parser.DateTimeParser(locale).parse( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse 333s raise ParserMatchError( 333s arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'bad format'. 333s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 333s warnings.warn("TestResult has no addDuration method", 333s server returned date in an inappropriate format 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/b2http.py", line 184, in post_request 333s server_time = arrow.get( 333s ^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/api.py", line 91, in get 333s return _factory.get(*args, **kwargs) 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/factory.py", line 295, in get 333s dt = parser.DateTimeParser(locale).parse( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse 333s raise ParserMatchError( 333s arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'Fri, 16 XXX 2016 20:52:30 GMT'. 333s 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) 333s 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}) 333s 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}) 333s 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) 333s 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}) 333s 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}) 333s calling SqliteAccountInfo.save_bucket(self=, bucket=) 333s calling SqliteAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') 333s 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) 333s 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}) 333s 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}) 333s calling SqliteAccountInfo.clear(self=) 333s _get_account_info_or_raise encountered a problem while trying to retrieve "account_id" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "account_auth_token" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "api_url" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "application_key" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "download_url" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "realm" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s _get_account_info_or_raise encountered a problem while trying to retrieve "minimum_part_size" 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 333s value = cursor.fetchone()[0] 333s ~~~~~~~~~~~~~~~~~^^^ 333s TypeError: 'NoneType' object is not subscriptable 333s calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') 333s calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') 333s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 333s warnings.warn("TestResult has no addDuration method", 333s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s _translate_errors has intercepted an unexpected exception 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/b2http.py", line 50, in _translate_errors 333s response = fcn() 333s ^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/test/test_b2http.py", line 89, in fcn 333s raise Exception('a message') 333s Exception: a message 333s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling SqliteAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s 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) 333s 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}) 333s 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}) 333s 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) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 333s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 333s 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') 333s 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') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s 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) 333s 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) 333s 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) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s 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) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 333s 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) 333s 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) 333s 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) 333s 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) 333s 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) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s 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) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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}) 333s 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)) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s 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) 333s retrieved a total of 2 bytes 333s 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)) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 333s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) 333s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s retrieved a total of 2 bytes 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s retrieved a total of 2 bytes 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 333s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 333s retrieved a total of 2 bytes 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 333s 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)) 333s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s retrieved a total of 3 bytes 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) 333s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s 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) 333s 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) 333s 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) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s 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) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 333s warnings.warn("TestResult has no addDuration method", 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s 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) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s 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) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s 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) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 333s 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) 333s retrieved a total of 2 bytes 333s 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) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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) 333s 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) 333s 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}) 333s 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) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 333s retrieved a total of 2 bytes 333s 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) 333s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 333s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 333s retrieved a total of 2 bytes 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 333s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 333s calling Bucket.start_large_file(self=Bucket, file_name='file2.txt', content_type='text/plain', file_info={}) 333s calling Bucket.start_large_file(self=Bucket, file_name='file3.txt', content_type='text/plain', file_info={}) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=1) 333s retrieved a total of 2 bytes 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 333s retrieved a total of 3 bytes 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s 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) 333s 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}) 333s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 333s 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) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.authorize_automatically(self=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s retrieved a total of 2 bytes 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 333s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 333s 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)) 333s 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) 333s 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)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s retrieved a total of 2 bytes 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.list_file_names(self=Bucket, start_filename='hello.txt', max_entries=1) 333s test_account_info_same_object (test.test_account_info.TestInMemoryAccountInfo.test_account_info_same_object) ... ok 333s test_bucket (test.test_account_info.TestInMemoryAccountInfo.test_bucket) ... ok 333s test_clear (test.test_account_info.TestInMemoryAccountInfo.test_clear) ... ok 333s test_clear_bucket_upload_data (test.test_account_info.TestInMemoryAccountInfo.test_clear_bucket_upload_data) ... ok 333s test_clear_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_clear_large_file_upload_urls) ... ok 333s test_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_large_file_upload_urls) ... ok 333s test_refresh_bucket (test.test_account_info.TestInMemoryAccountInfo.test_refresh_bucket) ... ok 333s test_set_auth_data_compatibility (test.test_account_info.TestInMemoryAccountInfo.test_set_auth_data_compatibility) ... ok 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 333s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s 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) 333s 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}) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s retrieved a total of 2 bytes 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 333s calling Bucket.delete_file_version(self=Bucket, file_id='9999', file_name='hello.txt') 333s calling B2Api.delete_file_version(self=, file_id='9999', file_name='hello.txt') 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 333s retrieved a total of 2 bytes 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.ls(self=Bucket, folder_to_list='foo', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 333s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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}) 333s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s 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) 333s 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)) 333s retrieved a total of 3 bytes 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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) 333s 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}) 333s 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) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s 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) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s 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}) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s 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) 333s 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}) 333s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s 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) 333s 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)) 333s 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)) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s 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) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s 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)) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s created part to download: PartToDownload(Range(3, 4), Range(0, 1)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s retrieved a total of 2 bytes 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s created part to download: PartToDownload(Range(5, 6), Range(2, 3)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s retrieved a total of 2 bytes 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 333s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp4aeb2_i6/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 333s 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)) 333s created part to download: PartToDownload(Range(7, 9), Range(4, 6)) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s retrieved a total of 3 bytes 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpbkbxku6z/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 333s 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}) 333s 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) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s 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}) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s test_clear (test.test_account_info.TestUploadUrlPool.test_clear) ... ok 333s test_put_and_take (test.test_account_info.TestUploadUrlPool.test_put_and_take) ... ok 333s test_take_empty (test.test_account_info.TestUploadUrlPool.test_take_empty) ... ok 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.hide_file(self=Bucket, file_name='hello.txt') 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s 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) 333s 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)) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s created part to download: PartToDownload(Range(3, 4), Range(3, 4)) 333s 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) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 333s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 333s retrieved a total of 2 bytes 333s 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) 333s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s error when uploading, upload_url was https://upload.example.com/bucket_0/0 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s 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) 333s created part to download: PartToDownload(Range(5, 6), Range(5, 6)) 333s 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) 333s calling DownloadDestBytes.capture_bytes_context(self=) 333s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s retrieved a total of 2 bytes 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s created part to download: PartToDownload(Range(7, 9), Range(7, 9)) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s retrieved a total of 3 bytes 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 333s error when uploading, upload_url was https://upload.example.com/bucket_0/0 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s error when uploading, upload_url was https://upload.example.com/bucket_0/1 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s error when uploading, upload_url was https://upload.example.com/bucket_0/2 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s 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}) 333s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling Bucket.start_large_file(self=Bucket, file_name='hello.txt', content_type=None, file_info=None) 333s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 333s error when uploading, upload_url was https://upload.example.com/bucket_0/3 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s error when uploading, upload_url was https://upload.example.com/bucket_0/4 333s Traceback (most recent call last): 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 333s response = self.api.raw_api.upload_file( 333s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 333s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 333s raise self.upload_errors.pop(0) 333s test.test_bucket.CanRetry: (None, None, None, None, None) 333s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s 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) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 333s calling Bucket.upload_bytes(self=Bucket, file_name='bb', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s test_get_bucket_by_name_with_bucket_restriction (test.test_api.TestApi.test_get_bucket_by_name_with_bucket_restriction) ... ok 333s test_list_buckets (test.test_api.TestApi.test_list_buckets) ... ok 333s test_list_buckets_with_name (test.test_api.TestApi.test_list_buckets_with_name) ... ok 333s test_list_buckets_with_restriction (test.test_api.TestApi.test_list_buckets_with_restriction) ... ok 333s test_list_buckets_with_restriction_and_no_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_no_name) ... ok 333s test_list_buckets_with_restriction_and_wrong_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_wrong_name) ... ok 333s test_reauthorize_with_app_key (test.test_api.TestApi.test_reauthorize_with_app_key) ... ok 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 333s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 333s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 333s 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)) 333s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 333s 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) 333s 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) 333s 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)) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 333s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 333s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 333s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 333s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 333s created part to download: PartToDownload(Range(3, 4), Range(7, 8)) 333s 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) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 333s 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) 333s 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}) 333s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 333s 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) 333s 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) 333s 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) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 333s 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) 333s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) 333s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 333s test_bad_format (test.test_b2http.TestClockSkewHook.test_bad_format) ... ok 333s test_bad_month (test.test_b2http.TestClockSkewHook.test_bad_month) ... ok 333s test_negative_skew (test.test_b2http.TestClockSkewHook.test_negative_skew) ... ok 333s test_no_skew (test.test_b2http.TestClockSkewHook.test_no_skew) ... ok 333s test_positive_skew (test.test_b2http.TestClockSkewHook.test_positive_skew) ... ok 333s retrieved a total of 2 bytes 333s created part to download: PartToDownload(Range(5, 6), Range(9, 10)) 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 333s retrieved a total of 2 bytes 333s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 333s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 333s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s 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) 334s created part to download: PartToDownload(Range(7, 9), Range(11, 13)) 334s 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) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s retrieved a total of 3 bytes 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s 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) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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) 334s 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) 334s 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}) 334s 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) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 334s 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)) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=False, max_entries=None, recursive=False, fetch_count=1) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s 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) 334s 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) 334s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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) 334s 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) 334s 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}) 334s 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) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value1'}, progress_listener=) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value1'}, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s test_never_works (test.test_b2http.TestTranslateAndRetry.test_never_works) ... ok 334s test_non_retryable (test.test_b2http.TestTranslateAndRetry.test_non_retryable) ... ok 334s test_works_first_try (test.test_b2http.TestTranslateAndRetry.test_works_first_try) ... ok 334s test_works_second_try (test.test_b2http.TestTranslateAndRetry.test_works_second_try) ... ok 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s test_b2_error (test.test_b2http.TestTranslateErrors.test_b2_error) ... ok 334s test_broken_pipe (test.test_b2http.TestTranslateErrors.test_broken_pipe) ... ok 334s test_connection_error (test.test_b2http.TestTranslateErrors.test_connection_error) ... ok 334s test_connection_reset (test.test_b2http.TestTranslateErrors.test_connection_reset) ... ok 334s test_ok (test.test_b2http.TestTranslateErrors.test_ok) ... ok 334s test_partial_content (test.test_b2http.TestTranslateErrors.test_partial_content) ... ok 334s test_unknown_error (test.test_b2http.TestTranslateErrors.test_unknown_error) ... ok 334s test_unknown_host (test.test_b2http.TestTranslateErrors.test_unknown_host) ... ok 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s 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) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s option optionFlag is properly recognized as OPTION_FLAGS 334s option optionArg is properly recognized as OPTION_ARGS 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value2'}, progress_listener=) (hidden args: data_bytes) 334s option list is properly recognized as LIST_ARGS 334s option list is properly recognized as LIST_ARGS 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value2'}, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={'property': 'value2'}) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s option optionArg is recognized as OPTION_ARGS and there are no more arguments on arg_list to parse 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=True, max_entries=None, recursive=False, fetch_count=1) 334s option parser failed to consume this: ['badArg'] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s option badFlag is of unknown type! 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s 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) 334s // ======================================== 1.3.8 ======================================== \\ 334s 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) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s Action: create-key, arguments: ['key1', 'listKeys'] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s // ======================================== 1.3.8 ======================================== \\ 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listKeys'] 334s calling B2Api.create_key(self=, capabilities=['listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s test_account_info_persistence (test.test_account_info.TestSqliteAccountInfo.test_account_info_persistence) ... ok 334s test_account_info_same_object (test.test_account_info.TestSqliteAccountInfo.test_account_info_same_object) ... ok 334s test_bucket (test.test_account_info.TestSqliteAccountInfo.test_bucket) ... ok 334s test_clear (test.test_account_info.TestSqliteAccountInfo.test_clear) ... ok 334s test_clear_bucket_upload_data (test.test_account_info.TestSqliteAccountInfo.test_clear_bucket_upload_data) ... ok 334s test_clear_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_clear_large_file_upload_urls) ... ok 334s Tests converting from a JSON account info file, which is what version ... ok 334s Test that a corrupted file will be replaced with a blank file. ... ok 334s test_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_large_file_upload_urls) ... ok 334s test_refresh_bucket (test.test_account_info.TestSqliteAccountInfo.test_refresh_bucket) ... ok 334s test_set_auth_data_compatibility (test.test_account_info.TestSqliteAccountInfo.test_set_auth_data_compatibility) ... ok 334s The 'allowed' field should be the default for upgraded databases. ... ok 334s The 'account_id_or_app_key_id' field should default to the account id. ... ok 334s 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) 334s 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) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys'], 'namePrefix': None, 'bucketName': None}) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling StubAccountInfo.clear(self=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 334s warnings.warn("TestResult has no addDuration method", 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s Action: authorize-account, arguments: ['account-0', 'bad-app-key'] 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s 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) 334s 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}) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 334s test_callback (test.test_b2http.TestB2Http.test_callback) ... ok 334s test_get_content (test.test_b2http.TestB2Http.test_get_content) ... ok 334s test_post_json_return_json (test.test_b2http.TestB2Http.test_post_json_return_json) ... ok 334s ConsoleTool account authorization error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 258, in run 334s self.api.authorize_account(realm, args.accountId, args.applicationKey) 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 126, in authorize_account 334s response = self.raw_api.authorize_account(realm_url, account_id_or_key_id, application_key) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 622, in authorize_account 334s raise InvalidAuthToken('secret key is wrong', 'unauthorized') 334s b2.exception.InvalidAuthToken: Invalid authorization token. Server said: secret key is wrong (unauthorized) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s testEmpty (test.test_bucket.TestListParts.testEmpty) ... ok 334s testThree (test.test_bucket.TestListParts.testThree) ... ok 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s 334s WARNING: Unable to print unicode. Encoding for stdout is: '' 334s Trying to print: ('Using http://production.example.com',) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s test_download_by_id_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_no_progress) ... ok 334s test_download_by_id_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_progress) ... ok 334s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_exact_range) ... ok 334s test_download_by_id_progress_partial (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial) ... ok 334s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_inplace_overwrite) ... ok 334s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_shifted_overwrite) ... ok 334s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_range_one_off) ... ok 334s test_download_by_name_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_no_progress) ... ok 334s test_download_by_name_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_progress) ... ok 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: update-bucket, arguments: ['--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] 334s option bucketInfo is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', '--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.update(self=Bucket, bucket_type='allPrivate', bucket_info={'color': 'blue'}, cors_rules=None, lifecycle_rules=None, if_revision_is=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 334s option bucket is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 334s Action: delete-bucket, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.delete_bucket(self=, bucket=Bucket) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': None}) 334s ConsoleTool has bucket-restricted key and the bucket does not exist 334s calling StubAccountInfo.clear(self=) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['bad/bucket/name', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'bad/bucket/name', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='bad/bucket/name', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 358, in run 334s bucket = self.api.create_bucket( 334s ^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 152, in create_bucket 334s response = self.session.create_bucket( 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 660, in create_bucket 334s raise BadJson('illegal bucket name: ' + bucket_name) 334s b2.exception.BadJson: Bad request: illegal bucket name: bad/bucket/name 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s 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) 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s 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) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s 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) 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPrivate'] 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s Action: create-bucket, arguments: ['your-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'your-bucket', 'allPrivate'] 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: update-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', 'my-bucket', 'allPublic'] 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.update(self=Bucket, bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None, if_revision_is=None) 334s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 334s test_blocking (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_blocking) ... ok 334s test_no_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_no_exceptions) ... ok 334s test_return_future (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_return_future) ... ok 334s test_two_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_two_exceptions) ... ok 334s Action: list-buckets, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list_buckets'] 334s calling B2Api.list_buckets(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s Action: delete-bucket, arguments: ['your-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s test_empty (test.test_bucket.TestListUnfinished.test_empty) ... ok 334s test_one (test.test_bucket.TestListUnfinished.test_one) ... ok 334s test_three (test.test_bucket.TestListUnfinished.test_three) ... ok 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete_bucket', 'your-bucket'] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='your-bucket') 334s calling B2Api.delete_bucket(self=, bucket=Bucket) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s 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) 334s 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) 334s 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) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s 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) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s 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}) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s 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) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) 334s calling Bucket.start_large_file(self=Bucket, file_name='file2', content_type='text/plain', file_info={}) 334s Action: cancel-all-unfinished-large-files, arguments: ['my-bucket'] 334s testCreateBucket (test.test_bucket.TestReauthorization.testCreateBucket) ... ok 334s // ======================================== 1.3.8 ======================================== \\ 334s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpio039it6/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CancelAllUnfinishedLargeFiles] with arguments: ['b2', 'cancel_all_unfinished_large_files', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.cancel_large_file(self=Bucket, file_id='9999') 334s calling B2Api.cancel_large_file(self=, file_id='9999') 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling Bucket.cancel_large_file(self=Bucket, file_id='9998') 334s calling B2Api.cancel_large_file(self=, file_id='9998') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 334s // ======================================== 1.3.8 ======================================== \\ 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s 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) 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s 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) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s 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) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s 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}) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) 334s 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) 334s Action: cancel-large-file, arguments: ['9999'] 334s 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}) 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CancelLargeFile] with arguments: ['b2', 'cancel_large_file', '9999'] 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling B2Api.cancel_large_file(self=, file_id='9999') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s test_error_in_state (test.test_bucket.TestUploadPart.test_error_in_state) ... ok 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s 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) 334s 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}) 334s Action: clear-account, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s error when uploading, upload_url was https://upload.example.com/bucket_0/0 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/bucket.py", line 413, in _upload_small_file 334s response = self.api.raw_api.upload_file( 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 935, in upload_file 334s raise self.upload_errors.pop(0) 334s test.test_bucket.CanRetry: (None, None, None, None, None) 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ClearAccount] with arguments: ['b2', 'clear-account'] 334s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.clear(self=) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] 334s option bucket is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.create_key(self=, capabilities=['listKeys', 'listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listKeys', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket'}) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 334s warnings.warn("TestResult has no addDuration method", 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-key, arguments: ['key1', 'listBuckets,listKeys'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listBuckets,listKeys'] 334s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets', 'listKeys'], 'namePrefix': None, 'bucketName': None}) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s test_download_by_id_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_no_progress) ... ok 334s test_download_by_id_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_progress) ... ok 334s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_exact_range) ... ok 334s test_download_by_id_progress_partial (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial) ... ok 334s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_inplace_overwrite) ... ok 334s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_shifted_overwrite) ... ok 334s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_range_one_off) ... ok 334s test_download_by_name_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_no_progress) ... ok 334s test_download_by_name_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_progress) ... ok 334s Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmpdd8mzqnv/file1.txt', 'file1.txt'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmpdd8mzqnv/file1.txt', 'file1.txt'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=10) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpdd8mzqnv/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=) 334s 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=) 334s test_failed_write_deletes_partial_file (test.test_download_dest.TestDownloadDestLocalFile.test_failed_write_deletes_partial_file) ... ok 334s Check that the file gets written and that its mod time gets set. ... ok 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s Check that the file gets written and that its mod time gets set. ... ok 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: get-file-info, arguments: ['9999'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetFileInfo] with arguments: ['b2', 'get_file_info', '9999'] 334s Action: download-file-by-name, arguments: ['--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmpdd8mzqnv/download1.txt'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DownloadFileByName] with arguments: ['b2', 'download_file_by_name', '--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmpdd8mzqnv/download1.txt'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1.txt', download_dest=, progress_listener=, range_=None) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1.txt', download_dest=, progress_listener=, range_=None) 334s 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) 334s test_failed_write_deletes_partial_file (test.test_download_dest.TestPreSeekedDownloadDest.test_failed_write_deletes_partial_file) ... ok 334s Check that the file gets written and that its mod time gets set. ... ok 334s 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) 334s 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) 334s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s test_plain_ascii (test.test_exception.TestB2Error.test_plain_ascii) ... ok 334s test_unicode (test.test_exception.TestB2Error.test_unicode) ... ok 334s Action: download-file-by-id, arguments: ['--noProgress', '9999', '/tmp/tmpdd8mzqnv/download2.txt'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DownloadFileById] with arguments: ['b2', 'download_file_by_id', '--noProgress', '9999', '/tmp/tmpdd8mzqnv/download2.txt'] 334s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 334s 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) 334s test_already_failed_exception (test.test_exception.TestExceptions.test_already_failed_exception) ... ok 334s test_bad_upload_url_exception (test.test_exception.TestExceptions.test_bad_upload_url_exception) ... ok 334s test_command_error (test.test_exception.TestExceptions.test_command_error) ... ok 334s 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) 334s 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) 334s 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) 334s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s Action: hide-file, arguments: ['my-bucket', 'file1.txt'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'file1.txt'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='file1.txt') 334s Action: list-file-versions, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListFileVersions] with arguments: ['b2', 'list_file_versions', 'my-bucket'] 334s test_bad_json (test.test_exception.TestInterpretError.test_bad_json) ... ok 334s test_conflict (test.test_exception.TestInterpretError.test_conflict) ... ok 334s test_duplicate_bucket_name (test.test_exception.TestInterpretError.test_duplicate_bucket_name) ... ok 334s test_file_already_hidden (test.test_exception.TestInterpretError.test_file_already_hidden) ... ok 334s test_file_not_present (test.test_exception.TestInterpretError.test_file_not_present) ... ok 334s test_invalid_auth_token (test.test_exception.TestInterpretError.test_invalid_auth_token) ... ok 334s test_missing_part (test.test_exception.TestInterpretError.test_missing_part) ... ok 334s test_part_sha1_mismatch (test.test_exception.TestInterpretError.test_part_sha1_mismatch) ... ok 334s test_service_error (test.test_exception.TestInterpretError.test_service_error) ... ok 334s test_storage_cap_exceeded (test.test_exception.TestInterpretError.test_storage_cap_exceeded) ... ok 334s test_too_many_requests (test.test_exception.TestInterpretError.test_too_many_requests) ... ok 334s test_unauthorized (test.test_exception.TestInterpretError.test_unauthorized) ... ok 334s test_unknown_error (test.test_exception.TestInterpretError.test_unknown_error) ... ok 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_file_versions(self=Bucket, start_filename=None, start_file_id=None, max_entries=None) 334s Action: list-file-names, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 334s Action: delete-file-version, arguments: ['file1.txt', '9998'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s test_all_there (test.test_parse_args.TestParseArgs.test_all_there) ... ok 334s test_no_args (test.test_parse_args.TestParseArgs.test_no_args) ... ok 334s test_no_optional (test.test_parse_args.TestParseArgs.test_no_optional) ... ok 334s test_option_defaults (test.test_parse_args.TestParseArgs.test_option_defaults) ... ok 334s test_optional_arg_missing_value (test.test_parse_args.TestParseArgs.test_optional_arg_missing_value) ... ok 334s test_optional_before (test.test_parse_args.TestParseArgs.test_optional_before) ... ok 334s test_same_arg_in_two_places (test.test_parse_args.TestParseArgs.test_same_arg_in_two_places) ... ok 334s test_unexpected_arg (test.test_parse_args.TestParseArgs.test_unexpected_arg) ... ok 334s test_unexpected_flag (test.test_parse_args.TestParseArgs.test_unexpected_flag) ... ok 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', 'file1.txt', '9998'] 334s calling B2Api.delete_file_version(self=, file_id='9998', file_name='file1.txt') 334s Action: delete-file-version, arguments: ['9999'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', '9999'] 334s calling B2Api.delete_file_version(self=, file_id='9999', file_name='file1.txt') 334s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source 334s determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source 334s determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination 334s determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination 334s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on destination 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 334s 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) 334s 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}) 334s test_delete_file_version (test.test_bucket.TestLs.test_delete_file_version) ... ok 334s test_empty (test.test_bucket.TestLs.test_empty) ... ok 334s test_hidden_file (test.test_bucket.TestLs.test_hidden_file) ... ok 334s test_one_file_at_root (test.test_bucket.TestLs.test_one_file_at_root) ... ok 334s test_started_large_file (test.test_bucket.TestLs.test_started_large_file) ... ok 334s test_three_files_at_root (test.test_bucket.TestLs.test_three_files_at_root) ... ok 334s test_three_files_in_dir (test.test_bucket.TestLs.test_three_files_in_dir) ... ok 334s test_three_files_multiple_versions (test.test_bucket.TestLs.test_three_files_multiple_versions) ... ok 334s Action: get-account-info, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 334s warnings.warn("TestResult has no addDuration method", 334s locale is ('C', 'UTF-8') 334s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetAccountInfo] with arguments: ['b2', 'get-account-info'] 334s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source 334s determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source 334s determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination 334s determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination 334s File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s test_large_read (test.test_progress.TestHashingStream.test_large_read) ... ok 334s test_no_argument (test.test_progress.TestHashingStream.test_no_argument) ... ok 334s test_no_argument_equal (test.test_progress.TestHashingStream.test_no_argument_equal) ... ok 334s test_no_argument_less (test.test_progress.TestHashingStream.test_no_argument_less) ... ok 334s test_no_argument_more (test.test_progress.TestHashingStream.test_no_argument_more) ... ok 334s test_one_by_one (test.test_progress.TestHashingStream.test_one_by_one) ... ok 334s test_seek_zero (test.test_progress.TestHashingStream.test_seek_zero) ... ok 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s 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 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s 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 334s 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 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s 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 334s Action: get-bucket, arguments: ['my-bucket'] 334s 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 334s 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 334s 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 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket'] 334s Test a conforming and non-conforming filename for each rule. ... ok 334s File a.txt: source size 10, dest size 10, diff 0, threshold 0, diff > threshold False 334s test_upload_bytes (test.test_bucket.TestUpload.test_upload_bytes) ... ok 334s test_upload_bytes_progress (test.test_bucket.TestUpload.test_upload_bytes_progress) ... ok 334s test_upload_dead_symlink (test.test_bucket.TestUpload.test_upload_dead_symlink) ... ok 334s test_upload_fifo (test.test_bucket.TestUpload.test_upload_fifo) ... ok 334s test_upload_file_one_fatal_error (test.test_bucket.TestUpload.test_upload_file_one_fatal_error) ... ok 334s test_upload_file_too_many_retryable_errors (test.test_bucket.TestUpload.test_upload_file_too_many_retryable_errors) ... ok 334s test_upload_large (test.test_bucket.TestUpload.test_upload_large) ... ok 334s test_upload_large_resume (test.test_bucket.TestUpload.test_upload_large_resume) ... ok 334s test_upload_large_resume_all_parts_there (test.test_bucket.TestUpload.test_upload_large_resume_all_parts_there) ... ok 334s test_upload_large_resume_file_info (test.test_bucket.TestUpload.test_upload_large_resume_file_info) ... ok 334s test_upload_large_resume_file_info_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_file_info_does_not_match) ... ok 334s test_upload_large_resume_no_parts (test.test_bucket.TestUpload.test_upload_large_resume_no_parts) ... ok 334s test_upload_large_resume_part_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_part_does_not_match) ... ok 334s test_upload_large_resume_wrong_part_size (test.test_bucket.TestUpload.test_upload_large_resume_wrong_part_size) ... ok 334s test_upload_local_file (test.test_bucket.TestUpload.test_upload_local_file) ... ok 334s test_upload_one_retryable_error (test.test_bucket.TestUpload.test_upload_one_retryable_error) ... ok 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s test_default (test.test_scan_policies.TestScanPolicies.test_default) ... ok 334s test_exclude_dir (test.test_scan_policies.TestScanPolicies.test_exclude_dir) ... ok 334s test_exclude_include (test.test_scan_policies.TestScanPolicies.test_exclude_include) ... ok 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s retrieved a total of 2 bytes 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 334s test_empty (test.test_sync.TestB2Folder.test_empty) ... ok 334s test_multiple_versions (test.test_sync.TestB2Folder.test_multiple_versions) ... ok 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s test_file_exclusions_inclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_inclusions_with_delete) ... ok 334s test_file_exclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_with_delete) ... ok 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s test_new_version_no_action (test.test_policy.TestMakeB2KeepDaysActions.test_new_version_no_action) ... ok 334s test_no_source_one_old_version_hides (test.test_policy.TestMakeB2KeepDaysActions.test_no_source_one_old_version_hides) ... ok 334s test_no_versions (test.test_policy.TestMakeB2KeepDaysActions.test_no_versions) ... ok 334s test_old_hide_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_hide_causes_delete) ... ok 334s test_old_upload_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_upload_causes_delete) ... ok 334s test_out_of_order_dates (test.test_policy.TestMakeB2KeepDaysActions.test_out_of_order_dates) ... ok 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s retrieved a total of 2 bytes 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s test_b2_double_slash (test.test_sync.TestParseSyncFolder.test_b2_double_slash) ... ok 334s test_b2_no_double_slash (test.test_sync.TestParseSyncFolder.test_b2_no_double_slash) ... ok 334s test_b2_no_folder (test.test_sync.TestParseSyncFolder.test_b2_no_folder) ... ok 334s test_b2_trailing_slash (test.test_sync.TestParseSyncFolder.test_b2_trailing_slash) ... ok 334s test_local (test.test_sync.TestParseSyncFolder.test_local) ... ok 334s test_local_trailing_slash (test.test_sync.TestParseSyncFolder.test_local_trailing_slash) ... ok 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s retrieved a total of 2 bytes 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s test_broken_symlink (test.test_sync.TestLocalFolder.test_broken_symlink) ... ok 334s test_exclude_all (test.test_sync.TestLocalFolder.test_exclude_all) ... ok 334s test_exclude_directory (test.test_sync.TestLocalFolder.test_exclude_directory) ... ok 334s test_exclude_directory2 (test.test_sync.TestLocalFolder.test_exclude_directory2) ... ok 334s test_exclude_directory_trailing_slash_does_not_match (test.test_sync.TestLocalFolder.test_exclude_directory_trailing_slash_does_not_match) ... ok 334s test_exclude_matches_prefix (test.test_sync.TestLocalFolder.test_exclude_matches_prefix) ... ok 334s test_exclusion_with_exact_match (test.test_sync.TestLocalFolder.test_exclusion_with_exact_match) ... ok 334s test_exclusions (test.test_sync.TestLocalFolder.test_exclusions) ... ok 334s test_exclusions_inclusions (test.test_sync.TestLocalFolder.test_exclusions_inclusions) ... ok 334s test_invalid_permissions (test.test_sync.TestLocalFolder.test_invalid_permissions) ... SKIP: incorrect sbuild user access rights 334s test_slash_sorting (test.test_sync.TestLocalFolder.test_slash_sorting) ... ok 334s retrieved a total of 2 bytes 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s retrieved a total of 3 bytes 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s test_empty (test.test_sync.TestZipFolders.test_empty) ... ok 334s test_one_empty (test.test_sync.TestZipFolders.test_one_empty) ... ok 334s Check that the zip_folders() function passes the reporter through ... ok 334s test_two (test.test_sync.TestZipFolders.test_two) ... ok 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s 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}) 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s 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 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s test_bad_terminal (test.test_sync_report.TestSyncReport.test_bad_terminal) ... ok 334s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 334s 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) 334s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 334s 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) 334s 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) 334s 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) 334s calling DownloadDestBytes.capture_bytes_context(self=) 334s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 334s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 334s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 334s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s retrieved a total of 2 bytes 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 334s retrieved a total of 2 bytes 334s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 334s retrieved a total of 2 bytes 334s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 334s retrieved a total of 2 bytes 334s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 334s retrieved a total of 3 bytes 334s test_it (test.test_utils.TestChooseParts.test_it) ... ok 334s test_it (test.test_utils.TestUrlEncoding.test_it) ... ok 334s test_download_by_id_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_no_progress) ... ok 334s test_download_by_id_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_progress) ... ok 334s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_exact_range) ... ok 334s test_download_by_id_progress_partial (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial) ... ok 334s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_inplace_overwrite) ... ok 334s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_shifted_overwrite) ... ok 334s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_range_one_off) ... ok 334s test_download_by_name_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_no_progress) ... ok 334s test_download_by_name_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_progress) ... ok 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 334s warnings.warn("TestResult has no addDuration method", 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s test_app_key_info_all_info (test.test_session.TestB2Session.test_app_key_info_all_info) ... ok 334s test_app_key_info_no_info (test.test_session.TestB2Session.test_app_key_info_no_info) ... ok 334s test_app_key_info_no_info_no_message (test.test_session.TestB2Session.test_app_key_info_no_info_no_message) ... ok 334s test_fails_second_time (test.test_session.TestB2Session.test_fails_second_time) ... ok 334s test_works_first_time (test.test_session.TestB2Session.test_works_first_time) ... ok 334s test_works_second_time (test.test_session.TestB2Session.test_works_second_time) ... ok 334s test_it (test.test_utils.TestFormatAndScaleNumber.test_it) ... ok 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s test_it (test.test_utils.TestFormatAndScaleFraction.test_it) ... ok 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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 334s 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) 334s 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 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s 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 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 334s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source 334s Action: hide-file, arguments: ['my-bucket', '1/hidden1'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] 334s determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') 334s Action: hide-file, arguments: ['my-bucket', '1/hidden1'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination 334s calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') 334s Action: hide-file, arguments: ['my-bucket', '1/hidden2'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden2'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/hidden2') 334s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 334s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 334s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 334s File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False 334s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True 334s File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on destination 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmpfvh44uat/file1.txt', 'file1.txt'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmpfvh44uat/file1.txt', 'file1.txt'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=10) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpfvh44uat/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1720906127281'}, sha1_sum=None, min_part_size=None, progress_listener=) 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127281'}, min_part_size=None, progress_listener=) 334s File directory/a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 334s File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False 334s File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s test_already_hidden_multiple_versions_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_delete) ... ok 334s test_already_hidden_multiple_versions_keep (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep) ... ok 334s test_already_hidden_multiple_versions_keep_days (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days) ... ok 334s 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 334s test_already_hidden_multiple_versions_keep_days_old_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_old_delete) ... ok 334s test_already_hidden_multiple_versions_keep_days_one_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_one_old) ... ok 334s test_already_hidden_multiple_versions_keep_days_two_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_two_old) ... ok 334s test_compare_b2_none_newer (test.test_sync.TestMakeSyncActions.test_compare_b2_none_newer) ... ok 334s test_compare_b2_none_older (test.test_sync.TestMakeSyncActions.test_compare_b2_none_older) ... ok 334s test_compare_b2_size_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_equal) ... ok 334s test_compare_b2_size_not_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal) ... ok 334s test_compare_b2_size_not_equal_delete (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal_delete) ... ok 334s test_delete_b2 (test.test_sync.TestMakeSyncActions.test_delete_b2) ... ok 334s test_delete_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_b2_multiple_versions) ... ok 334s test_delete_hide_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions) ... ok 334s test_delete_hide_b2_multiple_versions_old (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions_old) ... ok 334s test_delete_large_b2 (test.test_sync.TestMakeSyncActions.test_delete_large_b2) ... ok 334s test_delete_local (test.test_sync.TestMakeSyncActions.test_delete_local) ... ok 334s test_dir_not_there_b2_delete (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_delete) ... ok 334s test_dir_not_there_b2_keepdays (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_keepdays) ... ok 334s test_empty_b2 (test.test_sync.TestMakeSyncActions.test_empty_b2) ... ok 334s test_empty_local (test.test_sync.TestMakeSyncActions.test_empty_local) ... ok 334s test_illegal_b2_to_b2 (test.test_sync.TestMakeSyncActions.test_illegal_b2_to_b2) ... ok 334s test_illegal_delete_and_keep_days (test.test_sync.TestMakeSyncActions.test_illegal_delete_and_keep_days) ... ok 334s test_illegal_local_to_local (test.test_sync.TestMakeSyncActions.test_illegal_local_to_local) ... ok 334s test_illegal_skip_and_replace (test.test_sync.TestMakeSyncActions.test_illegal_skip_and_replace) ... ok 334s test_keep_days_no_change_with_old_file (test.test_sync.TestMakeSyncActions.test_keep_days_no_change_with_old_file) ... ok 334s test_newer_b2 (test.test_sync.TestMakeSyncActions.test_newer_b2) ... ok 334s test_newer_b2_clean_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_clean_old_versions) ... ok 334s test_newer_b2_delete_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_delete_old_versions) ... ok 334s test_newer_local (test.test_sync.TestMakeSyncActions.test_newer_local) ... ok 334s test_no_delete_b2 (test.test_sync.TestMakeSyncActions.test_no_delete_b2) ... ok 334s test_no_delete_local (test.test_sync.TestMakeSyncActions.test_no_delete_local) ... ok 334s test_not_there_b2 (test.test_sync.TestMakeSyncActions.test_not_there_b2) ... ok 334s test_not_there_local (test.test_sync.TestMakeSyncActions.test_not_there_local) ... ok 334s test_older_b2 (test.test_sync.TestMakeSyncActions.test_older_b2) ... ok 334s test_older_b2_replace (test.test_sync.TestMakeSyncActions.test_older_b2_replace) ... ok 334s test_older_b2_replace_delete (test.test_sync.TestMakeSyncActions.test_older_b2_replace_delete) ... ok 334s test_older_b2_skip (test.test_sync.TestMakeSyncActions.test_older_b2_skip) ... ok 334s test_older_local (test.test_sync.TestMakeSyncActions.test_older_local) ... ok 334s test_older_local_replace (test.test_sync.TestMakeSyncActions.test_older_local_replace) ... ok 334s test_older_local_skip (test.test_sync.TestMakeSyncActions.test_older_local_skip) ... ok 334s test_same_b2 (test.test_sync.TestMakeSyncActions.test_same_b2) ... ok 334s test_same_clean_old_versions (test.test_sync.TestMakeSyncActions.test_same_clean_old_versions) ... ok 334s test_same_delete_old_versions (test.test_sync.TestMakeSyncActions.test_same_delete_old_versions) ... ok 334s test_same_leave_old_versions (test.test_sync.TestMakeSyncActions.test_same_leave_old_versions) ... ok 334s test_same_local (test.test_sync.TestMakeSyncActions.test_same_local) ... ok 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s 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) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload4', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload5', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload6', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: hide-file, arguments: ['my-bucket', 'hidden1'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden1'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='hidden1') 334s Action: hide-file, arguments: ['my-bucket', 'hidden2'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden2'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='hidden2') 334s Action: hide-file, arguments: ['my-bucket', 'hidden3'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden3'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='hidden3') 334s Action: hide-file, arguments: ['my-bucket', 'hidden4'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden4'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.hide_file(self=Bucket, file_name='hidden4') 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 334s option showSize is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: get-download-auth, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: get-download-auth, arguments: ['--prefix', 'prefix', '--duration', '12345', 'my-bucket'] 334s option prefix is properly recognized as OPTION_ARGS 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', '--prefix', 'prefix', '--duration', '12345', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', 'my-file'] 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', 'my-file'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', '自'] 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', '自'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s Action: list-parts, arguments: [] 334s lack of required positional argument: largeFileId 334s ConsoleTool 'args is None' - printing usage 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket-a', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-a', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket-a', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-bucket, arguments: ['my-bucket-b', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-b', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket-b', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-bucket, arguments: ['my-bucket-c', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-c', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket-c', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['bad_key_name', 'readFiles,listBuckets'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'bad_key_name', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='bad_key_name', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 407, in run 334s response = self.api.create_key( 334s ^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 298, in create_key 334s response = self.session.create_key( 334s ^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 678, in create_key 334s raise BadJson('illegal key name: ' + key_name) 334s b2.exception.BadJson: Bad request: illegal key name: bad_key_name 334s Action: create-key, arguments: ['--duration', '-456', 'goodKeyName', 'readFiles,listBuckets'] 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '-456', 'goodKeyName', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=-456, bucket_id=None, name_prefix=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 407, in run 334s response = self.api.create_key( 334s ^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 298, in create_key 334s response = self.session.create_key( 334s ^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 681, in create_key 334s raise BadJson( 334s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 334s Action: create-key, arguments: ['--duration', '0', 'goodKeyName', 'readFiles,listBuckets'] 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '0', 'goodKeyName', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=0, bucket_id=None, name_prefix=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 407, in run 334s response = self.api.create_key( 334s ^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 298, in create_key 334s response = self.session.create_key( 334s ^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 681, in create_key 334s raise BadJson( 334s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 334s Action: create-key, arguments: ['--duration', '86400001', 'goodKeyName', 'readFiles,listBuckets'] 334s option duration is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '86400001', 'goodKeyName', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=86400001, bucket_id=None, name_prefix=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 407, in run 334s response = self.api.create_key( 334s ^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 298, in create_key 334s response = self.session.create_key( 334s ^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 681, in create_key 334s raise BadJson( 334s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 334s Action: create-key, arguments: ['goodKeyName-One', 'readFiles,listBuckets'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'goodKeyName-One', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s Action: create-key, arguments: ['--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] 334s option bucket is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Two', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 334s Action: create-key, arguments: ['--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] 334s option bucket is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Three', valid_duration_seconds=None, bucket_id='bucket_1', name_prefix=None) 334s Action: delete-key, arguments: ['abc123'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DeleteKey] with arguments: ['b2', 'delete_key', 'abc123'] 334s calling B2Api.delete_key(self=, application_key_id='abc123') 334s Action: delete-bucket, arguments: ['my-bucket-b'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket-b'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') 334s calling B2Api.delete_bucket(self=, bucket=Bucket) 334s Action: list-keys, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys'] 334s calling B2Api.list_keys(self=, start_application_key_id=None) 334s calling B2Api.list_buckets(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s Action: list-keys, arguments: ['--long'] 334s option long is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys', '--long'] 334s calling B2Api.list_keys(self=, start_application_key_id=None) 334s calling B2Api.list_buckets(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': None}) 334s Action: list-buckets, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] 334s calling B2Api.list_buckets(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s Action: get-bucket, arguments: ['my-bucket-a'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s Action: authorize-account, arguments: ['appKeyId1', 'appKey1'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket-a'}) 334s Action: list-buckets, arguments: [] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] 334s calling B2Api.list_buckets(self=, bucket_name=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 755, in run 334s for b in self.api.list_buckets(): 334s ^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 230, in list_buckets 334s self.check_bucket_restrictions(bucket_name) 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 342, in check_bucket_restrictions 334s raise RestrictedBucket(allowed_bucket_name) 334s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 334s Action: get-bucket, arguments: ['my-bucket-c'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-c'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket-c') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 587, in run 334s for b in self.api.list_buckets(args.bucketName): 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 230, in list_buckets 334s self.check_bucket_restrictions(bucket_name) 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 342, in check_bucket_restrictions 334s raise RestrictedBucket(allowed_bucket_name) 334s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 334s Action: get-bucket, arguments: ['my-bucket-a'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 334s Action: list-file-names, arguments: ['my-bucket-c'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list-file-names', 'my-bucket-c'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 802, in run 334s bucket = self.api.get_bucket_by_name(args.bucketName) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 190, in get_bucket_by_name 334s self.check_bucket_restrictions(bucket_name) 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 342, in check_bucket_restrictions 334s raise RestrictedBucket(allowed_bucket_name) 334s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['my-key', 'listFiles'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'my-key', 'listFiles'] 334s calling B2Api.create_key(self=, capabilities=['listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listFiles'], 'namePrefix': None, 'bucketName': None}) 334s ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability 334s calling StubAccountInfo.clear(self=) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) 334s Action: list-parts, arguments: ['9999'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s Action: list-parts, arguments: ['9999'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] 334s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: list-unfinished-large-files, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: list-unfinished-large-files, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: ls, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: ls, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 334s Makes sure that the executor will run more jobs that the ... ok 334s Makes sure that no more than queue_limit workers are ... ok 334s Action: ls, arguments: ['--recursive', 'my-bucket'] 334s option recursive is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--recursive', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=True, fetch_count=100) 334s Action: ls, arguments: ['--long', 'my-bucket'] 334s option long is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 334s Action: ls, arguments: ['--long', '--versions', 'my-bucket'] 334s option long is properly recognized as OPTION_FLAGS 334s option versions is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', '--versions', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 334s option bucket is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': 'my-bucket'}) 334s Action: ls, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['restrictedBucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'restrictedBucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='restrictedBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-bucket, arguments: ['otherBucket', 'allPrivate'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'otherBucket', 'allPrivate'] 334s calling B2Api.create_bucket(self=, name='otherBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: create-key, arguments: ['--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] 334s option bucket is properly recognized as OPTION_ARGS 334s option namePrefix is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='restrictedBucket') 334s 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/') 334s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'readFiles'], 'namePrefix': 'some/file/prefix/', 'bucketName': 'restrictedBucket'}) 334s Action: create-key, arguments: ['goodKeyName-One', 'readFiles,listBuckets'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'goodKeyName-One', 'readFiles,listBuckets'] 334s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 39, in wrapper 334s return f(api_url, account_auth_token, *args, **kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 684, in create_key 334s self._assert_account_auth(api_url, account_auth_token, account_id, 'writeKeys') 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/raw_simulator.py", line 967, in _assert_account_auth 334s raise Unauthorized('', 'unauthorized') 334s b2.exception.Unauthorized: (unauthorized) 334s 334s During handling of the above exception, another exception occurred: 334s 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 407, in run 334s response = self.api.create_key( 334s ^^^^^^^^^^^^^^^^^^^^ 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/api.py", line 298, in create_key 334s response = self.session.create_key( 334s ^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/session.py", line 50, in wrapper 334s raise self._add_app_key_info_to_unauthorized(e) 334s b2.exception.Unauthorized: unauthorized for application key with capabilities 'listBuckets,readFiles', restricted to bucket 'restrictedBucket', restricted to files that start with 'some/file/prefix/' (unauthorized) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--threads', '5', '--noProgress', '/tmp/tmpeoufjkmw', 'b2://my-bucket'] 334s option threads is properly recognized as OPTION_ARGS 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '5', '--noProgress', '/tmp/tmpeoufjkmw', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=5) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmpeoufjkmw), 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/tmpeoufjkmw', 'threads': 5, 'verbose': False}), now_millis=1720906127466, stdout=.MyStringIO object at 0xf14d86a8>, no_progress=True, max_workers=5, policies_manager=, dry_run=False, allow_empty_source=False) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s determined that File(test.txt, [FileVersion('/tmp/tmpeoufjkmw/test.txt', 'test.txt', 1720906127457, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmpeoufjkmw/test.txt, test.txt, 1720906127457) on bucket Bucket 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127457'}, min_part_size=None, progress_listener=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmp1vacjv0g', 'b2://my-bucket'] 334s option threads is properly recognized as OPTION_ARGS 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmp1vacjv0g', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=1) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmp1vacjv0g), 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/tmp1vacjv0g', 'threads': 1, 'verbose': False}), now_millis=1720906127477, stdout=.MyStringIO object at 0xf1ba65d8>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s determined that File(alink, [FileVersion('/tmp/tmp1vacjv0g/alink', 'alink', 1720906127469, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmp1vacjv0g/alink, alink, 1720906127469) on bucket Bucket 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='alink', content_type=None, file_info={'src_last_modified_millis': '1720906127469'}, min_part_size=None, progress_listener=) 334s determined that File(test.txt, [FileVersion('/tmp/tmp1vacjv0g/test.txt', 'test.txt', 1720906127469, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmp1vacjv0g/test.txt, test.txt, 1720906127469) on bucket Bucket 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127469'}, min_part_size=None, progress_listener=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--noProgress', '--dryRun', '/tmp/tmphgzljel2', 'b2://my-bucket'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s option dryRun is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '--dryRun', '/tmp/tmphgzljel2', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=10) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmphgzljel2), 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/tmphgzljel2', 'threads': None, 'verbose': False}), now_millis=1720906127491, stdout=.MyStringIO object at 0xf14d86a8>, no_progress=True, max_workers=10, policies_manager=, dry_run=True, allow_empty_source=False) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s determined that File(test-dry-run.txt, [FileVersion('/tmp/tmphgzljel2/test-dry-run.txt', 'test-dry-run.txt', 1720906127485, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmphgzljel2/test-dry-run.txt, test-dry-run.txt, 1720906127485) on bucket Bucket 334s Action: list-file-names, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 334s Action: sync, arguments: ['--noProgress', '/tmp/tmphgzljel2', 'b2://my-bucket'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '/tmp/tmphgzljel2', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=10) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmphgzljel2), 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/tmphgzljel2', 'threads': None, 'verbose': False}), now_millis=1720906127496, stdout=.MyStringIO object at 0xf14d86a8>, no_progress=True, max_workers=10, policies_manager=, dry_run=False, allow_empty_source=False) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s determined that File(test-dry-run.txt, [FileVersion('/tmp/tmphgzljel2/test-dry-run.txt', 'test-dry-run.txt', 1720906127485, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmphgzljel2/test-dry-run.txt, test-dry-run.txt, 1720906127485) on bucket Bucket 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test-dry-run.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127485'}, min_part_size=None, progress_listener=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: list-file-names, arguments: ['my-bucket'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpfitsivco', 'b2://my-bucket'] 334s option threads is properly recognized as OPTION_ARGS 334s option noProgress is properly recognized as OPTION_FLAGS 334s option allowEmptySource is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpfitsivco', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=1) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmpfitsivco), 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/tmpfitsivco', 'threads': 1, 'verbose': False}), now_millis=1720906127509, stdout=.MyStringIO object at 0xf1ba65d8>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=True) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmpirymi1vi', 'b2://my-bucket'] 334s option threads is properly recognized as OPTION_ARGS 334s option noProgress is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmpirymi1vi', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=1) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmpirymi1vi), 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/tmpirymi1vi', 'threads': 1, 'verbose': False}), now_millis=1720906127517, stdout=.MyStringIO object at 0xf1941508>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 334s ConsoleTool command error 334s Traceback (most recent call last): 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1399, in run_command 334s return command.run(args) 334s ^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/console_tool.py", line 1171, in run 334s sync_folders( 334s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 334s return function(*wrapee_args, **wrapee_kwargs) 334s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/sync/sync.py", line 172, in sync_folders 334s source_folder.ensure_non_empty() 334s File "/tmp/autopkgtest.Evawbg/build.QJX/src/b2/sync/folder.py", line 121, in ensure_non_empty 334s raise CommandError( 334s b2.exception.CommandError: Directory /tmp/tmpirymi1vi is empty. Use --allowEmptySource to sync anyway. 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmp6dkp_mzz', 'b2://my-bucket'] 334s option threads is properly recognized as OPTION_ARGS 334s option noProgress is properly recognized as OPTION_FLAGS 334s option excludeAllSymlinks is properly recognized as OPTION_FLAGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmp6dkp_mzz', 'b2://my-bucket'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=1) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling sync_folders(source_folder=LocalFolder(/tmp/tmp6dkp_mzz), 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/tmp6dkp_mzz', 'threads': 1, 'verbose': False}), now_millis=1720906127526, stdout=.MyStringIO object at 0xf182fdf8>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 334s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 334s determined that File(test.txt, [FileVersion('/tmp/tmp6dkp_mzz/test.txt', 'test.txt', 1720906127517, 'upload')]) is not present on destination 334s scheduling action b2_upload(/tmp/tmp6dkp_mzz/test.txt, test.txt, 1720906127517) on bucket Bucket 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127517'}, min_part_size=None, progress_listener=) 334s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 334s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: sync, arguments: ['--includeRegex', '.incl', 'non-existent-local-folder', 'b2://my-bucket'] 334s option includeRegex is properly recognized as LIST_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--includeRegex', '.incl', 'non-existent-local-folder', 'b2://my-bucket'] 334s ConsoleTool 'includeRegex' specified without 'excludeRegex' 334s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 334s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 334s 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) 334s 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}) 334s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 334s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 334s Action: upload-file, arguments: ['--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmpev3337l5/test.txt', 'test.txt'] 334s option noProgress is properly recognized as OPTION_FLAGS 334s option threads is properly recognized as OPTION_ARGS 334s // ======================================== 1.3.8 ======================================== \\ 334s platform is Linux-6.5.0-35-generic-armv7l-with-glibc2.39 334s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 334s locale is ('C', 'UTF-8') 334s filesystem encoding is utf-8 334s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmpev3337l5/test.txt', 'test.txt'] 334s calling B2Api.set_thread_pool_size(self=, max_workers=5) 334s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 334s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpev3337l5/test.txt', file_name='test.txt', content_type=None, file_infos={'src_last_modified_millis': '1720906127537'}, sha1_sum=None, min_part_size=None, progress_listener=) 334s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720906127537'}, min_part_size=None, progress_listener=) 334s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 334s calling Bucket.start_large_file(self=Bucket, file_name='test.txt', content_type='b2/x-auto', file_info={'src_last_modified_millis': '1720906127537'}) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 334s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 334s test_authorize_key_without_list_buckets (test.test_console_tool.TestConsoleTool.test_authorize_key_without_list_buckets) ... ok 334s test_authorize_with_bad_key (test.test_console_tool.TestConsoleTool.test_authorize_with_bad_key) ... ok 334s test_authorize_with_good_key_using_hyphen (test.test_console_tool.TestConsoleTool.test_authorize_with_good_key_using_hyphen) ... ok 334s test_authorize_with_good_key_using_underscore (test.test_console_tool.TestConsoleTool.test_authorize_with_good_key_using_underscore) ... ok 334s test_bad_terminal (test.test_console_tool.TestConsoleTool.test_bad_terminal) ... ok 334s test_bucket_info_from_json (test.test_console_tool.TestConsoleTool.test_bucket_info_from_json) ... ok 334s test_bucket_missing_for_bucket_key (test.test_console_tool.TestConsoleTool.test_bucket_missing_for_bucket_key) ... ok 334s test_buckets (test.test_console_tool.TestConsoleTool.test_buckets) ... ok 334s test_cancel_all_large_file (test.test_console_tool.TestConsoleTool.test_cancel_all_large_file) ... ok 334s test_cancel_large_file (test.test_console_tool.TestConsoleTool.test_cancel_large_file) ... ok 334s test_clear_account (test.test_console_tool.TestConsoleTool.test_clear_account) ... ok 334s test_create_bucket_key_and_authorize_with_it (test.test_console_tool.TestConsoleTool.test_create_bucket_key_and_authorize_with_it) ... ok 334s test_create_key_and_authorize_with_it (test.test_console_tool.TestConsoleTool.test_create_key_and_authorize_with_it) ... ok 334s test_files (test.test_console_tool.TestConsoleTool.test_files) ... ok 334s test_get_account_info (test.test_console_tool.TestConsoleTool.test_get_account_info) ... ok 334s test_get_bucket (test.test_console_tool.TestConsoleTool.test_get_bucket) ... ok 334s test_get_bucket_complex (test.test_console_tool.TestConsoleTool.test_get_bucket_complex) ... ok 334s test_get_bucket_empty_show_size (test.test_console_tool.TestConsoleTool.test_get_bucket_empty_show_size) ... ok 334s test_get_bucket_one_item_show_size (test.test_console_tool.TestConsoleTool.test_get_bucket_one_item_show_size) ... ok 334s test_get_bucket_with_folders (test.test_console_tool.TestConsoleTool.test_get_bucket_with_folders) ... ok 334s test_get_bucket_with_hidden (test.test_console_tool.TestConsoleTool.test_get_bucket_with_hidden) ... ok 334s test_get_bucket_with_versions (test.test_console_tool.TestConsoleTool.test_get_bucket_with_versions) ... ok 334s test_get_download_auth_defaults (test.test_console_tool.TestConsoleTool.test_get_download_auth_defaults) ... ok 334s test_get_download_auth_explicit (test.test_console_tool.TestConsoleTool.test_get_download_auth_explicit) ... ok 334s test_get_download_auth_url (test.test_console_tool.TestConsoleTool.test_get_download_auth_url) ... ok 334s test_get_download_auth_url_with_encoding (test.test_console_tool.TestConsoleTool.test_get_download_auth_url_with_encoding) ... ok 334s test_help_with_bad_args (test.test_console_tool.TestConsoleTool.test_help_with_bad_args) ... ok 334s test_keys (test.test_console_tool.TestConsoleTool.test_keys) ... ok 334s test_list_buckets_not_allowed_for_app_key (test.test_console_tool.TestConsoleTool.test_list_buckets_not_allowed_for_app_key) ... ok 334s test_list_parts_with_none (test.test_console_tool.TestConsoleTool.test_list_parts_with_none) ... ok 334s test_list_parts_with_parts (test.test_console_tool.TestConsoleTool.test_list_parts_with_parts) ... ok 334s test_list_unfinished_large_files_with_none (test.test_console_tool.TestConsoleTool.test_list_unfinished_large_files_with_none) ... ok 334s test_list_unfinished_large_files_with_some (test.test_console_tool.TestConsoleTool.test_list_unfinished_large_files_with_some) ... ok 334s test_ls (test.test_console_tool.TestConsoleTool.test_ls) ... ok 334s test_ls_for_restricted_bucket (test.test_console_tool.TestConsoleTool.test_ls_for_restricted_bucket) ... ok 334s test_restrictions (test.test_console_tool.TestConsoleTool.test_restrictions) ... ok 334s test_sync (test.test_console_tool.TestConsoleTool.test_sync) ... ok 334s test_sync_dont_exclude_all_symlinks (test.test_console_tool.TestConsoleTool.test_sync_dont_exclude_all_symlinks) ... ok 334s test_sync_dry_run (test.test_console_tool.TestConsoleTool.test_sync_dry_run) ... ok 334s test_sync_empty_folder_when_enabled (test.test_console_tool.TestConsoleTool.test_sync_empty_folder_when_enabled) ... ok 334s test_sync_empty_folder_when_not_enabled (test.test_console_tool.TestConsoleTool.test_sync_empty_folder_when_not_enabled) ... ok 334s test_sync_exclude_all_symlinks (test.test_console_tool.TestConsoleTool.test_sync_exclude_all_symlinks) ... ok 334s test_sync_syntax_error (test.test_console_tool.TestConsoleTool.test_sync_syntax_error) ... ok 334s test_upload_large_file (test.test_console_tool.TestConsoleTool.test_upload_large_file) ... ok 334s 334s ---------------------------------------------------------------------- 334s Ran 291 tests in 1.253s 334s 334s OK (SKIP=1) 336s autopkgtest [21:28:49]: test command1: -----------------------] 341s autopkgtest [21:28:54]: test command1: - - - - - - - - - - results - - - - - - - - - - 341s command1 PASS 345s autopkgtest [21:28:58]: test command2: preparing testbed 426s autopkgtest [21:30:19]: testbed dpkg architecture: armhf 428s autopkgtest [21:30:21]: testbed apt version: 2.9.6 428s autopkgtest [21:30:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 437s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 439s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 439s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [3304 B] 439s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [399 kB] 440s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [49.8 kB] 440s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [76.7 kB] 440s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf c-n-f Metadata [1428 B] 440s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1368 B] 440s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf c-n-f Metadata [120 B] 440s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [387 kB] 440s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf c-n-f Metadata [6916 B] 440s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1784 B] 440s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf c-n-f Metadata [120 B] 442s Fetched 1062 kB in 3s (324 kB/s) 442s Reading package lists... 458s tee: /proc/self/fd/2: Permission denied 486s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 486s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 487s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 487s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 488s Reading package lists... 488s Reading package lists... 489s Building dependency tree... 489s Reading state information... 490s Calculating upgrade... 491s The following packages will be upgraded: 491s libelf1t64 python3-pkg-resources python3-setuptools ubuntu-pro-client 491s ubuntu-pro-client-l10n 491s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 491s Need to get 917 kB of archives. 491s After this operation, 465 kB of additional disk space will be used. 491s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf libelf1t64 armhf 0.191-2 [50.0 kB] 491s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf python3-setuptools all 70.3.0-2 [429 kB] 491s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf python3-pkg-resources all 70.3.0-2 [187 kB] 491s Get:4 http://ftpmaster.internal/ubuntu oracular/main armhf ubuntu-pro-client-l10n armhf 33.1 [19.2 kB] 491s Get:5 http://ftpmaster.internal/ubuntu oracular/main armhf ubuntu-pro-client armhf 33.1 [232 kB] 492s Fetched 917 kB in 1s (1625 kB/s) 493s (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 ... 58436 files and directories currently installed.) 493s Preparing to unpack .../libelf1t64_0.191-2_armhf.deb ... 493s Unpacking libelf1t64:armhf (0.191-2) over (0.191-1) ... 493s Preparing to unpack .../python3-setuptools_70.3.0-2_all.deb ... 493s Unpacking python3-setuptools (70.3.0-2) over (68.1.2-2ubuntu1) ... 493s Preparing to unpack .../python3-pkg-resources_70.3.0-2_all.deb ... 493s Unpacking python3-pkg-resources (70.3.0-2) over (68.1.2-2ubuntu1) ... 493s Preparing to unpack .../ubuntu-pro-client-l10n_33.1_armhf.deb ... 493s Unpacking ubuntu-pro-client-l10n (33.1) over (33) ... 493s Preparing to unpack .../ubuntu-pro-client_33.1_armhf.deb ... 493s Unpacking ubuntu-pro-client (33.1) over (33) ... 494s Setting up python3-pkg-resources (70.3.0-2) ... 494s Setting up python3-setuptools (70.3.0-2) ... 495s Setting up libelf1t64:armhf (0.191-2) ... 495s Setting up ubuntu-pro-client (33.1) ... 495s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 495s 495s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 495s 495s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 495s 497s Setting up ubuntu-pro-client-l10n (33.1) ... 497s Processing triggers for man-db (2.12.1-2) ... 498s Processing triggers for libc-bin (2.39-0ubuntu9) ... 498s Reading package lists... 499s Building dependency tree... 499s Reading state information... 500s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 502s autopkgtest [21:31:35]: rebooting testbed after setup commands that affected boot 618s Reading package lists... 619s Building dependency tree... 619s Reading state information... 619s Starting pkgProblemResolver with broken count: 0 620s Starting 2 pkgProblemResolver with broken count: 0 620s Done 621s The following additional packages will be installed: 621s backblaze-b2 python3-arrow python3-dateutil python3-logfury python3-tqdm 621s Suggested packages: 621s python-arrow-doc 621s The following NEW packages will be installed: 621s autopkgtest-satdep backblaze-b2 python3-arrow python3-dateutil 621s python3-logfury python3-tqdm 621s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 621s Need to get 310 kB/310 kB of archives. 621s After this operation, 1509 kB of additional disk space will be used. 621s Get:1 /tmp/autopkgtest.Evawbg/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [712 B] 621s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf python3-dateutil all 2.9.0-2 [80.3 kB] 622s Get:3 http://ftpmaster.internal/ubuntu oracular/main armhf python3-arrow all 1.2.3-1 [55.7 kB] 622s Get:4 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-logfury all 1.0.1-1 [7988 B] 622s Get:5 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-tqdm all 4.66.4-1 [91.3 kB] 622s Get:6 http://ftpmaster.internal/ubuntu oracular/universe armhf backblaze-b2 all 1.3.8-6 [74.4 kB] 623s Fetched 310 kB in 0s (622 kB/s) 623s Selecting previously unselected package python3-dateutil. 623s (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 ... 58496 files and directories currently installed.) 623s Preparing to unpack .../0-python3-dateutil_2.9.0-2_all.deb ... 623s Unpacking python3-dateutil (2.9.0-2) ... 623s Selecting previously unselected package python3-arrow. 623s Preparing to unpack .../1-python3-arrow_1.2.3-1_all.deb ... 623s Unpacking python3-arrow (1.2.3-1) ... 623s Selecting previously unselected package python3-logfury. 623s Preparing to unpack .../2-python3-logfury_1.0.1-1_all.deb ... 623s Unpacking python3-logfury (1.0.1-1) ... 623s Selecting previously unselected package python3-tqdm. 623s Preparing to unpack .../3-python3-tqdm_4.66.4-1_all.deb ... 623s Unpacking python3-tqdm (4.66.4-1) ... 623s Selecting previously unselected package backblaze-b2. 623s Preparing to unpack .../4-backblaze-b2_1.3.8-6_all.deb ... 623s Unpacking backblaze-b2 (1.3.8-6) ... 623s Selecting previously unselected package autopkgtest-satdep. 623s Preparing to unpack .../5-2-autopkgtest-satdep.deb ... 623s Unpacking autopkgtest-satdep (0) ... 623s Setting up python3-tqdm (4.66.4-1) ... 623s Setting up python3-logfury (1.0.1-1) ... 624s Setting up python3-dateutil (2.9.0-2) ... 624s Setting up python3-arrow (1.2.3-1) ... 624s Setting up backblaze-b2 (1.3.8-6) ... 624s /usr/lib/python3/dist-packages/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 624s """ 624s /usr/lib/python3/dist-packages/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 624s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 624s Setting up autopkgtest-satdep (0) ... 624s Processing triggers for man-db (2.12.1-2) ... 638s (Reading database ... 58690 files and directories currently installed.) 638s Removing autopkgtest-satdep (0) ... 651s autopkgtest [21:34:04]: test command2: HOME=$AUTOPKGTEST_TMP backblaze-b2 --help 2>&1 | grep -q "This program provides command-line access to the B2 service." 651s autopkgtest [21:34:04]: test command2: [----------------------- 656s autopkgtest [21:34:09]: test command2: -----------------------] 660s autopkgtest [21:34:13]: test command2: - - - - - - - - - - results - - - - - - - - - - 660s command2 PASS 664s autopkgtest [21:34:17]: @@@@@@@@@@@@@@@@@@@@ summary 664s command1 PASS 664s command2 PASS