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

Investigate why some Ceph object lock tests can't delete bucket at the end #529

Open
halkyon opened this issue Nov 22, 2024 · 0 comments
Open
Labels
Milestone

Comments

@halkyon
Copy link
Contributor

halkyon commented Nov 22, 2024

It appears some Ceph object lock tests fail to clean up the test bucket, because we return a "bucket not empty" error:

The three failing tests are "changing mode" and at the end don't expicitly call DeleteObject to clean up the object, where other tests are doing this and passing correctly. Instead, these changing mode tests seem to be relying on the test runner to try and clean things up before it deletes the bucket. See nuke_bucket function here: https://github.com/ceph/s3-tests/blob/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/__init__.py#L98.

We should investigate if there's something wrong here, like it couldn't delete some of the leftover object versions. It seems like it's supposed to wait until the retention period has expired before cleaning things up, but it wasn't clear by the trace in the test if it actually waited or not.

@halkyon halkyon added the edge label Nov 22, 2024
@halkyon halkyon changed the title Investigate why some Ceph object lock tests fail to clean up Investigate why some Ceph object lock tests can't delete bucket at the end Nov 22, 2024
@halkyon halkyon added this to the Object Lock milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant