0s autopkgtest [23:02:36]: starting date and time: 2024-07-13 23:02:36+0000 0s autopkgtest [23:02:36]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [23:02:36]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._xyhhl7l/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-5.secgroup --name adt-oracular-s390x-backblaze-b2-20240713-214838-juju-7f2275-prod-proposed-migration-environment-2-b4355702-cdc2-4543-b29a-2c21c0832922 --image adt/ubuntu-oracular-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 103s autopkgtest [23:04:19]: testbed dpkg architecture: s390x 103s autopkgtest [23:04:19]: testbed apt version: 2.9.6 103s autopkgtest [23:04:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 104s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 104s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [48.4 kB] 105s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 105s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 105s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [374 kB] 105s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x Packages [92.4 kB] 105s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x c-n-f Metadata [2112 B] 105s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x Packages [1368 B] 105s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x c-n-f Metadata [120 B] 105s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x Packages [414 kB] 105s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x c-n-f Metadata [8372 B] 105s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x Packages [1448 B] 105s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x c-n-f Metadata [120 B] 105s Fetched 1079 kB in 1s (1351 kB/s) 105s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s Calculating upgrade... 108s The following packages will be upgraded: 108s libdw1t64 libelf1t64 python3-pkg-resources python3-setuptools 108s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 969 kB of archives. 108s After this operation, 464 kB of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu oracular/main s390x libdw1t64 s390x 0.191-2 [285 kB] 108s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x libelf1t64 s390x 0.191-2 [68.6 kB] 108s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x python3-setuptools all 70.3.0-2 [429 kB] 108s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x python3-pkg-resources all 70.3.0-2 [187 kB] 109s Fetched 969 kB in 1s (1522 kB/s) 109s (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 ... 54720 files and directories currently installed.) 109s Preparing to unpack .../libdw1t64_0.191-2_s390x.deb ... 109s Unpacking libdw1t64:s390x (0.191-2) over (0.191-1) ... 109s Preparing to unpack .../libelf1t64_0.191-2_s390x.deb ... 109s Unpacking libelf1t64:s390x (0.191-2) over (0.191-1) ... 109s Preparing to unpack .../python3-setuptools_70.3.0-2_all.deb ... 109s Unpacking python3-setuptools (70.3.0-2) over (68.1.2-2ubuntu1) ... 109s Preparing to unpack .../python3-pkg-resources_70.3.0-2_all.deb ... 109s Unpacking python3-pkg-resources (70.3.0-2) over (68.1.2-2ubuntu1) ... 109s Setting up python3-pkg-resources (70.3.0-2) ... 109s Setting up python3-setuptools (70.3.0-2) ... 110s Setting up libelf1t64:s390x (0.191-2) ... 110s Setting up libdw1t64:s390x (0.191-2) ... 110s Processing triggers for libc-bin (2.39-0ubuntu9) ... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 111s Get:2 http://ftpmaster.internal/ubuntu oracular InRelease [121 kB] 111s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 111s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 111s Get:5 http://ftpmaster.internal/ubuntu oracular/universe Sources [20.3 MB] 114s Get:6 http://ftpmaster.internal/ubuntu oracular/multiverse Sources [301 kB] 114s Get:7 http://ftpmaster.internal/ubuntu oracular/main Sources [1378 kB] 114s Get:8 http://ftpmaster.internal/ubuntu oracular/main s390x Packages [1342 kB] 114s Get:9 http://ftpmaster.internal/ubuntu oracular/universe s390x Packages [14.9 MB] 118s Fetched 38.3 MB in 7s (5324 kB/s) 119s Reading package lists... 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s autopkgtest [23:04:38]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:14:26 UTC 2024 122s autopkgtest [23:04:38]: @@@@@@@@@@@@@@@@@@@@ apt-source backblaze-b2 124s Get:1 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (dsc) [2346 B] 124s Get:2 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (tar) [139 kB] 124s Get:3 http://ftpmaster.internal/ubuntu oracular/universe backblaze-b2 1.3.8-6 (diff) [81.2 kB] 124s gpgv: Signature made Tue Dec 6 18:54:13 2022 UTC 124s gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 124s gpgv: Can't check signature: No public key 124s dpkg-source: warning: cannot verify inline signature for ./backblaze-b2_1.3.8-6.dsc: no acceptable signature found 124s autopkgtest [23:04:40]: testing package backblaze-b2 version 1.3.8-6 125s autopkgtest [23:04:41]: build not needed 125s autopkgtest [23:04:41]: test command1: preparing testbed 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 127s The following additional packages will be installed: 127s backblaze-b2 python3-all python3-arrow python3-dateutil 127s python3-importlib-metadata python3-logfury python3-mock python3-nose 127s python3-platformdirs python3-pyflakes python3-tomli python3-tqdm 127s python3-yapf python3-zipp python3-zombie-imp yapf3 127s Suggested packages: 127s python-arrow-doc python-mock-doc python-nose-doc 127s Recommended packages: 127s pyflakes3 127s The following NEW packages will be installed: 127s autopkgtest-satdep backblaze-b2 python3-all python3-arrow python3-dateutil 127s python3-importlib-metadata python3-logfury python3-mock python3-nose 127s python3-platformdirs python3-pyflakes python3-tomli python3-tqdm 127s python3-yapf python3-zipp python3-zombie-imp yapf3 127s 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. 127s Need to get 801 kB/802 kB of archives. 127s After this operation, 4272 kB of additional disk space will be used. 127s Get:1 /tmp/autopkgtest.HabxfC/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [752 B] 127s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x python3-dateutil all 2.9.0-2 [80.3 kB] 127s Get:3 http://ftpmaster.internal/ubuntu oracular/main s390x python3-arrow all 1.2.3-1 [55.7 kB] 127s Get:4 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-logfury all 1.0.1-1 [7988 B] 127s Get:5 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-tqdm all 4.66.4-1 [91.3 kB] 127s Get:6 http://ftpmaster.internal/ubuntu oracular/universe s390x backblaze-b2 all 1.3.8-6 [74.4 kB] 127s Get:7 http://ftpmaster.internal/ubuntu oracular/main s390x python3-all s390x 3.12.3-0ubuntu1 [890 B] 127s Get:8 http://ftpmaster.internal/ubuntu oracular/main s390x python3-zipp all 3.19.2-2 [10.2 kB] 127s Get:9 http://ftpmaster.internal/ubuntu oracular/main s390x python3-importlib-metadata all 8.0.0-2 [19.4 kB] 127s Get:10 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-zombie-imp all 0.0.2-2 [11.9 kB] 127s Get:11 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-nose all 1.3.7-12 [117 kB] 127s Get:12 http://ftpmaster.internal/ubuntu oracular/main s390x python3-platformdirs all 4.2.1-1 [16.3 kB] 127s Get:13 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-pyflakes all 3.2.0-1 [52.8 kB] 127s Get:14 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-tomli all 2.0.1-2 [16.5 kB] 127s Get:15 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-yapf all 0.40.2-1 [166 kB] 127s Get:16 http://ftpmaster.internal/ubuntu oracular/universe s390x yapf3 all 0.40.2-1 [16.7 kB] 127s Get:17 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-mock all 5.1.0-1 [64.1 kB] 128s Fetched 801 kB in 1s (1174 kB/s) 128s Selecting previously unselected package python3-dateutil. 128s (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 ... 54780 files and directories currently installed.) 128s Preparing to unpack .../00-python3-dateutil_2.9.0-2_all.deb ... 128s Unpacking python3-dateutil (2.9.0-2) ... 128s Selecting previously unselected package python3-arrow. 128s Preparing to unpack .../01-python3-arrow_1.2.3-1_all.deb ... 128s Unpacking python3-arrow (1.2.3-1) ... 128s Selecting previously unselected package python3-logfury. 128s Preparing to unpack .../02-python3-logfury_1.0.1-1_all.deb ... 128s Unpacking python3-logfury (1.0.1-1) ... 128s Selecting previously unselected package python3-tqdm. 128s Preparing to unpack .../03-python3-tqdm_4.66.4-1_all.deb ... 128s Unpacking python3-tqdm (4.66.4-1) ... 128s Selecting previously unselected package backblaze-b2. 128s Preparing to unpack .../04-backblaze-b2_1.3.8-6_all.deb ... 128s Unpacking backblaze-b2 (1.3.8-6) ... 128s Selecting previously unselected package python3-all. 128s Preparing to unpack .../05-python3-all_3.12.3-0ubuntu1_s390x.deb ... 128s Unpacking python3-all (3.12.3-0ubuntu1) ... 128s Selecting previously unselected package python3-zipp. 128s Preparing to unpack .../06-python3-zipp_3.19.2-2_all.deb ... 128s Unpacking python3-zipp (3.19.2-2) ... 128s Selecting previously unselected package python3-importlib-metadata. 128s Preparing to unpack .../07-python3-importlib-metadata_8.0.0-2_all.deb ... 128s Unpacking python3-importlib-metadata (8.0.0-2) ... 128s Selecting previously unselected package python3-zombie-imp. 128s Preparing to unpack .../08-python3-zombie-imp_0.0.2-2_all.deb ... 128s Unpacking python3-zombie-imp (0.0.2-2) ... 128s Selecting previously unselected package python3-nose. 128s Preparing to unpack .../09-python3-nose_1.3.7-12_all.deb ... 128s Unpacking python3-nose (1.3.7-12) ... 128s Selecting previously unselected package python3-platformdirs. 128s Preparing to unpack .../10-python3-platformdirs_4.2.1-1_all.deb ... 128s Unpacking python3-platformdirs (4.2.1-1) ... 128s Selecting previously unselected package python3-pyflakes. 128s Preparing to unpack .../11-python3-pyflakes_3.2.0-1_all.deb ... 128s Unpacking python3-pyflakes (3.2.0-1) ... 128s Selecting previously unselected package python3-tomli. 128s Preparing to unpack .../12-python3-tomli_2.0.1-2_all.deb ... 128s Unpacking python3-tomli (2.0.1-2) ... 128s Selecting previously unselected package python3-yapf. 128s Preparing to unpack .../13-python3-yapf_0.40.2-1_all.deb ... 128s Unpacking python3-yapf (0.40.2-1) ... 128s Selecting previously unselected package yapf3. 128s Preparing to unpack .../14-yapf3_0.40.2-1_all.deb ... 128s Unpacking yapf3 (0.40.2-1) ... 128s Selecting previously unselected package python3-mock. 128s Preparing to unpack .../15-python3-mock_5.1.0-1_all.deb ... 128s Unpacking python3-mock (5.1.0-1) ... 128s Selecting previously unselected package autopkgtest-satdep. 128s Preparing to unpack .../16-1-autopkgtest-satdep.deb ... 128s Unpacking autopkgtest-satdep (0) ... 128s Setting up python3-zombie-imp (0.0.2-2) ... 128s Setting up python3-tomli (2.0.1-2) ... 128s Setting up python3-tqdm (4.66.4-1) ... 128s Setting up python3-pyflakes (3.2.0-1) ... 128s Setting up python3-all (3.12.3-0ubuntu1) ... 128s Setting up python3-zipp (3.19.2-2) ... 128s Setting up python3-nose (1.3.7-12) ... 129s /usr/lib/python3/dist-packages/nose/config.py:142: SyntaxWarning: invalid escape sequence '\.' 129s """nose configuration. 129s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:686: SyntaxWarning: invalid escape sequence '\S' 129s _INDENT_RE = re.compile('^([ ]*)(?=\S)', re.MULTILINE) 129s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1021: SyntaxWarning: invalid escape sequence '\s' 129s pat = re.compile('(^|.*:)\s*\w*("|\')') 129s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1430: SyntaxWarning: invalid escape sequence '\s' 129s want = re.sub('(?m)^%s\s*?$' % re.escape(BLANKLINE_MARKER), 129s /usr/lib/python3/dist-packages/nose/ext/dtcompat.py:1434: SyntaxWarning: invalid escape sequence '\s' 129s got = re.sub('(?m)^\s*?$', '', got) 129s /usr/lib/python3/dist-packages/nose/inspector.py:110: SyntaxWarning: invalid escape sequence '\ ' 129s """Find lines in home that are inspectable. 129s Setting up python3-platformdirs (4.2.1-1) ... 129s Setting up python3-mock (5.1.0-1) ... 129s Setting up python3-logfury (1.0.1-1) ... 129s Setting up python3-dateutil (2.9.0-2) ... 129s Setting up python3-importlib-metadata (8.0.0-2) ... 129s Setting up python3-arrow (1.2.3-1) ... 130s Setting up backblaze-b2 (1.3.8-6) ... 130s /usr/lib/python3/dist-packages/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 130s """ 130s /usr/lib/python3/dist-packages/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 130s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 130s Setting up python3-yapf (0.40.2-1) ... 130s Setting up yapf3 (0.40.2-1) ... 130s Setting up autopkgtest-satdep (0) ... 130s Processing triggers for man-db (2.12.1-2) ... 132s (Reading database ... 55283 files and directories currently installed.) 132s Removing autopkgtest-satdep (0) ... 133s autopkgtest [23:04:49]: test command1: set -e; for py in $(py3versions -i); do echo "[*] testing on $py:"; $py setup.py nosetests 2>&1; done 133s autopkgtest [23:04:49]: test command1: [----------------------- 133s [*] testing on python3.12: 133s running nosetests 133s running egg_info 133s creating b2.egg-info 133s writing b2.egg-info/PKG-INFO 133s writing dependency_links to b2.egg-info/dependency_links.txt 133s writing entry points to b2.egg-info/entry_points.txt 133s writing requirements to b2.egg-info/requires.txt 133s writing top-level names to b2.egg-info/top_level.txt 133s writing manifest file 'b2.egg-info/SOURCES.txt' 133s reading manifest file 'b2.egg-info/SOURCES.txt' 133s reading manifest template 'MANIFEST.in' 133s adding license file 'LICENSE' 133s writing manifest file 'b2.egg-info/SOURCES.txt' 133s /usr/lib/python3/dist-packages/nose/commands.py:143: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 133s !! 133s 133s ******************************************************************************** 133s Requirements should be satisfied by a PEP 517 installer. 133s If you are using pip, you can try `pip install --use-pep517`. 133s ******************************************************************************** 133s 133s !! 133s self.distribution.fetch_build_eggs( 133s WARNING: The wheel package is not available. 133s /usr/lib/python3/dist-packages/nose/commands.py:146: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 133s !! 133s 133s ******************************************************************************** 133s Requirements should be satisfied by a PEP 517 installer. 133s If you are using pip, you can try `pip install --use-pep517`. 133s ******************************************************************************** 133s 133s !! 133s self.distribution.fetch_build_eggs( 133s WARNING: The wheel package is not available. 133s /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. 133s warn("Use of multiple -w arguments is deprecated and " 134s /tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 134s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 134s /tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 134s """ 134s 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) 134s 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}) 134s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 134s warnings.warn("TestResult has no addDuration method", 134s calling InMemoryAccountInfo.save_bucket(self=, bucket=) 134s calling InMemoryAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') 134s 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) 134s 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}) 134s calling InMemoryAccountInfo.clear(self=) 134s calling UrlPoolAccountInfo.clear(self=) 134s calling AbstractAccountInfo.clear(self=) 134s calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') 134s calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') 134s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling InMemoryAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) 134s 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) 134s 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}) 134s 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) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 134s test_account_info_same_object (test.test_account_info.TestInMemoryAccountInfo.test_account_info_same_object) ... ok 134s test_bucket (test.test_account_info.TestInMemoryAccountInfo.test_bucket) ... ok 134s test_clear (test.test_account_info.TestInMemoryAccountInfo.test_clear) ... ok 134s test_clear_bucket_upload_data (test.test_account_info.TestInMemoryAccountInfo.test_clear_bucket_upload_data) ... ok 134s test_clear_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_clear_large_file_upload_urls) ... ok 134s test_large_file_upload_urls (test.test_account_info.TestInMemoryAccountInfo.test_large_file_upload_urls) ... ok 134s test_refresh_bucket (test.test_account_info.TestInMemoryAccountInfo.test_refresh_bucket) ... ok 134s test_set_auth_data_compatibility (test.test_account_info.TestInMemoryAccountInfo.test_set_auth_data_compatibility) ... ok 134s 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) 134s 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}) 134s 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}) 134s 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) 134s 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}) 134s 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}) 134s calling SqliteAccountInfo.save_bucket(self=, bucket=) 134s calling SqliteAccountInfo.remove_bucket_name(self=, bucket_name='my-bucket') 134s 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) 134s 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}) 134s 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}) 134s calling SqliteAccountInfo.clear(self=) 134s _get_account_info_or_raise encountered a problem while trying to retrieve "account_id" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "account_auth_token" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "api_url" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "application_key" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "download_url" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "realm" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s _get_account_info_or_raise encountered a problem while trying to retrieve "minimum_part_size" 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/account_info/sqlite_account_info.py", line 329, in _get_account_info_or_raise 134s value = cursor.fetchone()[0] 134s ~~~~~~~~~~~~~~~~~^^^ 134s TypeError: 'NoneType' object is not subscriptable 134s calling UrlPoolAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket-0') (hidden args: upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket-0') 134s calling UrlPoolAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket-0') 134s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.clear_large_file_upload_urls(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling UrlPoolAccountInfo.take_large_file_upload_url(self=, file_id='file_0') 134s calling SqliteAccountInfo.refresh_entire_bucket_name_cache(self=) (hidden args: name_id_iterable) 134s 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) 134s 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}) 134s 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}) 134s 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) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'bucketName': None, 'capabilities': ['readFiles'], 'namePrefix': None}) 134s 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') 134s 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') 134s test_account_info_persistence (test.test_account_info.TestSqliteAccountInfo.test_account_info_persistence) ... ok 134s test_account_info_same_object (test.test_account_info.TestSqliteAccountInfo.test_account_info_same_object) ... ok 134s test_bucket (test.test_account_info.TestSqliteAccountInfo.test_bucket) ... ok 134s test_clear (test.test_account_info.TestSqliteAccountInfo.test_clear) ... ok 134s test_clear_bucket_upload_data (test.test_account_info.TestSqliteAccountInfo.test_clear_bucket_upload_data) ... ok 134s test_clear_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_clear_large_file_upload_urls) ... ok 134s Tests converting from a JSON account info file, which is what version ... ok 134s Test that a corrupted file will be replaced with a blank file. ... ok 134s test_large_file_upload_urls (test.test_account_info.TestSqliteAccountInfo.test_large_file_upload_urls) ... ok 134s test_refresh_bucket (test.test_account_info.TestSqliteAccountInfo.test_refresh_bucket) ... ok 134s test_set_auth_data_compatibility (test.test_account_info.TestSqliteAccountInfo.test_set_auth_data_compatibility) ... ok 134s The 'allowed' field should be the default for upgraded databases. ... ok 134s The 'account_id_or_app_key_id' field should default to the account id. ... ok 134s test_clear (test.test_account_info.TestUploadUrlPool.test_clear) ... ok 134s test_put_and_take (test.test_account_info.TestUploadUrlPool.test_put_and_take) ... ok 134s test_take_empty (test.test_account_info.TestUploadUrlPool.test_take_empty) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.list_buckets(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.list_buckets(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 134s calling B2Api.list_buckets(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket1') 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='bucket1', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='bucket2', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': 'bucket1'}) 134s calling B2Api.list_buckets(self=, bucket_name='bucket2') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='bucket2') 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_key(self=, capabilities=['listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.authorize_automatically(self=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets'], 'namePrefix': None, 'bucketName': None}) 134s test_get_bucket_by_name_with_bucket_restriction (test.test_api.TestApi.test_get_bucket_by_name_with_bucket_restriction) ... ok 134s test_list_buckets (test.test_api.TestApi.test_list_buckets) ... ok 134s test_list_buckets_with_name (test.test_api.TestApi.test_list_buckets_with_name) ... ok 134s test_list_buckets_with_restriction (test.test_api.TestApi.test_list_buckets_with_restriction) ... ok 134s test_list_buckets_with_restriction_and_no_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_no_name) ... ok 134s test_list_buckets_with_restriction_and_wrong_name (test.test_api.TestApi.test_list_buckets_with_restriction_and_wrong_name) ... ok 134s test_reauthorize_with_app_key (test.test_api.TestApi.test_reauthorize_with_app_key) ... ok 134s test_callback (test.test_b2http.TestB2Http.test_callback) ... ok 134s test_get_content (test.test_b2http.TestB2Http.test_get_content) ... ok 134s test_post_json_return_json (test.test_b2http.TestB2Http.test_post_json_return_json) ... ok 134s server returned date in an inappropriate format 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/b2http.py", line 184, in post_request 134s server_time = arrow.get( 134s ^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/api.py", line 91, in get 134s return _factory.get(*args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/factory.py", line 295, in get 134s dt = parser.DateTimeParser(locale).parse( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse 134s raise ParserMatchError( 134s arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'bad format'. 134s server returned date in an inappropriate format 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/b2http.py", line 184, in post_request 134s server_time = arrow.get( 134s ^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/api.py", line 91, in get 134s return _factory.get(*args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/factory.py", line 295, in get 134s dt = parser.DateTimeParser(locale).parse( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/arrow/parser.py", line 325, in parse 134s raise ParserMatchError( 134s arrow.parser.ParserMatchError: Failed to match 'ddd, DD MMM YYYY HH:mm:ss ZZZ' when parsing 'Fri, 16 XXX 2016 20:52:30 GMT'. 134s test_bad_format (test.test_b2http.TestClockSkewHook.test_bad_format) ... ok 134s test_bad_month (test.test_b2http.TestClockSkewHook.test_bad_month) ... ok 134s test_negative_skew (test.test_b2http.TestClockSkewHook.test_negative_skew) ... ok 134s test_no_skew (test.test_b2http.TestClockSkewHook.test_no_skew) ... ok 134s test_positive_skew (test.test_b2http.TestClockSkewHook.test_positive_skew) ... ok 134s test_never_works (test.test_b2http.TestTranslateAndRetry.test_never_works) ... ok 134s test_non_retryable (test.test_b2http.TestTranslateAndRetry.test_non_retryable) ... ok 134s test_works_first_try (test.test_b2http.TestTranslateAndRetry.test_works_first_try) ... ok 134s test_works_second_try (test.test_b2http.TestTranslateAndRetry.test_works_second_try) ... ok 134s _translate_errors has intercepted an unexpected exception 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/b2http.py", line 50, in _translate_errors 134s response = fcn() 134s ^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/test/test_b2http.py", line 89, in fcn 134s raise Exception('a message') 134s Exception: a message 134s test_b2_error (test.test_b2http.TestTranslateErrors.test_b2_error) ... ok 134s test_broken_pipe (test.test_b2http.TestTranslateErrors.test_broken_pipe) ... ok 134s test_connection_error (test.test_b2http.TestTranslateErrors.test_connection_error) ... ok 134s test_connection_reset (test.test_b2http.TestTranslateErrors.test_connection_reset) ... ok 134s test_ok (test.test_b2http.TestTranslateErrors.test_ok) ... ok 134s test_partial_content (test.test_b2http.TestTranslateErrors.test_partial_content) ... ok 134s test_unknown_error (test.test_b2http.TestTranslateErrors.test_unknown_error) ... ok 134s test_unknown_host (test.test_b2http.TestTranslateErrors.test_unknown_host) ... ok 134s test_blocking (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_blocking) ... ok 134s test_no_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_no_exceptions) ... ok 134s test_return_future (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_return_future) ... ok 134s test_two_exceptions (test.test_bounded_queue_executor.TestBoundedQueueExecutor.test_two_exceptions) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s 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)) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s test_download_by_id_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_no_progress) ... ok 134s test_download_by_id_progress (test.test_bucket.TestDownloadDefault.test_download_by_id_progress) ... ok 134s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_exact_range) ... ok 134s test_download_by_id_progress_partial (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial) ... ok 134s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_inplace_overwrite) ... ok 134s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_partial_shifted_overwrite) ... ok 134s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadDefault.test_download_by_id_progress_range_one_off) ... ok 134s test_download_by_name_no_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_no_progress) ... ok 134s test_download_by_name_progress (test.test_bucket.TestDownloadDefault.test_download_by_name_progress) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(3, 4), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(5, 6), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(7, 9), Range(4, 6)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(3, 4), Range(3, 4)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(5, 6), Range(5, 6)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(7, 9), Range(7, 9)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(3, 4), Range(7, 8)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(5, 6), Range(9, 10)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(7, 9), Range(11, 13)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s 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)) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 134s retrieved a total of 3 bytes 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling ParallelDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s created part to download: PartToDownload(Range(0, 1), Range(0, 1)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(2, 3), Range(2, 3)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(4, 5), Range(4, 5)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(6, 7), Range(6, 7)) 134s retrieved a total of 2 bytes 134s created part to download: PartToDownload(Range(8, 10), Range(8, 10)) 134s retrieved a total of 3 bytes 134s test_download_by_id_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_no_progress) ... ok 134s test_download_by_id_progress (test.test_bucket.TestDownloadParallel.test_download_by_id_progress) ... ok 134s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_exact_range) ... ok 134s test_download_by_id_progress_partial (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial) ... ok 134s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_inplace_overwrite) ... ok 134s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_partial_shifted_overwrite) ... ok 134s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadParallel.test_download_by_id_progress_range_one_off) ... ok 134s test_download_by_name_no_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_no_progress) ... ok 134s test_download_by_name_progress (test.test_bucket.TestDownloadParallel.test_download_by_name_progress) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=None) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 10)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(3, 9)) 134s 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)) 134s 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) 134s 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)) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(5000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=5000) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_id(self=Bucket, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=(0, 11)) 134s 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)) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s test_download_by_id_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_no_progress) ... ok 134s test_download_by_id_progress (test.test_bucket.TestDownloadSimple.test_download_by_id_progress) ... ok 134s test_download_by_id_progress_exact_range (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_exact_range) ... ok 134s test_download_by_id_progress_partial (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial) ... ok 134s test_download_by_id_progress_partial_inplace_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_inplace_overwrite) ... ok 134s test_download_by_id_progress_partial_shifted_overwrite (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_partial_shifted_overwrite) ... ok 134s test_download_by_id_progress_range_one_off (test.test_bucket.TestDownloadSimple.test_download_by_id_progress_range_one_off) ... ok 134s test_download_by_name_no_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_no_progress) ... ok 134s test_download_by_name_progress (test.test_bucket.TestDownloadSimple.test_download_by_name_progress) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=1) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=1) 134s testEmpty (test.test_bucket.TestListParts.testEmpty) ... ok 134s testThree (test.test_bucket.TestListParts.testThree) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 134s calling Bucket.start_large_file(self=Bucket, file_name='file2.txt', content_type='text/plain', file_info={}) 134s calling Bucket.start_large_file(self=Bucket, file_name='file3.txt', content_type='text/plain', file_info={}) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=1) 134s test_empty (test.test_bucket.TestListUnfinished.test_empty) ... ok 134s test_one (test.test_bucket.TestListUnfinished.test_one) ... ok 134s test_three (test.test_bucket.TestListUnfinished.test_three) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.list_file_names(self=Bucket, start_filename='hello.txt', max_entries=1) 134s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.delete_file_version(self=Bucket, file_id='9999', file_name='hello.txt') 134s calling B2Api.delete_file_version(self=, file_id='9999', file_name='hello.txt') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.ls(self=Bucket, folder_to_list='foo', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.hide_file(self=Bucket, file_name='hello.txt') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='hello.txt', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='hello.txt', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='hello.txt', content_type=None, file_info=None) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2/sub2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=False, max_entries=None, recursive=False, fetch_count=1) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='a', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/2', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='bb/3', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='bb/3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload_bytes(self=Bucket, file_name='ccc', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='ccc', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.ls(self=Bucket, folder_to_list='bb', show_versions=True, max_entries=None, recursive=False, fetch_count=1) 134s test_delete_file_version (test.test_bucket.TestLs.test_delete_file_version) ... ok 134s test_empty (test.test_bucket.TestLs.test_empty) ... ok 134s test_hidden_file (test.test_bucket.TestLs.test_hidden_file) ... ok 134s test_one_file_at_root (test.test_bucket.TestLs.test_one_file_at_root) ... ok 134s test_started_large_file (test.test_bucket.TestLs.test_started_large_file) ... ok 134s test_three_files_at_root (test.test_bucket.TestLs.test_three_files_at_root) ... ok 134s test_three_files_in_dir (test.test_bucket.TestLs.test_three_files_in_dir) ... ok 134s test_three_files_multiple_versions (test.test_bucket.TestLs.test_three_files_multiple_versions) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.authorize_automatically(self=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s testCreateBucket (test.test_bucket.TestReauthorization.testCreateBucket) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp7ne22wy3/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpe9l3hwg3/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/0 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/0 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/1 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/2 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/3 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/4 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value1'}, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value1'}, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos={'property': 'value2'}, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info={'property': 'value2'}, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={'property': 'value2'}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.list_parts(self=Bucket, file_id='9999', start_part_number=None, batch_size=None) 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='b2/x-auto', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9998') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpfkxmrij_/file1', file_name='file1', content_type=None, file_infos=None, sha1_sum=None, min_part_size=None, progress_listener=None) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1', download_dest=, progress_listener=None, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1', download_dest=, progress_listener=None, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestBytes.capture_bytes_context(self=) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.upload_bytes(self=Bucket, file_name='file1', content_type=None, file_infos=None, progress_listener=None) (hidden args: data_bytes) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s error when uploading, upload_url was https://upload.example.com/bucket_0/0 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/bucket.py", line 413, in _upload_small_file 134s response = self.api.raw_api.upload_file( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 935, in upload_file 134s raise self.upload_errors.pop(0) 134s test.test_bucket.CanRetry: (None, None, None, None, None) 134s calling StubAccountInfo.clear_bucket_upload_data(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s test_upload_bytes (test.test_bucket.TestUpload.test_upload_bytes) ... ok 134s test_upload_bytes_progress (test.test_bucket.TestUpload.test_upload_bytes_progress) ... ok 134s test_upload_dead_symlink (test.test_bucket.TestUpload.test_upload_dead_symlink) ... ok 134s test_upload_fifo (test.test_bucket.TestUpload.test_upload_fifo) ... ok 134s test_upload_file_one_fatal_error (test.test_bucket.TestUpload.test_upload_file_one_fatal_error) ... ok 134s test_upload_file_too_many_retryable_errors (test.test_bucket.TestUpload.test_upload_file_too_many_retryable_errors) ... ok 134s test_upload_large (test.test_bucket.TestUpload.test_upload_large) ... ok 134s test_upload_large_resume (test.test_bucket.TestUpload.test_upload_large_resume) ... ok 134s test_upload_large_resume_all_parts_there (test.test_bucket.TestUpload.test_upload_large_resume_all_parts_there) ... ok 134s test_upload_large_resume_file_info (test.test_bucket.TestUpload.test_upload_large_resume_file_info) ... ok 134s test_upload_large_resume_file_info_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_file_info_does_not_match) ... ok 134s test_upload_large_resume_no_parts (test.test_bucket.TestUpload.test_upload_large_resume_no_parts) ... ok 134s test_upload_large_resume_part_does_not_match (test.test_bucket.TestUpload.test_upload_large_resume_part_does_not_match) ... ok 134s test_upload_large_resume_wrong_part_size (test.test_bucket.TestUpload.test_upload_large_resume_wrong_part_size) ... ok 134s test_upload_local_file (test.test_bucket.TestUpload.test_upload_local_file) ... ok 134s test_upload_one_retryable_error (test.test_bucket.TestUpload.test_upload_one_retryable_error) ... ok 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='file1.txt', content_type='text/plain', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s test_error_in_state (test.test_bucket.TestUploadPart.test_error_in_state) ... ok 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-key, arguments: ['key1', 'listKeys'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listKeys'] 134s calling B2Api.create_key(self=, capabilities=['listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listKeys'], 'namePrefix': None, 'bucketName': None}) 134s ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability 134s calling StubAccountInfo.clear(self=) 134s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 134s warnings.warn("TestResult has no addDuration method", 134s Action: authorize-account, arguments: ['account-0', 'bad-app-key'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s ConsoleTool account authorization error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 258, in run 134s self.api.authorize_account(realm, args.accountId, args.applicationKey) 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 126, in authorize_account 134s response = self.raw_api.authorize_account(realm_url, account_id_or_key_id, application_key) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 622, in authorize_account 134s raise InvalidAuthToken('secret key is wrong', 'unauthorized') 134s b2.exception.InvalidAuthToken: Invalid authorization token. Server said: secret key is wrong (unauthorized) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s 134s WARNING: Unable to print unicode. Encoding for stdout is: '' 134s Trying to print: ('Using http://production.example.com',) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: update-bucket, arguments: ['--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] 134s option bucketInfo is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', '--bucketInfo', '{"color": "blue"}', 'my-bucket', 'allPrivate'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.update(self=Bucket, bucket_type='allPrivate', bucket_info={'color': 'blue'}, cors_rules=None, lifecycle_rules=None, if_revision_is=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 134s option bucket is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s Action: delete-bucket, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.delete_bucket(self=, bucket=Bucket) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': None}) 134s ConsoleTool has bucket-restricted key and the bucket does not exist 134s calling StubAccountInfo.clear(self=) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['bad/bucket/name', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'bad/bucket/name', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='bad/bucket/name', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 358, in run 134s bucket = self.api.create_bucket( 134s ^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 152, in create_bucket 134s response = self.session.create_bucket( 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 660, in create_bucket 134s raise BadJson('illegal bucket name: ' + bucket_name) 134s b2.exception.BadJson: Bad request: illegal bucket name: bad/bucket/name 134s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-bucket, arguments: ['your-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'your-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='your-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: update-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.UpdateBucket] with arguments: ['b2', 'update_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.update(self=Bucket, bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None, if_revision_is=None) 134s Action: list-buckets, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list_buckets'] 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s Action: delete-bucket, arguments: ['your-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete_bucket', 'your-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='your-bucket') 134s calling B2Api.delete_bucket(self=, bucket=Bucket) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) 134s calling Bucket.start_large_file(self=Bucket, file_name='file2', content_type='text/plain', file_info={}) 134s Action: cancel-all-unfinished-large-files, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CancelAllUnfinishedLargeFiles] with arguments: ['b2', 'cancel_all_unfinished_large_files', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.cancel_large_file(self=Bucket, file_id='9999') 134s calling B2Api.cancel_large_file(self=, file_id='9999') 134s calling Bucket.cancel_large_file(self=Bucket, file_id='9998') 134s calling B2Api.cancel_large_file(self=, file_id='9998') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.start_large_file(self=Bucket, file_name='file1', content_type='text/plain', file_info={}) 134s Action: cancel-large-file, arguments: ['9999'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CancelLargeFile] with arguments: ['b2', 'cancel_large_file', '9999'] 134s calling B2Api.cancel_large_file(self=, file_id='9999') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: clear-account, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ClearAccount] with arguments: ['b2', 'clear-account'] 134s calling StubAccountInfo.clear(self=) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] 134s option bucket is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'key1', 'listKeys,listBuckets'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.create_key(self=, capabilities=['listKeys', 'listBuckets'], key_name='key1', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listKeys', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket'}) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-key, arguments: ['key1', 'listBuckets,listKeys'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'key1', 'listBuckets,listKeys'] 134s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listKeys'], key_name='key1', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listBuckets', 'listKeys'], 'namePrefix': None, 'bucketName': None}) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmp0q711bcq/file1.txt', 'file1.txt'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmp0q711bcq/file1.txt', 'file1.txt'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=10) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp0q711bcq/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=) 134s 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=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: get-file-info, arguments: ['9999'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetFileInfo] with arguments: ['b2', 'get_file_info', '9999'] 134s Action: download-file-by-name, arguments: ['--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmp0q711bcq/download1.txt'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DownloadFileByName] with arguments: ['b2', 'download_file_by_name', '--noProgress', 'my-bucket', 'file1.txt', '/tmp/tmp0q711bcq/download1.txt'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.download_file_by_name(self=Bucket, file_name='file1.txt', download_dest=, progress_listener=, range_=None) 134s calling Transferer.download_file_from_url(self=, url='http://download.example.com/file/my-bucket/file1.txt', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s Action: download-file-by-id, arguments: ['--noProgress', '9999', '/tmp/tmp0q711bcq/download2.txt'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DownloadFileById] with arguments: ['b2', 'download_file_by_id', '--noProgress', '9999', '/tmp/tmp0q711bcq/download2.txt'] 134s calling B2Api.download_file_by_id(self=, file_id='9999', download_dest=, progress_listener=, range_=None) 134s 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) 134s 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) 134s 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) 134s 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) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500111222000) 134s calling ParallelDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.is_suitable(self=, metadata=, progress_listener=) 134s calling SimpleDownloader.download(self=, file=, response=, metadata=, session=) 134s calling AbstractDownloader._get_remote_range(cls=, response=, metadata=) 134s Action: hide-file, arguments: ['my-bucket', 'file1.txt'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'file1.txt'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='file1.txt') 134s Action: list-file-versions, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListFileVersions] with arguments: ['b2', 'list_file_versions', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_file_versions(self=Bucket, start_filename=None, start_file_id=None, max_entries=None) 134s Action: list-file-names, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 134s Action: delete-file-version, arguments: ['file1.txt', '9998'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', 'file1.txt', '9998'] 134s calling B2Api.delete_file_version(self=, file_id='9998', file_name='file1.txt') 134s Action: delete-file-version, arguments: ['9999'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteFileVersion] with arguments: ['b2', 'delete_file_version', '9999'] 134s calling B2Api.delete_file_version(self=, file_id='9999', file_name='file1.txt') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: get-account-info, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetAccountInfo] with arguments: ['b2', 'get-account-info'] 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-bucket, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: hide-file, arguments: ['my-bucket', '1/hidden1'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') 134s Action: hide-file, arguments: ['my-bucket', '1/hidden1'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden1'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/hidden1') 134s Action: hide-file, arguments: ['my-bucket', '1/hidden2'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/hidden2'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/hidden2') 134s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 134s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 134s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 134s Action: hide-file, arguments: ['my-bucket', '1/2/hidden3'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', '1/2/hidden3'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='1/2/hidden3') 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: upload-file, arguments: ['--noProgress', 'my-bucket', '/tmp/tmp4svip8wg/file1.txt', 'file1.txt'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', 'my-bucket', '/tmp/tmp4svip8wg/file1.txt', 'file1.txt'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=10) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmp4svip8wg/file1.txt', file_name='file1.txt', content_type=None, file_infos={'src_last_modified_millis': '1720911890671'}, sha1_sum=None, min_part_size=None, progress_listener=) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='file1.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890671'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='1/check', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s 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) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload3', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload4', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload5', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='upload6', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: hide-file, arguments: ['my-bucket', 'hidden1'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden1'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='hidden1') 134s Action: hide-file, arguments: ['my-bucket', 'hidden2'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden2'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='hidden2') 134s Action: hide-file, arguments: ['my-bucket', 'hidden3'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden3'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='hidden3') 134s Action: hide-file, arguments: ['my-bucket', 'hidden4'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.HideFile] with arguments: ['b2', 'hide_file', 'my-bucket', 'hidden4'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.hide_file(self=Bucket, file_name='hidden4') 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: get-bucket, arguments: ['--showSize', 'my-bucket'] 134s option showSize is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', '--showSize', 'my-bucket'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-download-auth, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-download-auth, arguments: ['--prefix', 'prefix', '--duration', '12345', 'my-bucket'] 134s option prefix is properly recognized as OPTION_ARGS 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetDownloadAuth] with arguments: ['b2', 'get_download_auth', '--prefix', 'prefix', '--duration', '12345', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', 'my-file'] 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', 'my-file'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: get-download-url-with-auth, arguments: ['--duration', '12345', 'my-bucket', '自'] 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetDownloadUrlWithAuth] with arguments: ['b2', 'get-download-url-with-auth', '--duration', '12345', 'my-bucket', '自'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s Action: list-parts, arguments: [] 134s lack of required positional argument: largeFileId 134s ConsoleTool 'args is None' - printing usage 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket-a', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-a', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket-a', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-bucket, arguments: ['my-bucket-b', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-b', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket-b', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-bucket, arguments: ['my-bucket-c', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket-c', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket-c', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['bad_key_name', 'readFiles,listBuckets'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'bad_key_name', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='bad_key_name', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 407, in run 134s response = self.api.create_key( 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 298, in create_key 134s response = self.session.create_key( 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 678, in create_key 134s raise BadJson('illegal key name: ' + key_name) 134s b2.exception.BadJson: Bad request: illegal key name: bad_key_name 134s Action: create-key, arguments: ['--duration', '-456', 'goodKeyName', 'readFiles,listBuckets'] 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '-456', 'goodKeyName', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=-456, bucket_id=None, name_prefix=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 407, in run 134s response = self.api.create_key( 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 298, in create_key 134s response = self.session.create_key( 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 681, in create_key 134s raise BadJson( 134s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 134s Action: create-key, arguments: ['--duration', '0', 'goodKeyName', 'readFiles,listBuckets'] 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '0', 'goodKeyName', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=0, bucket_id=None, name_prefix=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 407, in run 134s response = self.api.create_key( 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 298, in create_key 134s response = self.session.create_key( 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 681, in create_key 134s raise BadJson( 134s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 134s Action: create-key, arguments: ['--duration', '86400001', 'goodKeyName', 'readFiles,listBuckets'] 134s option duration is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', '--duration', '86400001', 'goodKeyName', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName', valid_duration_seconds=86400001, bucket_id=None, name_prefix=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 407, in run 134s response = self.api.create_key( 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 298, in create_key 134s response = self.session.create_key( 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 681, in create_key 134s raise BadJson( 134s b2.exception.BadJson: Bad request: valid duration must be greater than 0, and less than 1000 days in seconds 134s Action: create-key, arguments: ['goodKeyName-One', 'readFiles,listBuckets'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'goodKeyName-One', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s Action: create-key, arguments: ['--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] 134s option bucket is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-a', 'goodKeyName-Two', 'readFiles,listBuckets'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Two', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s Action: create-key, arguments: ['--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] 134s option bucket is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket-b', 'goodKeyName-Three', 'readFiles,listBuckets'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-Three', valid_duration_seconds=None, bucket_id='bucket_1', name_prefix=None) 134s Action: delete-key, arguments: ['abc123'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteKey] with arguments: ['b2', 'delete_key', 'abc123'] 134s calling B2Api.delete_key(self=, application_key_id='abc123') 134s Action: delete-bucket, arguments: ['my-bucket-b'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.DeleteBucket] with arguments: ['b2', 'delete-bucket', 'my-bucket-b'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-b') 134s calling B2Api.delete_bucket(self=, bucket=Bucket) 134s Action: list-keys, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys'] 134s calling B2Api.list_keys(self=, start_application_key_id=None) 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s Action: list-keys, arguments: ['--long'] 134s option long is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListKeys] with arguments: ['b2', 'list_keys', '--long'] 134s calling B2Api.list_keys(self=, start_application_key_id=None) 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': None}) 134s Action: list-buckets, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s Action: get-bucket, arguments: ['my-bucket-a'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s Action: authorize-account, arguments: ['appKeyId1', 'appKey1'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['readFiles', 'listBuckets'], 'namePrefix': None, 'bucketName': 'my-bucket-a'}) 134s Action: list-buckets, arguments: [] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListBuckets] with arguments: ['b2', 'list-buckets'] 134s calling B2Api.list_buckets(self=, bucket_name=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 755, in run 134s for b in self.api.list_buckets(): 134s ^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 230, in list_buckets 134s self.check_bucket_restrictions(bucket_name) 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 342, in check_bucket_restrictions 134s raise RestrictedBucket(allowed_bucket_name) 134s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 134s Action: get-bucket, arguments: ['my-bucket-c'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-c'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket-c') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 587, in run 134s for b in self.api.list_buckets(args.bucketName): 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 230, in list_buckets 134s self.check_bucket_restrictions(bucket_name) 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 342, in check_bucket_restrictions 134s raise RestrictedBucket(allowed_bucket_name) 134s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 134s Action: get-bucket, arguments: ['my-bucket-a'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.GetBucket] with arguments: ['b2', 'get-bucket', 'my-bucket-a'] 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-a') 134s Action: list-file-names, arguments: ['my-bucket-c'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list-file-names', 'my-bucket-c'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket-c') 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 802, in run 134s bucket = self.api.get_bucket_by_name(args.bucketName) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 190, in get_bucket_by_name 134s self.check_bucket_restrictions(bucket_name) 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 342, in check_bucket_restrictions 134s raise RestrictedBucket(allowed_bucket_name) 134s b2.exception.RestrictedBucket: Application key is restricted to bucket: my-bucket-a 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['my-key', 'listFiles'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', 'my-key', 'listFiles'] 134s calling B2Api.create_key(self=, capabilities=['listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': None, 'capabilities': ['listFiles'], 'namePrefix': None, 'bucketName': None}) 134s ConsoleTool cannot work with a bucket-restricted key and no listBuckets capability 134s calling StubAccountInfo.clear(self=) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) 134s Action: list-parts, arguments: ['9999'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.start_large_file(self=Bucket, file_name='file', content_type='text/plain', file_info={}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s Action: list-parts, arguments: ['9999'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListParts] with arguments: ['b2', 'list_parts', '9999'] 134s calling B2Api.list_parts(self=, file_id='9999', start_part_number=None, batch_size=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: list-unfinished-large-files, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: list-unfinished-large-files, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListUnfinishedLargeFiles] with arguments: ['b2', 'list_unfinished_large_files', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: ls, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='a', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b1', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='b/b2', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='c', content_type=None, file_info=None, min_part_size=None, progress_listener=None) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: ls, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s Action: ls, arguments: ['--recursive', 'my-bucket'] 134s option recursive is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--recursive', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=True, fetch_count=100) 134s Action: ls, arguments: ['--long', 'my-bucket'] 134s option long is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s Action: ls, arguments: ['--long', '--versions', 'my-bucket'] 134s option long is properly recognized as OPTION_FLAGS 134s option versions is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', '--long', '--versions', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=False, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'my-bucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 134s option bucket is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'my-bucket', 'my-key', 'listBuckets,listFiles'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.create_key(self=, capabilities=['listBuckets', 'listFiles'], key_name='my-key', valid_duration_seconds=None, bucket_id='bucket_0', name_prefix=None) 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'listFiles'], 'namePrefix': None, 'bucketName': 'my-bucket'}) 134s Action: ls, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Ls] with arguments: ['b2', 'ls', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.list_buckets(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=False, max_entries=None, recursive=False, fetch_count=100) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['restrictedBucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'restrictedBucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='restrictedBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-bucket, arguments: ['otherBucket', 'allPrivate'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create-bucket', 'otherBucket', 'allPrivate'] 134s calling B2Api.create_bucket(self=, name='otherBucket', bucket_type='allPrivate', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: create-key, arguments: ['--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] 134s option bucket is properly recognized as OPTION_ARGS 134s option namePrefix is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create-key', '--bucket', 'restrictedBucket', '--namePrefix', 'some/file/prefix/', 'my-key', 'listBuckets,readFiles'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='restrictedBucket') 134s 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/') 134s Action: authorize-account, arguments: ['appKeyId0', 'appKey0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s calling AbstractAccountInfo.allowed_is_valid(cls=, allowed={'bucketId': 'bucket_0', 'capabilities': ['listBuckets', 'readFiles'], 'namePrefix': 'some/file/prefix/', 'bucketName': 'restrictedBucket'}) 134s Action: create-key, arguments: ['goodKeyName-One', 'readFiles,listBuckets'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateKey] with arguments: ['b2', 'create_key', 'goodKeyName-One', 'readFiles,listBuckets'] 134s calling B2Api.create_key(self=, capabilities=['readFiles', 'listBuckets'], key_name='goodKeyName-One', valid_duration_seconds=None, bucket_id=None, name_prefix=None) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 39, in wrapper 134s return f(api_url, account_auth_token, *args, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 684, in create_key 134s self._assert_account_auth(api_url, account_auth_token, account_id, 'writeKeys') 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/raw_simulator.py", line 967, in _assert_account_auth 134s raise Unauthorized('', 'unauthorized') 134s b2.exception.Unauthorized: (unauthorized) 134s 134s During handling of the above exception, another exception occurred: 134s 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 407, in run 134s response = self.api.create_key( 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/api.py", line 298, in create_key 134s response = self.session.create_key( 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/session.py", line 50, in wrapper 134s raise self._add_app_key_info_to_unauthorized(e) 134s 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) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--threads', '5', '--noProgress', '/tmp/tmpch86tqcb', 'b2://my-bucket'] 134s option threads is properly recognized as OPTION_ARGS 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '5', '--noProgress', '/tmp/tmpch86tqcb', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=5) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmpch86tqcb), 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/tmpch86tqcb', 'threads': 5, 'verbose': False}), now_millis=1720911890771, stdout=.MyStringIO object at 0x3ff93883a00>, no_progress=True, max_workers=5, policies_manager=, dry_run=False, allow_empty_source=False) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s determined that File(test.txt, [FileVersion('/tmp/tmpch86tqcb/test.txt', 'test.txt', 1720911890761, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmpch86tqcb/test.txt, test.txt, 1720911890761) on bucket Bucket 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890761'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmpg1xy8q61', 'b2://my-bucket'] 134s option threads is properly recognized as OPTION_ARGS 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmpg1xy8q61', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=1) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmpg1xy8q61), 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/tmpg1xy8q61', 'threads': 1, 'verbose': False}), now_millis=1720911890775, stdout=.MyStringIO object at 0x3ff93883f40>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s determined that File(alink, [FileVersion('/tmp/tmpg1xy8q61/alink', 'alink', 1720911890771, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmpg1xy8q61/alink, alink, 1720911890771) on bucket Bucket 134s determined that File(test.txt, [FileVersion('/tmp/tmpg1xy8q61/test.txt', 'test.txt', 1720911890771, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmpg1xy8q61/test.txt, test.txt, 1720911890771) on bucket Bucket 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='alink', content_type=None, file_info={'src_last_modified_millis': '1720911890771'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890771'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--noProgress', '--dryRun', '/tmp/tmp2xd152sn', 'b2://my-bucket'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s option dryRun is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '--dryRun', '/tmp/tmp2xd152sn', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=10) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmp2xd152sn), 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/tmp2xd152sn', 'threads': None, 'verbose': False}), now_millis=1720911890779, stdout=.MyStringIO object at 0x3ff93883a00>, no_progress=True, max_workers=10, policies_manager=, dry_run=True, allow_empty_source=False) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s determined that File(test-dry-run.txt, [FileVersion('/tmp/tmp2xd152sn/test-dry-run.txt', 'test-dry-run.txt', 1720911890771, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmp2xd152sn/test-dry-run.txt, test-dry-run.txt, 1720911890771) on bucket Bucket 134s Action: list-file-names, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 134s Action: sync, arguments: ['--noProgress', '/tmp/tmp2xd152sn', 'b2://my-bucket'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--noProgress', '/tmp/tmp2xd152sn', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=10) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmp2xd152sn), 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/tmp2xd152sn', 'threads': None, 'verbose': False}), now_millis=1720911890782, stdout=.MyStringIO object at 0x3ff93883a00>, no_progress=True, max_workers=10, policies_manager=, dry_run=False, allow_empty_source=False) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s determined that File(test-dry-run.txt, [FileVersion('/tmp/tmp2xd152sn/test-dry-run.txt', 'test-dry-run.txt', 1720911890771, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmp2xd152sn/test-dry-run.txt, test-dry-run.txt, 1720911890771) on bucket Bucket 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test-dry-run.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890771'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: list-file-names, arguments: ['my-bucket'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.ListFileNames] with arguments: ['b2', 'list_file_names', 'my-bucket'] 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.list_file_names(self=Bucket, start_filename=None, max_entries=None) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpqmv_v0k2', 'b2://my-bucket'] 134s option threads is properly recognized as OPTION_ARGS 134s option noProgress is properly recognized as OPTION_FLAGS 134s option allowEmptySource is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--allowEmptySource', '/tmp/tmpqmv_v0k2', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=1) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmpqmv_v0k2), 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/tmpqmv_v0k2', 'threads': 1, 'verbose': False}), now_millis=1720911890787, stdout=.MyStringIO object at 0x3ff93883a00>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=True) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--threads', '1', '--noProgress', '/tmp/tmpp4spr2a8', 'b2://my-bucket'] 134s option threads is properly recognized as OPTION_ARGS 134s option noProgress is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '/tmp/tmpp4spr2a8', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=1) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmpp4spr2a8), 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/tmpp4spr2a8', 'threads': 1, 'verbose': False}), now_millis=1720911890790, stdout=.MyStringIO object at 0x3ff93883f40>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 134s ConsoleTool command error 134s Traceback (most recent call last): 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1399, in run_command 134s return command.run(args) 134s ^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/console_tool.py", line 1171, in run 134s sync_folders( 134s File "/usr/lib/python3/dist-packages/logfury/_logfury/trace_call.py", line 86, in wrapper 134s return function(*wrapee_args, **wrapee_kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/sync/sync.py", line 172, in sync_folders 134s source_folder.ensure_non_empty() 134s File "/tmp/autopkgtest.HabxfC/build.LxV/src/b2/sync/folder.py", line 121, in ensure_non_empty 134s raise CommandError( 134s b2.exception.CommandError: Directory /tmp/tmpp4spr2a8 is empty. Use --allowEmptySource to sync anyway. 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmprctvyejs', 'b2://my-bucket'] 134s option threads is properly recognized as OPTION_ARGS 134s option noProgress is properly recognized as OPTION_FLAGS 134s option excludeAllSymlinks is properly recognized as OPTION_FLAGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--threads', '1', '--noProgress', '--excludeAllSymlinks', '/tmp/tmprctvyejs', 'b2://my-bucket'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=1) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling sync_folders(source_folder=LocalFolder(/tmp/tmprctvyejs), 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/tmprctvyejs', 'threads': 1, 'verbose': False}), now_millis=1720911890793, stdout=.MyStringIO object at 0x3ff93883a00>, no_progress=True, max_workers=1, policies_manager=, dry_run=False, allow_empty_source=False) 134s calling Bucket.ls(self=Bucket, folder_to_list='', show_versions=True, max_entries=None, recursive=True, fetch_count=1000) 134s determined that File(test.txt, [FileVersion('/tmp/tmprctvyejs/test.txt', 'test.txt', 1720911890781, 'upload')]) is not present on destination 134s scheduling action b2_upload(/tmp/tmprctvyejs/test.txt, test.txt, 1720911890781) on bucket Bucket 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890781'}, min_part_size=None, progress_listener=) 134s calling StubAccountInfo.take_bucket_upload_url(self=, bucket_id='bucket_0') 134s calling StubAccountInfo.put_bucket_upload_url(self=, bucket_id='bucket_0') (hidden args: upload_url, upload_auth_token) 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: sync, arguments: ['--includeRegex', '.incl', 'non-existent-local-folder', 'b2://my-bucket'] 134s option includeRegex is properly recognized as LIST_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.Sync] with arguments: ['b2', 'sync', '--includeRegex', '.incl', 'non-existent-local-folder', 'b2://my-bucket'] 134s ConsoleTool 'includeRegex' specified without 'excludeRegex' 134s Action: authorize-account, arguments: ['account-0', 'masterKey-0'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.AuthorizeAccount] (arguments hidden) 134s calling B2Api.authorize_account(self=, realm='production') (hidden args: account_id_or_key_id, application_key) 134s calling AbstractAccountInfo.set_auth_data(self=, api_url='http://api.example.com', download_url='http://download.example.com', minimum_part_size=200, realm='production') (hidden args: account_id, auth_token, application_key, allowed, account_id_or_app_key_id) 134s 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}) 134s Action: create-bucket, arguments: ['my-bucket', 'allPublic'] 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.CreateBucket] with arguments: ['b2', 'create_bucket', 'my-bucket', 'allPublic'] 134s calling B2Api.create_bucket(self=, name='my-bucket', bucket_type='allPublic', bucket_info=None, cors_rules=None, lifecycle_rules=None) 134s Action: upload-file, arguments: ['--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmpnxq6a8uf/test.txt', 'test.txt'] 134s option noProgress is properly recognized as OPTION_FLAGS 134s option threads is properly recognized as OPTION_ARGS 134s // ======================================== 1.3.8 ======================================== \\ 134s platform is Linux-6.8.0-31-generic-s390x-with-glibc2.39 134s Python version is CPython 3.12.4 (main, Jun 27 2024, 13:53:59) [GCC 13.3.0] 134s locale is ('C', 'UTF-8') 134s filesystem encoding is utf-8 134s starting command [b2.console_tool.UploadFile] with arguments: ['b2', 'upload_file', '--noProgress', '--threads', '5', 'my-bucket', '/tmp/tmpnxq6a8uf/test.txt', 'test.txt'] 134s calling B2Api.set_thread_pool_size(self=, max_workers=5) 134s calling B2Api.check_bucket_restrictions(self=, bucket_name='my-bucket') 134s calling Bucket.upload_local_file(self=Bucket, local_file='/tmp/tmpnxq6a8uf/test.txt', file_name='test.txt', content_type=None, file_infos={'src_last_modified_millis': '1720911890791'}, sha1_sum=None, min_part_size=None, progress_listener=) 134s calling Bucket.upload(self=Bucket, upload_source=, file_name='test.txt', content_type=None, file_info={'src_last_modified_millis': '1720911890791'}, min_part_size=None, progress_listener=) 134s calling Bucket.list_unfinished_large_files(self=Bucket, start_file_id=None, batch_size=None) 134s calling Bucket.start_large_file(self=Bucket, file_name='test.txt', content_type='b2/x-auto', file_info={'src_last_modified_millis': '1720911890791'}) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s calling StubAccountInfo.take_large_file_upload_url(self=, file_id='9999') 134s calling StubAccountInfo.put_large_file_upload_url(self=) (hidden args: file_id, upload_url, upload_auth_token) 134s test_authorize_key_without_list_buckets (test.test_console_tool.TestConsoleTool.test_authorize_key_without_list_buckets) ... ok 134s test_authorize_with_bad_key (test.test_console_tool.TestConsoleTool.test_authorize_with_bad_key) ... ok 134s test_authorize_with_good_key_using_hyphen (test.test_console_tool.TestConsoleTool.test_authorize_with_good_key_using_hyphen) ... ok 134s test_authorize_with_good_key_using_underscore (test.test_console_tool.TestConsoleTool.test_authorize_with_good_key_using_underscore) ... ok 134s test_bad_terminal (test.test_console_tool.TestConsoleTool.test_bad_terminal) ... ok 134s test_bucket_info_from_json (test.test_console_tool.TestConsoleTool.test_bucket_info_from_json) ... ok 134s test_bucket_missing_for_bucket_key (test.test_console_tool.TestConsoleTool.test_bucket_missing_for_bucket_key) ... ok 134s test_buckets (test.test_console_tool.TestConsoleTool.test_buckets) ... ok 134s test_cancel_all_large_file (test.test_console_tool.TestConsoleTool.test_cancel_all_large_file) ... ok 134s test_cancel_large_file (test.test_console_tool.TestConsoleTool.test_cancel_large_file) ... ok 134s test_clear_account (test.test_console_tool.TestConsoleTool.test_clear_account) ... ok 134s test_create_bucket_key_and_authorize_with_it (test.test_console_tool.TestConsoleTool.test_create_bucket_key_and_authorize_with_it) ... ok 134s test_create_key_and_authorize_with_it (test.test_console_tool.TestConsoleTool.test_create_key_and_authorize_with_it) ... ok 134s test_files (test.test_console_tool.TestConsoleTool.test_files) ... ok 134s test_get_account_info (test.test_console_tool.TestConsoleTool.test_get_account_info) ... ok 134s test_get_bucket (test.test_console_tool.TestConsoleTool.test_get_bucket) ... ok 134s test_get_bucket_complex (test.test_console_tool.TestConsoleTool.test_get_bucket_complex) ... ok 134s test_get_bucket_empty_show_size (test.test_console_tool.TestConsoleTool.test_get_bucket_empty_show_size) ... ok 134s test_get_bucket_one_item_show_size (test.test_console_tool.TestConsoleTool.test_get_bucket_one_item_show_size) ... ok 134s test_get_bucket_with_folders (test.test_console_tool.TestConsoleTool.test_get_bucket_with_folders) ... ok 134s test_get_bucket_with_hidden (test.test_console_tool.TestConsoleTool.test_get_bucket_with_hidden) ... ok 134s test_get_bucket_with_versions (test.test_console_tool.TestConsoleTool.test_get_bucket_with_versions) ... ok 134s test_get_download_auth_defaults (test.test_console_tool.TestConsoleTool.test_get_download_auth_defaults) ... ok 134s test_get_download_auth_explicit (test.test_console_tool.TestConsoleTool.test_get_download_auth_explicit) ... ok 134s test_get_download_auth_url (test.test_console_tool.TestConsoleTool.test_get_download_auth_url) ... ok 134s test_get_download_auth_url_with_encoding (test.test_console_tool.TestConsoleTool.test_get_download_auth_url_with_encoding) ... ok 134s test_help_with_bad_args (test.test_console_tool.TestConsoleTool.test_help_with_bad_args) ... ok 134s test_keys (test.test_console_tool.TestConsoleTool.test_keys) ... ok 134s test_list_buckets_not_allowed_for_app_key (test.test_console_tool.TestConsoleTool.test_list_buckets_not_allowed_for_app_key) ... ok 134s test_list_parts_with_none (test.test_console_tool.TestConsoleTool.test_list_parts_with_none) ... ok 134s test_list_parts_with_parts (test.test_console_tool.TestConsoleTool.test_list_parts_with_parts) ... ok 134s test_list_unfinished_large_files_with_none (test.test_console_tool.TestConsoleTool.test_list_unfinished_large_files_with_none) ... ok 134s test_list_unfinished_large_files_with_some (test.test_console_tool.TestConsoleTool.test_list_unfinished_large_files_with_some) ... ok 134s test_ls (test.test_console_tool.TestConsoleTool.test_ls) ... ok 134s test_ls_for_restricted_bucket (test.test_console_tool.TestConsoleTool.test_ls_for_restricted_bucket) ... ok 134s test_restrictions (test.test_console_tool.TestConsoleTool.test_restrictions) ... ok 134s test_sync (test.test_console_tool.TestConsoleTool.test_sync) ... ok 134s test_sync_dont_exclude_all_symlinks (test.test_console_tool.TestConsoleTool.test_sync_dont_exclude_all_symlinks) ... ok 134s test_sync_dry_run (test.test_console_tool.TestConsoleTool.test_sync_dry_run) ... ok 134s test_sync_empty_folder_when_enabled (test.test_console_tool.TestConsoleTool.test_sync_empty_folder_when_enabled) ... ok 134s test_sync_empty_folder_when_not_enabled (test.test_console_tool.TestConsoleTool.test_sync_empty_folder_when_not_enabled) ... ok 134s test_sync_exclude_all_symlinks (test.test_console_tool.TestConsoleTool.test_sync_exclude_all_symlinks) ... ok 134s test_sync_syntax_error (test.test_console_tool.TestConsoleTool.test_sync_syntax_error) ... ok 134s test_upload_large_file (test.test_console_tool.TestConsoleTool.test_upload_large_file) ... ok 134s 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) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 134s 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) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 134s test_failed_write_deletes_partial_file (test.test_download_dest.TestDownloadDestLocalFile.test_failed_write_deletes_partial_file) ... ok 134s Check that the file gets written and that its mod time gets set. ... ok 134s 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) 134s 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) 134s 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) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 134s Check that the file gets written and that its mod time gets set. ... ok 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 134s 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) 134s calling PreSeekedDownloadDest.write_to_local_file_context(self=, args=(1500222333000,), kwargs=) 134s calling DownloadDestLocalFile.write_to_local_file_context(self=, mod_time_millis=1500222333000) 134s test_failed_write_deletes_partial_file (test.test_download_dest.TestPreSeekedDownloadDest.test_failed_write_deletes_partial_file) ... ok 134s Check that the file gets written and that its mod time gets set. ... ok 134s test_plain_ascii (test.test_exception.TestB2Error.test_plain_ascii) ... ok 134s test_unicode (test.test_exception.TestB2Error.test_unicode) ... ok 134s test_already_failed_exception (test.test_exception.TestExceptions.test_already_failed_exception) ... ok 134s test_bad_upload_url_exception (test.test_exception.TestExceptions.test_bad_upload_url_exception) ... ok 134s test_command_error (test.test_exception.TestExceptions.test_command_error) ... ok 134s test_bad_json (test.test_exception.TestInterpretError.test_bad_json) ... ok 134s test_conflict (test.test_exception.TestInterpretError.test_conflict) ... ok 134s test_duplicate_bucket_name (test.test_exception.TestInterpretError.test_duplicate_bucket_name) ... ok 134s test_file_already_hidden (test.test_exception.TestInterpretError.test_file_already_hidden) ... ok 134s test_file_not_present (test.test_exception.TestInterpretError.test_file_not_present) ... ok 134s test_invalid_auth_token (test.test_exception.TestInterpretError.test_invalid_auth_token) ... ok 134s test_missing_part (test.test_exception.TestInterpretError.test_missing_part) ... ok 134s test_part_sha1_mismatch (test.test_exception.TestInterpretError.test_part_sha1_mismatch) ... ok 134s test_service_error (test.test_exception.TestInterpretError.test_service_error) ... ok 134s test_storage_cap_exceeded (test.test_exception.TestInterpretError.test_storage_cap_exceeded) ... ok 134s test_too_many_requests (test.test_exception.TestInterpretError.test_too_many_requests) ... ok 134s test_unauthorized (test.test_exception.TestInterpretError.test_unauthorized) ... ok 134s test_unknown_error (test.test_exception.TestInterpretError.test_unknown_error) ... ok 134s option optionFlag is properly recognized as OPTION_FLAGS 134s option optionArg is properly recognized as OPTION_ARGS 134s option list is properly recognized as LIST_ARGS 134s option list is properly recognized as LIST_ARGS 134s option optionArg is recognized as OPTION_ARGS and there are no more arguments on arg_list to parse 134s option parser failed to consume this: ['badArg'] 134s option badFlag is of unknown type! 134s test_all_there (test.test_parse_args.TestParseArgs.test_all_there) ... ok 134s test_no_args (test.test_parse_args.TestParseArgs.test_no_args) ... ok 134s test_no_optional (test.test_parse_args.TestParseArgs.test_no_optional) ... ok 134s test_option_defaults (test.test_parse_args.TestParseArgs.test_option_defaults) ... ok 134s test_optional_arg_missing_value (test.test_parse_args.TestParseArgs.test_optional_arg_missing_value) ... ok 134s test_optional_before (test.test_parse_args.TestParseArgs.test_optional_before) ... ok 134s test_same_arg_in_two_places (test.test_parse_args.TestParseArgs.test_same_arg_in_two_places) ... ok 134s test_unexpected_arg (test.test_parse_args.TestParseArgs.test_unexpected_arg) ... ok 134s test_unexpected_flag (test.test_parse_args.TestParseArgs.test_unexpected_flag) ... ok 134s test_new_version_no_action (test.test_policy.TestMakeB2KeepDaysActions.test_new_version_no_action) ... ok 134s test_no_source_one_old_version_hides (test.test_policy.TestMakeB2KeepDaysActions.test_no_source_one_old_version_hides) ... ok 134s test_no_versions (test.test_policy.TestMakeB2KeepDaysActions.test_no_versions) ... ok 134s test_old_hide_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_hide_causes_delete) ... ok 134s test_old_upload_causes_delete (test.test_policy.TestMakeB2KeepDaysActions.test_old_upload_causes_delete) ... ok 134s test_out_of_order_dates (test.test_policy.TestMakeB2KeepDaysActions.test_out_of_order_dates) ... ok 134s test_large_read (test.test_progress.TestHashingStream.test_large_read) ... ok 134s test_no_argument (test.test_progress.TestHashingStream.test_no_argument) ... ok 134s test_no_argument_equal (test.test_progress.TestHashingStream.test_no_argument_equal) ... ok 134s test_no_argument_less (test.test_progress.TestHashingStream.test_no_argument_less) ... ok 134s test_no_argument_more (test.test_progress.TestHashingStream.test_no_argument_more) ... ok 134s test_one_by_one (test.test_progress.TestHashingStream.test_one_by_one) ... ok 134s test_seek_zero (test.test_progress.TestHashingStream.test_seek_zero) ... ok 134s Test a conforming and non-conforming filename for each rule. ... ok 134s test_default (test.test_scan_policies.TestScanPolicies.test_default) ... ok 134s test_exclude_dir (test.test_scan_policies.TestScanPolicies.test_exclude_dir) ... ok 134s test_exclude_include (test.test_scan_policies.TestScanPolicies.test_exclude_include) ... ok 134s test_app_key_info_all_info (test.test_session.TestB2Session.test_app_key_info_all_info) ... ok 134s test_app_key_info_no_info (test.test_session.TestB2Session.test_app_key_info_no_info) ... ok 134s test_app_key_info_no_info_no_message (test.test_session.TestB2Session.test_app_key_info_no_info_no_message) ... ok 134s test_fails_second_time (test.test_session.TestB2Session.test_fails_second_time) ... ok 134s test_works_first_time (test.test_session.TestB2Session.test_works_first_time) ... ok 134s test_works_second_time (test.test_session.TestB2Session.test_works_second_time) ... ok 134s test_empty (test.test_sync.TestB2Folder.test_empty) ... ok 134s test_multiple_versions (test.test_sync.TestB2Folder.test_multiple_versions) ... ok 135s Makes sure that the executor will run more jobs that the ... ok 135s Makes sure that no more than queue_limit workers are ... ok 135s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 135s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source 135s determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source 135s determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination 135s determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination 135s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on destination 135s File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 135s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 135s determined that File(b.txt.incl, [FileVersion('/dir/b.txt.incl', 'b.txt.incl', 100, 'upload')]) is not present on source 135s determined that File(c.txt, [FileVersion('/dir/c.txt', 'c.txt', 100, 'upload')]) is not present on source 135s determined that File(d/d.txt, [FileVersion('/dir/d/d.txt', 'd/d.txt', 100, 'upload')]) is not present on destination 135s determined that File(e/e.incl, [FileVersion('/dir/e/e.incl', 'e/e.incl', 100, 'upload')]) is not present on destination 135s File z.incl: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 135s test_file_exclusions_inclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_inclusions_with_delete) ... ok 135s test_file_exclusions_with_delete (test.test_sync.TestExclusions.test_file_exclusions_with_delete) ... ok 135s test_broken_symlink (test.test_sync.TestLocalFolder.test_broken_symlink) ... ok 135s test_exclude_all (test.test_sync.TestLocalFolder.test_exclude_all) ... ok 135s test_exclude_directory (test.test_sync.TestLocalFolder.test_exclude_directory) ... ok 135s test_exclude_directory2 (test.test_sync.TestLocalFolder.test_exclude_directory2) ... ok 135s test_exclude_directory_trailing_slash_does_not_match (test.test_sync.TestLocalFolder.test_exclude_directory_trailing_slash_does_not_match) ... ok 135s test_exclude_matches_prefix (test.test_sync.TestLocalFolder.test_exclude_matches_prefix) ... ok 135s test_exclusion_with_exact_match (test.test_sync.TestLocalFolder.test_exclusion_with_exact_match) ... ok 135s test_exclusions (test.test_sync.TestLocalFolder.test_exclusions) ... ok 135s test_exclusions_inclusions (test.test_sync.TestLocalFolder.test_exclusions_inclusions) ... ok 135s test_invalid_permissions (test.test_sync.TestLocalFolder.test_invalid_permissions) ... SKIP: incorrect sbuild user access rights 135s test_slash_sorting (test.test_sync.TestLocalFolder.test_slash_sorting) ... ok 135s 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 135s 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 135s 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 135s 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 135s 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 135s 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 135s 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 135s File a.txt: source size 10, dest size 10, diff 0, threshold 0, diff > threshold False 135s File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True 135s File a.txt: source size 11, dest size 10, diff 1, threshold 0, diff > threshold True 135s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 135s 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 135s 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 135s 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 135s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 135s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source 135s determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination 135s determined that File(directory/a.txt, [FileVersion('id_d_100', 'folder/directory/a.txt', 100, 'upload')]) is not present on destination 135s File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False 135s File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True 135s File a.txt: source time 8640000000, dest time 8553600000, diff 86400000, threshold 0, diff > threshold True 135s File a.txt: source time 200, dest time 100, diff 100, threshold 0, diff > threshold True 135s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on source 135s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on source 135s determined that File(a.txt, [FileVersion('/dir/a.txt', 'a.txt', 100, 'upload')]) is not present on destination 135s determined that File(a.txt, [FileVersion('id_a_100', 'folder/a.txt', 100, 'upload')]) is not present on destination 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File directory/a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 200, diff 100, threshold 0, diff > threshold True 135s File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 135s File a.txt: source time 8380800000, dest time 8380800000, diff 0, threshold 0, diff > threshold False 135s File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False 135s File a.txt: source time 8640000000, dest time 8640000000, diff 0, threshold 0, diff > threshold False 135s File a.txt: source time 100, dest time 100, diff 0, threshold 0, diff > threshold False 135s test_already_hidden_multiple_versions_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_delete) ... ok 135s test_already_hidden_multiple_versions_keep (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep) ... ok 135s test_already_hidden_multiple_versions_keep_days (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days) ... ok 135s 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 135s test_already_hidden_multiple_versions_keep_days_old_delete (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_old_delete) ... ok 135s test_already_hidden_multiple_versions_keep_days_one_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_one_old) ... ok 135s test_already_hidden_multiple_versions_keep_days_two_old (test.test_sync.TestMakeSyncActions.test_already_hidden_multiple_versions_keep_days_two_old) ... ok 135s test_compare_b2_none_newer (test.test_sync.TestMakeSyncActions.test_compare_b2_none_newer) ... ok 135s test_compare_b2_none_older (test.test_sync.TestMakeSyncActions.test_compare_b2_none_older) ... ok 135s test_compare_b2_size_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_equal) ... ok 135s test_compare_b2_size_not_equal (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal) ... ok 135s test_compare_b2_size_not_equal_delete (test.test_sync.TestMakeSyncActions.test_compare_b2_size_not_equal_delete) ... ok 135s test_delete_b2 (test.test_sync.TestMakeSyncActions.test_delete_b2) ... ok 135s test_delete_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_b2_multiple_versions) ... ok 135s test_delete_hide_b2_multiple_versions (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions) ... ok 135s test_delete_hide_b2_multiple_versions_old (test.test_sync.TestMakeSyncActions.test_delete_hide_b2_multiple_versions_old) ... ok 135s test_delete_large_b2 (test.test_sync.TestMakeSyncActions.test_delete_large_b2) ... ok 135s test_delete_local (test.test_sync.TestMakeSyncActions.test_delete_local) ... ok 135s test_dir_not_there_b2_delete (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_delete) ... ok 135s test_dir_not_there_b2_keepdays (test.test_sync.TestMakeSyncActions.test_dir_not_there_b2_keepdays) ... ok 135s test_empty_b2 (test.test_sync.TestMakeSyncActions.test_empty_b2) ... ok 135s test_empty_local (test.test_sync.TestMakeSyncActions.test_empty_local) ... ok 135s test_illegal_b2_to_b2 (test.test_sync.TestMakeSyncActions.test_illegal_b2_to_b2) ... ok 135s test_illegal_delete_and_keep_days (test.test_sync.TestMakeSyncActions.test_illegal_delete_and_keep_days) ... ok 135s test_illegal_local_to_local (test.test_sync.TestMakeSyncActions.test_illegal_local_to_local) ... ok 135s test_illegal_skip_and_replace (test.test_sync.TestMakeSyncActions.test_illegal_skip_and_replace) ... ok 135s test_keep_days_no_change_with_old_file (test.test_sync.TestMakeSyncActions.test_keep_days_no_change_with_old_file) ... ok 135s test_newer_b2 (test.test_sync.TestMakeSyncActions.test_newer_b2) ... ok 135s test_newer_b2_clean_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_clean_old_versions) ... ok 135s test_newer_b2_delete_old_versions (test.test_sync.TestMakeSyncActions.test_newer_b2_delete_old_versions) ... ok 135s test_newer_local (test.test_sync.TestMakeSyncActions.test_newer_local) ... ok 135s test_no_delete_b2 (test.test_sync.TestMakeSyncActions.test_no_delete_b2) ... ok 135s test_no_delete_local (test.test_sync.TestMakeSyncActions.test_no_delete_local) ... ok 135s test_not_there_b2 (test.test_sync.TestMakeSyncActions.test_not_there_b2) ... ok 135s test_not_there_local (test.test_sync.TestMakeSyncActions.test_not_there_local) ... ok 135s test_older_b2 (test.test_sync.TestMakeSyncActions.test_older_b2) ... ok 135s test_older_b2_replace (test.test_sync.TestMakeSyncActions.test_older_b2_replace) ... ok 135s test_older_b2_replace_delete (test.test_sync.TestMakeSyncActions.test_older_b2_replace_delete) ... ok 135s test_older_b2_skip (test.test_sync.TestMakeSyncActions.test_older_b2_skip) ... ok 135s test_older_local (test.test_sync.TestMakeSyncActions.test_older_local) ... ok 135s test_older_local_replace (test.test_sync.TestMakeSyncActions.test_older_local_replace) ... ok 135s test_older_local_skip (test.test_sync.TestMakeSyncActions.test_older_local_skip) ... ok 135s test_same_b2 (test.test_sync.TestMakeSyncActions.test_same_b2) ... ok 135s test_same_clean_old_versions (test.test_sync.TestMakeSyncActions.test_same_clean_old_versions) ... ok 135s test_same_delete_old_versions (test.test_sync.TestMakeSyncActions.test_same_delete_old_versions) ... ok 135s test_same_leave_old_versions (test.test_sync.TestMakeSyncActions.test_same_leave_old_versions) ... ok 135s test_same_local (test.test_sync.TestMakeSyncActions.test_same_local) ... ok 135s test_b2_double_slash (test.test_sync.TestParseSyncFolder.test_b2_double_slash) ... ok 135s test_b2_no_double_slash (test.test_sync.TestParseSyncFolder.test_b2_no_double_slash) ... ok 135s test_b2_no_folder (test.test_sync.TestParseSyncFolder.test_b2_no_folder) ... ok 135s test_b2_trailing_slash (test.test_sync.TestParseSyncFolder.test_b2_trailing_slash) ... ok 135s test_local (test.test_sync.TestParseSyncFolder.test_local) ... ok 135s test_local_trailing_slash (test.test_sync.TestParseSyncFolder.test_local_trailing_slash) ... ok 135s test_empty (test.test_sync.TestZipFolders.test_empty) ... ok 135s test_one_empty (test.test_sync.TestZipFolders.test_one_empty) ... ok 135s Check that the zip_folders() function passes the reporter through ... ok 135s test_two (test.test_sync.TestZipFolders.test_two) ... ok 135s 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 135s test_bad_terminal (test.test_sync_report.TestSyncReport.test_bad_terminal) ... ok 135s test_it (test.test_utils.TestChooseParts.test_it) ... ok 135s test_it (test.test_utils.TestFormatAndScaleFraction.test_it) ... ok 135s test_it (test.test_utils.TestFormatAndScaleNumber.test_it) ... ok 135s test_it (test.test_utils.TestUrlEncoding.test_it) ... ok 135s 135s ---------------------------------------------------------------------- 135s Ran 291 tests in 0.981s 135s 135s OK (SKIP=1) 135s autopkgtest [23:04:51]: test command1: -----------------------] 136s command1 PASS 136s autopkgtest [23:04:52]: test command1: - - - - - - - - - - results - - - - - - - - - - 136s autopkgtest [23:04:52]: test command2: preparing testbed 259s autopkgtest [23:06:55]: testbed dpkg architecture: s390x 259s autopkgtest [23:06:55]: testbed apt version: 2.9.6 259s autopkgtest [23:06:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 260s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 260s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [48.4 kB] 261s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [374 kB] 261s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 261s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 261s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x Packages [92.4 kB] 261s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x c-n-f Metadata [2112 B] 261s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x Packages [1368 B] 261s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x c-n-f Metadata [120 B] 261s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x Packages [414 kB] 261s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x c-n-f Metadata [8372 B] 261s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x Packages [1448 B] 261s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x c-n-f Metadata [120 B] 261s Fetched 1079 kB in 1s (1416 kB/s) 261s Reading package lists... 263s Reading package lists... 263s Building dependency tree... 263s Reading state information... 263s Calculating upgrade... 263s The following packages will be upgraded: 263s libdw1t64 libelf1t64 python3-pkg-resources python3-setuptools 264s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 264s Need to get 969 kB of archives. 264s After this operation, 464 kB of additional disk space will be used. 264s Get:1 http://ftpmaster.internal/ubuntu oracular/main s390x libdw1t64 s390x 0.191-2 [285 kB] 264s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x libelf1t64 s390x 0.191-2 [68.6 kB] 264s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x python3-setuptools all 70.3.0-2 [429 kB] 264s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x python3-pkg-resources all 70.3.0-2 [187 kB] 265s Fetched 969 kB in 1s (1003 kB/s) 265s (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 ... 54720 files and directories currently installed.) 265s Preparing to unpack .../libdw1t64_0.191-2_s390x.deb ... 265s Unpacking libdw1t64:s390x (0.191-2) over (0.191-1) ... 265s Preparing to unpack .../libelf1t64_0.191-2_s390x.deb ... 265s Unpacking libelf1t64:s390x (0.191-2) over (0.191-1) ... 265s Preparing to unpack .../python3-setuptools_70.3.0-2_all.deb ... 265s Unpacking python3-setuptools (70.3.0-2) over (68.1.2-2ubuntu1) ... 265s Preparing to unpack .../python3-pkg-resources_70.3.0-2_all.deb ... 265s Unpacking python3-pkg-resources (70.3.0-2) over (68.1.2-2ubuntu1) ... 265s Setting up python3-pkg-resources (70.3.0-2) ... 265s Setting up python3-setuptools (70.3.0-2) ... 266s Setting up libelf1t64:s390x (0.191-2) ... 266s Setting up libdw1t64:s390x (0.191-2) ... 266s Processing triggers for libc-bin (2.39-0ubuntu9) ... 266s Reading package lists... 266s Building dependency tree... 266s Reading state information... 266s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 267s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 267s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 267s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 267s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 268s Reading package lists... 268s Reading package lists... 268s Building dependency tree... 268s Reading state information... 268s Calculating upgrade... 268s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 268s Reading package lists... 269s Building dependency tree... 269s Reading state information... 269s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 272s Reading package lists... 273s Building dependency tree... 273s Reading state information... 273s Starting pkgProblemResolver with broken count: 0 273s Starting 2 pkgProblemResolver with broken count: 0 273s Done 273s The following additional packages will be installed: 273s backblaze-b2 python3-arrow python3-dateutil python3-logfury python3-tqdm 273s Suggested packages: 273s python-arrow-doc 273s The following NEW packages will be installed: 273s autopkgtest-satdep backblaze-b2 python3-arrow python3-dateutil 273s python3-logfury python3-tqdm 273s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 273s Need to get 310 kB/310 kB of archives. 273s After this operation, 1509 kB of additional disk space will be used. 273s Get:1 /tmp/autopkgtest.HabxfC/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [708 B] 273s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x python3-dateutil all 2.9.0-2 [80.3 kB] 273s Get:3 http://ftpmaster.internal/ubuntu oracular/main s390x python3-arrow all 1.2.3-1 [55.7 kB] 273s Get:4 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-logfury all 1.0.1-1 [7988 B] 273s Get:5 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-tqdm all 4.66.4-1 [91.3 kB] 274s Get:6 http://ftpmaster.internal/ubuntu oracular/universe s390x backblaze-b2 all 1.3.8-6 [74.4 kB] 274s Fetched 310 kB in 1s (552 kB/s) 274s Selecting previously unselected package python3-dateutil. 274s (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 ... 54780 files and directories currently installed.) 274s Preparing to unpack .../0-python3-dateutil_2.9.0-2_all.deb ... 274s Unpacking python3-dateutil (2.9.0-2) ... 274s Selecting previously unselected package python3-arrow. 274s Preparing to unpack .../1-python3-arrow_1.2.3-1_all.deb ... 274s Unpacking python3-arrow (1.2.3-1) ... 274s Selecting previously unselected package python3-logfury. 274s Preparing to unpack .../2-python3-logfury_1.0.1-1_all.deb ... 274s Unpacking python3-logfury (1.0.1-1) ... 274s Selecting previously unselected package python3-tqdm. 274s Preparing to unpack .../3-python3-tqdm_4.66.4-1_all.deb ... 274s Unpacking python3-tqdm (4.66.4-1) ... 274s Selecting previously unselected package backblaze-b2. 274s Preparing to unpack .../4-backblaze-b2_1.3.8-6_all.deb ... 274s Unpacking backblaze-b2 (1.3.8-6) ... 274s Selecting previously unselected package autopkgtest-satdep. 274s Preparing to unpack .../5-2-autopkgtest-satdep.deb ... 274s Unpacking autopkgtest-satdep (0) ... 274s Setting up python3-tqdm (4.66.4-1) ... 274s Setting up python3-logfury (1.0.1-1) ... 274s Setting up python3-dateutil (2.9.0-2) ... 274s Setting up python3-arrow (1.2.3-1) ... 275s Setting up backblaze-b2 (1.3.8-6) ... 275s /usr/lib/python3/dist-packages/b2/console_tool.py:1013: SyntaxWarning: invalid escape sequence '\.' 275s """ 275s /usr/lib/python3/dist-packages/b2/raw_simulator.py:540: SyntaxWarning: invalid escape sequence '\?' 275s '/b2api/v[0-9]+/b2_download_file_by_id\?fileId=(?P[^/]+)', 275s Setting up autopkgtest-satdep (0) ... 275s Processing triggers for man-db (2.12.1-2) ... 277s (Reading database ... 54974 files and directories currently installed.) 277s Removing autopkgtest-satdep (0) ... 279s autopkgtest [23:07:15]: test command2: HOME=$AUTOPKGTEST_TMP backblaze-b2 --help 2>&1 | grep -q "This program provides command-line access to the B2 service." 279s autopkgtest [23:07:15]: test command2: [----------------------- 280s autopkgtest [23:07:16]: test command2: -----------------------] 281s command2 PASS 281s autopkgtest [23:07:17]: test command2: - - - - - - - - - - results - - - - - - - - - - 281s autopkgtest [23:07:17]: @@@@@@@@@@@@@@@@@@@@ summary 281s command1 PASS 281s command2 PASS 292s nova [W] Using flock in scalingstack-bos02-s390x 292s Creating nova instance adt-oracular-s390x-backblaze-b2-20240713-214838-juju-7f2275-prod-proposed-migration-environment-2-b4355702-cdc2-4543-b29a-2c21c0832922 from image adt/ubuntu-oracular-s390x-server-20240713.img (UUID 64f483f9-0ef7-437c-b45a-fe1797fdc94d)... 292s nova [W] Using flock in scalingstack-bos02-s390x 292s Creating nova instance adt-oracular-s390x-backblaze-b2-20240713-214838-juju-7f2275-prod-proposed-migration-environment-2-b4355702-cdc2-4543-b29a-2c21c0832922 from image adt/ubuntu-oracular-s390x-server-20240713.img (UUID 64f483f9-0ef7-437c-b45a-fe1797fdc94d)...