radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.44k stars 87 forks source link

Failed to delete "AWS.S3/Bucket" resource with ConcurrentOperationException #7066

Open vishwahiremat opened 6 months ago

vishwahiremat commented 6 months ago

Steps to reproduce

I have seen this error once in long running tests : https://github.com/radius-project/radius/issues/7059

Observed behavior

Deleting the S3 bucket resource was hitting ConcurrentOperationException.


  rptest.go:333: failed to delete radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab: operation error CloudControl: DeleteResource, https response error StatusCode: 400, RequestID: 6a1a7740-b7f0-4b94-98b0-d5192f9a2782, ConcurrentOperationException: Concurrent operation found for resource radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab with RequestToken 6cc1f2ed-1ddf-412f-9a9e-f07cd3f2c8c2
    rptest.go:339: validating deletion of AWS resource for radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab (attempt 1/5)
    rptest.go:339: validating deletion of AWS resource for radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab (attempt 2/5)
    rptest.go:339: validating deletion of AWS resource for radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab (attempt 3/5)
    rptest.go:339: validating deletion of AWS resource for radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab (attempt 4/5)
    rptest.go:339: validating deletion of AWS resource for radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab (attempt 5/5)
    rptest.go:356: 
            Error Trace:    /home/runner/work/radius/radius/test/functional/shared/rptest.go:356
            Error:          Should be true
            Test:           Test_AWS_S3Bucket_Existing
            Messages:       AWS resource radiusfunctionaltestbucket-2bb2c14a-4bdc-4310-bd00-cfe5135831ab was present, should be not found```

### Desired behavior

S3 Bucket Resource deletion should be successfull

### Workaround

_No response_

### rad Version

RELEASE VERSION BICEP COMMIT
0.29.0 v0.29.0 0.29.0 https://github.com/radius-project/radius/commit/6abd7bfc3de0e748a2c34b721d95097afb6a2bba

### Operating system

Operating system
macOS Sonoma 14.2.1, i386

### Additional context

_No response_

### Would you like to support us?

- [ ] Yes, I would like to support you

[AB#10974](https://dev.azure.com/azure-octo/e61041b4-555f-47ae-95b2-4f8ab480ea57/_workitems/edit/10974)
radius-triage-bot[bot] commented 6 months ago

:wave: @vishwahiremat Thanks for filing this bug report.

A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.

For more information on our triage process please visit our triage overview

radius-triage-bot[bot] commented 6 months ago

:wave: @vishwahiremat Thanks for filing this issue.

A project maintainer will review this issue and get back to you soon.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview

radius-triage-bot[bot] commented 6 months ago

:+1: We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up.

We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.

For more information on our triage process please visit our triage overview