+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.9, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, cov-2.11.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, xprocess-0.17.1, flaky-3.7.0, requests-mock-1.9.2, aiohttp-0.3.0, checkdocs-2.7.0, mock-3.6.1, hypothesis-6.13.5
collected 677 items
. . [ 0%]
tests/functional/test_copy.py ................................. [ 5%]
tests/functional/test_crt.py sssssss [ 6%]
tests/functional/test_delete.py ....... [ 7%]
tests/functional/test_download.py ......................................... [ 13%]
tests/functional/test_manager.py ........ [ 14%]
tests/functional/test_processpool.py ............ [ 16%]
tests/functional/test_upload.py ............................ [ 20%]
tests/functional/test_utils.py ... [ 20%]
tests/integration/test_copy.py EEE [ 21%]
tests/integration/test_crt.py sssssssssssss [ 23%]
tests/integration/test_delete.py E [ 23%]
tests/integration/test_download.py EEEEEEEEEE [ 24%]
tests/integration/test_processpool.py EEEE [ 25%]
tests/integration/test_s3transfer.py EEEEEEEEEEEE [ 27%]
tests/integration/test_upload.py EEEEEEEEEEEEEEE [ 29%]
tests/unit/test_bandwidth.py .................................... [ 34%]
tests/unit/test_compat.py ........ [ 35%]
tests/unit/test_copies.py ...... [ 36%]
tests/unit/test_crt.py ssssssss [ 37%]
tests/unit/test_delete.py .. [ 38%]
tests/unit/test_download.py .................................................................. [ 47%]
tests/unit/test_futures.py ......................................................... [ 56%]
tests/unit/test_manager.py ......... [ 57%]
tests/unit/test_processpool.py ................................................... [ 65%]
tests/unit/test_s3transfer.py ......................................................... [ 73%]
tests/unit/test_subscribers.py ........ [ 74%]
tests/unit/test_tasks.py ............................... [ 79%]
tests/unit/test_upload.py ............................................... [ 86%]
tests/unit/test_utils.py ............................................................................................ [100%]
================================================================================== ERRORS ==================================================================================
___________________________________________________________ ERROR at setup of TestCopy.test_copy_above_threshold ___________________________________________________________
cls = <class 'tests.integration.test_copy.TestCopy'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e77d700>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e77d250>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________________________ ERROR at setup of TestCopy.test_copy_below_threshold ___________________________________________________________
cls = <class 'tests.integration.test_copy.TestCopy'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e77d700>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e77d250>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________________ ERROR at setup of TestCopy.test_progress_subscribers_on_copy _______________________________________________________
cls = <class 'tests.integration.test_copy.TestCopy'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e77d700>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e77d250>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
________________________________________________________ ERROR at setup of TestDeleteObject.test_can_delete_object _________________________________________________________
cls = <class 'tests.integration.test_delete.TestDeleteObject'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df0e6a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df0ee20>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________________________ ERROR at setup of TestDownload.test_above_threshold ____________________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestDownload.test_above_threshold_for_fileobj ______________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________ ERROR at setup of TestDownload.test_above_threshold_for_nonseekable_fileobj ________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________________________ ERROR at setup of TestDownload.test_below_threshold ____________________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestDownload.test_below_threshold_for_fileobj ______________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________ ERROR at setup of TestDownload.test_below_threshold_for_nonseekable_fileobj ________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________________ ERROR at setup of TestDownload.test_download_to_special_file _______________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________ ERROR at setup of TestDownload.test_large_download_exits_quicky_on_exception _______________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________________ ERROR at setup of TestDownload.test_many_files_exits_quicky_on_exception _________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________________ ERROR at setup of TestDownload.test_progress_subscribers_on_download ___________________________________________________
cls = <class 'tests.integration.test_download.TestDownload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d101310>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d1012e0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestProcessPoolDownloader.test_above_threshold _____________________________________________________
cls = <class 'tests.integration.test_processpool.TestProcessPoolDownloader'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2dff1d60>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2dff17f0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestProcessPoolDownloader.test_below_threshold _____________________________________________________
cls = <class 'tests.integration.test_processpool.TestProcessPoolDownloader'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2dff1d60>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2dff17f0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
________________________________________ ERROR at setup of TestProcessPoolDownloader.test_large_download_exits_quickly_on_exception ________________________________________
cls = <class 'tests.integration.test_processpool.TestProcessPoolDownloader'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2dff1d60>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2dff17f0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________ ERROR at setup of TestProcessPoolDownloader.test_many_files_exits_quickly_on_exception __________________________________________
cls = <class 'tests.integration.test_processpool.TestProcessPoolDownloader'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2dff1d60>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2dff17f0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________________ ERROR at setup of TestS3Transfers.test_callback_called_once_with_sigv4 __________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
______________________________________________________ ERROR at setup of TestS3Transfers.test_can_configure_threshold ______________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________________ ERROR at setup of TestS3Transfers.test_can_send_extra_params_on_download _________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________________ ERROR at setup of TestS3Transfers.test_can_send_extra_params_on_upload __________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestS3Transfers.test_download_above_threshold ______________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestS3Transfers.test_download_below_threshold ______________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________________ ERROR at setup of TestS3Transfers.test_progress_callback_on_download ___________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
____________________________________________________ ERROR at setup of TestS3Transfers.test_progress_callback_on_upload ____________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
______________________________________________________ ERROR at setup of TestS3Transfers.test_upload_above_threshold _______________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
______________________________________________________ ERROR at setup of TestS3Transfers.test_upload_below_threshold _______________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________ ERROR at setup of TestS3Transfers.test_upload_file_above_threshold_with_acl ________________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_______________________________________________ ERROR at setup of TestS3Transfers.test_upload_file_above_threshold_with_ssec _______________________________________________
cls = <class 'tests.integration.test_s3transfer.TestS3Transfers'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2d8b5be0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2d8b5790>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________________ ERROR at setup of TestUpload.test_large_upload_exits_quicky_on_exception _________________________________________________
cls = <class 'tests.integration.test_upload.TestUpload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e0c681e50>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e0c681a90>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________________ ERROR at setup of TestUpload.test_many_files_exits_quicky_on_exception __________________________________________________
cls = <class 'tests.integration.test_upload.TestUpload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e0c681e50>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e0c681a90>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_____________________________________________________ ERROR at setup of TestUpload.test_progress_subscribers_on_upload _____________________________________________________
cls = <class 'tests.integration.test_upload.TestUpload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e0c681e50>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e0c681a90>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________________________ ERROR at setup of TestUpload.test_upload_above_threshold _________________________________________________________
cls = <class 'tests.integration.test_upload.TestUpload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e0c681e50>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e0c681a90>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________________________ ERROR at setup of TestUpload.test_upload_below_threshold _________________________________________________________
cls = <class 'tests.integration.test_upload.TestUpload'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e0c681e50>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e0c681a90>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________ ERROR at setup of TestUploadSeekableStream.test_large_upload_exits_quicky_on_exception __________________________________________
cls = <class 'tests.integration.test_upload.TestUploadSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df089a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df08f70>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
___________________________________________ ERROR at setup of TestUploadSeekableStream.test_many_files_exits_quicky_on_exception ___________________________________________
cls = <class 'tests.integration.test_upload.TestUploadSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df089a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df08f70>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
______________________________________________ ERROR at setup of TestUploadSeekableStream.test_progress_subscribers_on_upload ______________________________________________
cls = <class 'tests.integration.test_upload.TestUploadSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df089a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df08f70>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________________ ERROR at setup of TestUploadSeekableStream.test_upload_above_threshold __________________________________________________
cls = <class 'tests.integration.test_upload.TestUploadSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df089a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df08f70>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
__________________________________________________ ERROR at setup of TestUploadSeekableStream.test_upload_below_threshold __________________________________________________
cls = <class 'tests.integration.test_upload.TestUploadSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2df089a0>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2df08f70>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
________________________________________ ERROR at setup of TestUploadNonSeekableStream.test_large_upload_exits_quicky_on_exception _________________________________________
cls = <class 'tests.integration.test_upload.TestUploadNonSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e12ea90>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e12e5b0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
_________________________________________ ERROR at setup of TestUploadNonSeekableStream.test_many_files_exits_quicky_on_exception __________________________________________
cls = <class 'tests.integration.test_upload.TestUploadNonSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e12ea90>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e12e5b0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
____________________________________________ ERROR at setup of TestUploadNonSeekableStream.test_progress_subscribers_on_upload _____________________________________________
cls = <class 'tests.integration.test_upload.TestUploadNonSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e12ea90>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e12e5b0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
________________________________________________ ERROR at setup of TestUploadNonSeekableStream.test_upload_above_threshold _________________________________________________
cls = <class 'tests.integration.test_upload.TestUploadNonSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e12ea90>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e12e5b0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
________________________________________________ ERROR at setup of TestUploadNonSeekableStream.test_upload_below_threshold _________________________________________________
cls = <class 'tests.integration.test_upload.TestUploadNonSeekableStream'>
@classmethod
def setUpClass(cls):
cls.region = 'us-west-2'
cls.session = botocore.session.get_session()
cls.client = cls.session.create_client('s3', cls.region)
cls.bucket_name = random_bucket_name()
> cls.client.create_bucket(
Bucket=cls.bucket_name,
CreateBucketConfiguration={'LocationConstraint': cls.region})
tests/integration/__init__.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/botocore/client.py:386: in _api_call
return self._make_api_call(operation_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/client.py:691: in _make_api_call
http, parsed_response = self._make_request(
/usr/lib/python3.8/site-packages/botocore/client.py:711: in _make_request
return self._endpoint.make_request(operation_model, request_dict)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:102: in make_request
return self._send_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:132: in _send_request
request = self.create_request(request_dict, operation_model)
/usr/lib/python3.8/site-packages/botocore/endpoint.py:115: in create_request
self._event_emitter.emit(event_name, request=request,
/usr/lib/python3.8/site-packages/botocore/hooks.py:356: in emit
return self._emitter.emit(aliased_event_name, **kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:228: in emit
return self._emit(event_name, kwargs)
/usr/lib/python3.8/site-packages/botocore/hooks.py:211: in _emit
response = handler(**kwargs)
/usr/lib/python3.8/site-packages/botocore/signers.py:90: in handler
return self.sign(operation_name, request)
/usr/lib/python3.8/site-packages/botocore/signers.py:162: in sign
auth.add_auth(request)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <botocore.auth.S3SigV4Auth object at 0x7f9e2e12ea90>, request = <botocore.awsrequest.AWSRequest object at 0x7f9e2e12e5b0>
def add_auth(self, request):
if self.credentials is None:
> raise NoCredentialsError()
E botocore.exceptions.NoCredentialsError: Unable to locate credentials
/usr/lib/python3.8/site-packages/botocore/auth.py:373: NoCredentialsError
============================================================================= warnings summary =============================================================================
tests/unit/test_utils.py:303
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_utils.py:303: DeprecationWarning: invalid escape sequence \.
'%s\.[0-9A-Fa-f]{8}$' % filename,
tests/functional/test_copy.py::TestNonMultipartCopy::test_invalid_extra_args
tests/functional/test_copy.py::TestMultipartCopy::test_invalid_extra_args
tests/functional/test_delete.py::TestDeleteObject::test_invalid_extra_args
tests/functional/test_download.py::TestNonRangedDownload::test_invalid_extra_args
tests/functional/test_download.py::TestRangedDownload::test_invalid_extra_args
tests/functional/test_upload.py::TestNonMultipartUpload::test_invalid_extra_args
tests/functional/test_upload.py::TestMultipartUpload::test_invalid_extra_args
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/__init__.py:454: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'Invalid extra_args'):
tests/functional/test_copy.py::TestNonMultipartCopy::test_raise_exception_on_s3_object_lambda_resource
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_copy.py:284: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'methods do not support'):
tests/functional/test_copy.py::TestNonMultipartCopy::test_raise_exception_on_s3_object_lambda_resource_as_source
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_copy.py:290: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'methods do not support'):
tests/functional/test_copy.py::TestMultipartCopy::test_abort_on_failure
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_copy.py:543: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ClientError, 'ArbitraryFailure'):
tests/functional/test_delete.py::TestDeleteObject::test_raise_exception_on_s3_object_lambda_resource
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_delete.py:72: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'methods do not support'):
tests/functional/test_download.py::TestNonRangedDownload::test_raise_exception_on_s3_object_lambda_resource
tests/functional/test_download.py::TestRangedDownload::test_raise_exception_on_s3_object_lambda_resource
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_download.py:346: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'methods do not support'):
tests/functional/test_manager.py::TestTransferManager::test_cntrl_c_in_context_manager_cancels_incomplete_transfers
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_manager.py:125: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(
tests/functional/test_manager.py::TestTransferManager::test_error_in_context_manager_cancels_incomplete_transfers
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_manager.py:88: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(FatalError, ref_exception_msg):
tests/functional/test_upload.py::TestNonMultipartUpload::test_raise_exception_on_s3_object_lambda_resource
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/functional/test_upload.py:274: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'methods do not support'):
tests/unit/test_futures.py::TestTransferCoordinator::test_cancel_with_message
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_futures.py:263: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(CancelledError, message):
tests/unit/test_futures.py::TestTransferCoordinator::test_cancel_with_provided_exception
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_futures.py:270: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(FatalError, message):
tests/unit/test_futures.py::TestNonThreadedExecutorFuture::test_exception_result
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_futures.py:636: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(ValueError, 'message'):
tests/unit/test_manager.py::TestTransferCoordinatorController::test_cancel_with_message
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_manager.py:87: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(CancelledError, message):
tests/unit/test_manager.py::TestTransferCoordinatorController::test_cancel_with_provided_exception
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_manager.py:97: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(FatalError, message):
tests/unit/test_s3transfer.py::TestMultipartDownloader::test_download_futures_fail_triggers_shutdown
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_s3transfer.py:483: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(Exception, "fake download parts error"):
tests/unit/test_s3transfer.py::TestMultipartDownloader::test_io_thread_failure_triggers_shutdown
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_s3transfer.py:458: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(Exception, "fake IO error"):
tests/unit/test_subscribers.py::TestSubscribers::test_no_kwargs_in_subclass_subscriber_method
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_subscribers.py:86: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(
tests/unit/test_subscribers.py::TestSubscribers::test_not_callable_in_subclass_subscriber_method
/home/tkloczko/rpmbuild/BUILD/s3transfer-0.4.2/tests/unit/test_subscribers.py:81: DeprecationWarning: Please use assertRaisesRegex instead.
with self.assertRaisesRegexp(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/functional/test_crt.py:170: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:200: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:235: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:152: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:128: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:216: Test requires awscrt to be installed.
SKIPPED [1] tests/functional/test_crt.py:110: Test requires awscrt to be installed.
SKIPPED [13] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:153: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:81: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:66: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:51: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:115: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:121: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:145: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:155: Test requires awscrt to be installed.
SKIPPED [1] tests/unit/test_crt.py:150: Test requires awscrt to be installed.
ERROR tests/integration/test_copy.py::TestCopy::test_copy_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_copy.py::TestCopy::test_copy_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_copy.py::TestCopy::test_progress_subscribers_on_copy - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_delete.py::TestDeleteObject::test_can_delete_object - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_above_threshold_for_fileobj - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_above_threshold_for_nonseekable_fileobj - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_below_threshold_for_fileobj - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_below_threshold_for_nonseekable_fileobj - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_download_to_special_file - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_large_download_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_many_files_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_download.py::TestDownload::test_progress_subscribers_on_download - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_processpool.py::TestProcessPoolDownloader::test_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_processpool.py::TestProcessPoolDownloader::test_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_processpool.py::TestProcessPoolDownloader::test_large_download_exits_quickly_on_exception - botocore.exceptions.NoCredentialsError: Unable t...
ERROR tests/integration/test_processpool.py::TestProcessPoolDownloader::test_many_files_exits_quickly_on_exception - botocore.exceptions.NoCredentialsError: Unable to lo...
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_callback_called_once_with_sigv4 - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_can_configure_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_can_send_extra_params_on_download - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_can_send_extra_params_on_upload - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_download_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_download_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_progress_callback_on_download - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_progress_callback_on_upload - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_upload_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_upload_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_upload_file_above_threshold_with_acl - botocore.exceptions.NoCredentialsError: Unable to locate credent...
ERROR tests/integration/test_s3transfer.py::TestS3Transfers::test_upload_file_above_threshold_with_ssec - botocore.exceptions.NoCredentialsError: Unable to locate creden...
ERROR tests/integration/test_upload.py::TestUpload::test_large_upload_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUpload::test_many_files_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUpload::test_progress_subscribers_on_upload - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUpload::test_upload_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUpload::test_upload_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUploadSeekableStream::test_large_upload_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate ...
ERROR tests/integration/test_upload.py::TestUploadSeekableStream::test_many_files_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate cr...
ERROR tests/integration/test_upload.py::TestUploadSeekableStream::test_progress_subscribers_on_upload - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUploadSeekableStream::test_upload_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUploadSeekableStream::test_upload_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUploadNonSeekableStream::test_large_upload_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to loca...
ERROR tests/integration/test_upload.py::TestUploadNonSeekableStream::test_many_files_exits_quicky_on_exception - botocore.exceptions.NoCredentialsError: Unable to locate...
ERROR tests/integration/test_upload.py::TestUploadNonSeekableStream::test_progress_subscribers_on_upload - botocore.exceptions.NoCredentialsError: Unable to locate crede...
ERROR tests/integration/test_upload.py::TestUploadNonSeekableStream::test_upload_above_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
ERROR tests/integration/test_upload.py::TestUploadNonSeekableStream::test_upload_below_threshold - botocore.exceptions.NoCredentialsError: Unable to locate credentials
==================================================== 603 passed, 28 skipped, 26 warnings, 45 errors in 65.17s (0:01:05) ====================================================