[
https://issues.apache.org/jira/browse/HDDS-8732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730752#comment-17730752
]
Swaminathan Balachandran commented on HDDS-8732:
------------------------------------------------
The test is deleting snapshot1. The snapshot list result has snapshot2 in it.
There is an issue with the test which just looks for the SNAPSHOT_DELETED.
Ideally we should be checking the status of the snapshot1. So the list snapshot
can either have the snapshot in the list with status SNAPSHOT_DELETED. Deleted
snapshots get eventually deleted from the snapshot table, so the response list
might not be present in the list.
> Intermittent failure at Delete snapshot in acceptance test
> ----------------------------------------------------------
>
> Key: HDDS-8732
> URL: https://issues.apache.org/jira/browse/HDDS-8732
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Snapshot
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Dave Teng
> Priority: Critical
> Attachments: acceptance-compat-9223531259.zip
>
>
> {code:title=https://github.com/apache/ozone/actions/runs/5127514810/jobs/9223531259#step:5:899}
> Delete snapshot | FAIL |
> '[ {
> "volumeName" : "snapvolume-1",
> "bucketName" : "snapbucket-1",
> "name" : "snapshot2",
> "creationTime" : 1685495519725,
> "snapshotStatus" : "SNAPSHOT_ACTIVE",
> "snapshotID" : "206b010f-499e-4ce3-95c4-cc737d6f1003",
> "snapshotPath" : "snapvolume-1/snapbucket-1",
> "checkpointDir" : "-206b010f-499e-4ce3-95c4-cc737d6f1003"
> } ]' does not contain 'SNAPSHOT_DELETED'
> ------------------------------------------------------------------------------
> Upgrade-Snapshot-Check :: Smoketest ozone cluster snapshot feature | FAIL |
> {code}
> CC [~dteng], [~smeng]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]