Ensure filename remains set for later saving in sample_info (#2747) #1480
22493 tests run, 10939 passed, 10561 skipped, 993 failed.
Annotations
Check failure on line 36 in deeplake/api/tests/test_agreement.py
github-actions / JUnit Test Report
test_agreement.test_agreement_logged_in
deeplake.util.exceptions.NotLoggedInAgreementError: You are not logged in. Please log in to accept the agreement.
Raw output
self = <deeplake.client.client.DeepLakeBackendClient object at 0x7ff1f116b7c0>
org_id = 'activeloop', ds_name = 'imagenet-test', mode = None
db_engine = {'enabled': False}, no_cache = False
def get_dataset_credentials(
self,
org_id: str,
ds_name: str,
mode: Optional[str] = None,
db_engine: Optional[dict] = None,
no_cache: bool = False,
):
"""Retrieves temporary 12 hour credentials for the required dataset from the backend.
Args:
org_id (str): The name of the user/organization to which the dataset belongs.
ds_name (str): The name of the dataset being accessed.
mode (str, optional): The mode in which the user has requested to open the dataset.
If not provided, the backend will set mode to 'a' if user has write permission, else 'r'.
db_engine (dict, optional): The database engine args to use for the dataset.
no_cache (bool): If True, cached creds are ignored and new creds are returned. Default False.
Returns:
tuple: containing full url to dataset, credentials, mode and expiration time respectively.
Raises:
UserNotLoggedInException: When user is not logged in
InvalidTokenException: If the specified token is invalid
TokenPermissionError: when there are permission or other errors related to token
AgreementNotAcceptedError: when user has not accepted the agreement
NotLoggedInAgreementError: when user is not logged in and dataset has agreement which needs to be signed
"""
import json
db_engine = db_engine or {}
relative_url = GET_DATASET_CREDENTIALS_SUFFIX.format(org_id, ds_name)
try:
> response = self.request(
"GET",
relative_url,
endpoint=self.endpoint(),
params={
"mode": mode,
"no_cache": no_cache,
"db_engine": json.dumps(db_engine),
},
).json()
deeplake/client/client.py:246:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [403]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
> raise AuthorizationException(message, response=response)
E deeplake.util.exceptions.AuthorizationException: You need to log in to accept the agreement for accessing this dataset.
deeplake/client/utils.py:89: AuthorizationException
The above exception was the direct cause of the following exception:
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.mark.slow
@pytest.mark.flaky(reruns=3)
def test_agreement_logged_in(hub_cloud_dev_credentials):
runner = CliRunner()
username, password = hub_cloud_dev_credentials
runner.invoke(login, f"-u {username} -p {password}")
path = "hub://activeloop/imagenet-test"
> agree(path)
deeplake/api/tests/test_agreement.py:65:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/api/tests/test_agreement.py:36: in agree
ds = deeplake.load(path)
deeplake/util/spinner.py:151: in inner
return func(*args, **kwargs)
deeplake/api/dataset.py:612: in load
storage, cache_chain = get_storage_and_cache_chain(
deeplake/util/storage.py:223: in get_storage_and_cache_chain
storage = storage_provider_from_path(
deeplake/util/storage.py:57: in storage_provider_from_path
storage: StorageProvider = storage_provider_from_hub_path(
deeplake/util/storage.py:150: in storage_provider_from_hub_path
url, final_creds, mode, expiration, repo = get_dataset_credentials(
deeplake/util/storage.py:128: in get_dataset_credentials
url, final_creds, mode, expiration, repo = client.get_dataset_credentials(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <deeplake.client.client.DeepLakeBackendClient object at 0x7ff1f116b7c0>
org_id = 'activeloop', ds_name = 'imagenet-test', mode = None
db_engine = {'enabled': False}, no_cache = False
def get_dataset_credentials(
self,
org_id: str,
ds_name: str,
mode: Optional[str] = None,
db_engine: Optional[dict] = None,
no_cache: bool = False,
):
"""Retrieves temporary 12 hour credentials for the required dataset from the backend.
Args:
org_id (str): The name of the user/organization to which the dataset belongs.
ds_name (str): The name of the dataset being accessed.
mode (str, optional): The mode in which the user has requested to open the dataset.
If not provided, the backend will set mode to 'a' if user has write permission, else 'r'.
db_engine (dict, optional): The database engine args to use for the dataset.
no_cache (bool): If True, cached creds are ignored and new creds are returned. Default False.
Returns:
tuple: containing full url to dataset, credentials, mode and expiration time respectively.
Raises:
UserNotLoggedInException: When user is not logged in
InvalidTokenException: If the specified token is invalid
TokenPermissionError: when there are permission or other errors related to token
AgreementNotAcceptedError: when user has not accepted the agreement
NotLoggedInAgreementError: when user is not logged in and dataset has agreement which needs to be signed
"""
import json
db_engine = db_engine or {}
relative_url = GET_DATASET_CREDENTIALS_SUFFIX.format(org_id, ds_name)
try:
response = self.request(
"GET",
relative_url,
endpoint=self.endpoint(),
params={
"mode": mode,
"no_cache": no_cache,
"db_engine": json.dumps(db_engine),
},
).json()
except Exception as e:
if isinstance(e, AuthorizationException):
authorization_exception_prompt = "You don't have permission"
response_data = e.response.json()
code = response_data.get("code")
if code == 1:
agreements = response_data["agreements"]
agreements = [agreement["text"] for agreement in agreements]
raise AgreementNotAcceptedError(agreements) from e
elif code == 2:
> raise NotLoggedInAgreementError from e
E deeplake.util.exceptions.NotLoggedInAgreementError: You are not logged in. Please log in to accept the agreement.
deeplake/client/client.py:266: NotLoggedInAgreementError
Check failure on line 29 in deeplake/api/tests/test_agreement.py
github-actions / JUnit Test Report
test_agreement.test_not_agreement_logged_in
deeplake.util.exceptions.NotLoggedInAgreementError: You are not logged in. Please log in to accept the agreement.
Raw output
self = <deeplake.client.client.DeepLakeBackendClient object at 0x7ff1f0f8d690>
org_id = 'activeloop', ds_name = 'imagenet-test', mode = None
db_engine = {'enabled': False}, no_cache = False
def get_dataset_credentials(
self,
org_id: str,
ds_name: str,
mode: Optional[str] = None,
db_engine: Optional[dict] = None,
no_cache: bool = False,
):
"""Retrieves temporary 12 hour credentials for the required dataset from the backend.
Args:
org_id (str): The name of the user/organization to which the dataset belongs.
ds_name (str): The name of the dataset being accessed.
mode (str, optional): The mode in which the user has requested to open the dataset.
If not provided, the backend will set mode to 'a' if user has write permission, else 'r'.
db_engine (dict, optional): The database engine args to use for the dataset.
no_cache (bool): If True, cached creds are ignored and new creds are returned. Default False.
Returns:
tuple: containing full url to dataset, credentials, mode and expiration time respectively.
Raises:
UserNotLoggedInException: When user is not logged in
InvalidTokenException: If the specified token is invalid
TokenPermissionError: when there are permission or other errors related to token
AgreementNotAcceptedError: when user has not accepted the agreement
NotLoggedInAgreementError: when user is not logged in and dataset has agreement which needs to be signed
"""
import json
db_engine = db_engine or {}
relative_url = GET_DATASET_CREDENTIALS_SUFFIX.format(org_id, ds_name)
try:
> response = self.request(
"GET",
relative_url,
endpoint=self.endpoint(),
params={
"mode": mode,
"no_cache": no_cache,
"db_engine": json.dumps(db_engine),
},
).json()
deeplake/client/client.py:246:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [403]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
> raise AuthorizationException(message, response=response)
E deeplake.util.exceptions.AuthorizationException: You need to log in to accept the agreement for accessing this dataset.
deeplake/client/utils.py:89: AuthorizationException
The above exception was the direct cause of the following exception:
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.mark.flaky(reruns=3)
@pytest.mark.slow
def test_not_agreement_logged_in(hub_cloud_dev_credentials):
runner = CliRunner()
username, password = hub_cloud_dev_credentials
runner.invoke(login, f"-u {username} -p {password}")
path = "hub://activeloop/imagenet-test"
> dont_agree(path)
deeplake/api/tests/test_agreement.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/api/tests/test_agreement.py:29: in dont_agree
deeplake.load(path)
deeplake/util/spinner.py:151: in inner
return func(*args, **kwargs)
deeplake/api/dataset.py:612: in load
storage, cache_chain = get_storage_and_cache_chain(
deeplake/util/storage.py:223: in get_storage_and_cache_chain
storage = storage_provider_from_path(
deeplake/util/storage.py:57: in storage_provider_from_path
storage: StorageProvider = storage_provider_from_hub_path(
deeplake/util/storage.py:150: in storage_provider_from_hub_path
url, final_creds, mode, expiration, repo = get_dataset_credentials(
deeplake/util/storage.py:128: in get_dataset_credentials
url, final_creds, mode, expiration, repo = client.get_dataset_credentials(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <deeplake.client.client.DeepLakeBackendClient object at 0x7ff1f0f8d690>
org_id = 'activeloop', ds_name = 'imagenet-test', mode = None
db_engine = {'enabled': False}, no_cache = False
def get_dataset_credentials(
self,
org_id: str,
ds_name: str,
mode: Optional[str] = None,
db_engine: Optional[dict] = None,
no_cache: bool = False,
):
"""Retrieves temporary 12 hour credentials for the required dataset from the backend.
Args:
org_id (str): The name of the user/organization to which the dataset belongs.
ds_name (str): The name of the dataset being accessed.
mode (str, optional): The mode in which the user has requested to open the dataset.
If not provided, the backend will set mode to 'a' if user has write permission, else 'r'.
db_engine (dict, optional): The database engine args to use for the dataset.
no_cache (bool): If True, cached creds are ignored and new creds are returned. Default False.
Returns:
tuple: containing full url to dataset, credentials, mode and expiration time respectively.
Raises:
UserNotLoggedInException: When user is not logged in
InvalidTokenException: If the specified token is invalid
TokenPermissionError: when there are permission or other errors related to token
AgreementNotAcceptedError: when user has not accepted the agreement
NotLoggedInAgreementError: when user is not logged in and dataset has agreement which needs to be signed
"""
import json
db_engine = db_engine or {}
relative_url = GET_DATASET_CREDENTIALS_SUFFIX.format(org_id, ds_name)
try:
response = self.request(
"GET",
relative_url,
endpoint=self.endpoint(),
params={
"mode": mode,
"no_cache": no_cache,
"db_engine": json.dumps(db_engine),
},
).json()
except Exception as e:
if isinstance(e, AuthorizationException):
authorization_exception_prompt = "You don't have permission"
response_data = e.response.json()
code = response_data.get("code")
if code == 1:
agreements = response_data["agreements"]
agreements = [agreement["text"] for agreement in agreements]
raise AgreementNotAcceptedError(agreements) from e
elif code == 2:
> raise NotLoggedInAgreementError from e
E deeplake.util.exceptions.NotLoggedInAgreementError: You are not logged in. Please log in to accept the agreement.
deeplake/client/client.py:266: NotLoggedInAgreementError
Check failure on line 1 in deeplake/core/vectorstore/deep_memory/test_deepmemory.py
github-actions / JUnit Test Report
test_deepmemory.test_deepmemory_train_and_cancel
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/core/vectorstore/deep_memory/test_deepmemory.py
github-actions / JUnit Test Report
test_deepmemory.test_deepmemory_train_with_embedding_function_specified_in_constructor_should_not_throw_any_exception
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/core/vectorstore/deep_memory/test_deepmemory.py
github-actions / JUnit Test Report
test_deepmemory.test_deepmemory_evaluate_with_embedding_function_specified_in_constructor_should_not_throw_any_exception
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_inequal_tensors_dataloader_length
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_transform_dict
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_with_compression
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_custom_tensor_order
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_groups
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_string_tensors
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_tag_tensors
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index0]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index1]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index2]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index3]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index4]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index5]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index6]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index7]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_view[index8]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_collate[True]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_collate[False]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_transform_collate[True]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException
Check failure on line 1 in deeplake/enterprise/test_pytorch.py
github-actions / JUnit Test Report
test_pytorch.test_pytorch_transform_collate[False]
failed on setup with "deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation."
Raw output
hub_cloud_dev_credentials = ('testingacc2', 'nrp9mwd8kjc_hak9EGU')
@pytest.fixture(scope="session")
def hub_cloud_dev_token(hub_cloud_dev_credentials):
username, password = hub_cloud_dev_credentials
client = DeepLakeBackendClient()
> token = client.request_auth_token(username, password)
deeplake/tests/client_fixtures.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
deeplake/client/client.py:192: in request_auth_token
response = self.request("POST", GET_TOKEN_SUFFIX, json=json)
deeplake/client/client.py:163: in request
check_response_status(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response [429]>
def check_response_status(response: requests.Response):
"""Check response status and throw corresponding exception on failure."""
code = response.status_code
if code >= 200 and code < 300:
return
try:
message = response.json()["description"]
except Exception:
message = " "
if code == 400:
raise BadRequestException(message)
elif response.status_code == 401:
raise AuthenticationException
elif response.status_code == 403:
raise AuthorizationException(message, response=response)
elif response.status_code == 404:
if message != " ":
raise ResourceNotFoundException(message)
raise ResourceNotFoundException
elif response.status_code == 422:
raise UnprocessableEntityException(message)
elif response.status_code == 423:
raise LockedException
elif response.status_code == 429:
> raise OverLimitException
E deeplake.util.exceptions.OverLimitException: You are over the allowed limits for this operation.
deeplake/client/utils.py:99: OverLimitException