Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_s3.py::test_bucket_list_distinct fails when testing against AWS S3 #493

Open
vardhanv opened this issue Feb 19, 2023 · 0 comments · May be fixed by #494
Open

test_s3.py::test_bucket_list_distinct fails when testing against AWS S3 #493

vardhanv opened this issue Feb 19, 2023 · 0 comments · May be fixed by #494

Comments

@vardhanv
Copy link

vardhanv commented Feb 19, 2023

`
s3tests_boto3/functional/__init__.py:315: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s3tests_boto3/functional/__init__.py:285: in teardown
    nuke_prefixed_buckets(prefix=prefix)
s3tests_boto3/functional/__init__.py:159: in nuke_prefixed_buckets
    raise err
s3tests_boto3/functional/__init__.py:150: in nuke_prefixed_buckets
    nuke_bucket(client, bucket_name)
s3tests_boto3/functional/__init__.py:104: in nuke_bucket
    delete = client.delete_objects(Bucket=bucket,
.tox/py/lib/python3.11/site-packages/botocore/client.py:514: in _api_call
    return self._make_api_call(operation_name, kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <botocore.client.S3 object at 0x1033a4fd0>, operation_name = 'DeleteObjects'
api_params = {'Bucket': 'vishnu-ceph-z9cpnnzn83s0deb40-1', 'BypassGovernanceRetention': True, 'Delete': {'Objects': [{'Key': 'asdf', 'VersionId': 'null'}], 'Quiet': True}}

<snip>

E           botocore.exceptions.ClientError: An error occurred (InvalidArgument) when calling the DeleteObjects operation: x-amz-bypass-governance-retention is only applicable to Object Lock enabled buckets.

.tox/py/lib/python3.11/site-packages/botocore/client.py:938: ClientError

`

@vardhanv vardhanv changed the title est_s3.py::test_bucket_list_distinct fails test_s3.py::test_bucket_list_distinct fails when testing against AWS S3 Feb 19, 2023
vardhanv added a commit to vardhanv/s3-tests that referenced this issue Feb 19, 2023
Changes from pull - ceph#490
@vardhanv vardhanv linked a pull request Feb 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant