Skip to content

CLOUDP-309403: Flaky Test: mongodb-atlas-cli-master-github.com_mongodb_mongodb-atlas-cli_atlascli_test_e2e.TestRestores/atlas_backups_restores_e2e/e2e_atlas_backups #3906

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

Merged
merged 6 commits into from
May 22, 2025

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented May 22, 2025

Proposed changes

Jira ticket: CLOUDP-309403:

I run the e2e locally with my chages and it was succesfull:

make e2e-test                                                                  8s  1.24.2  16.18.0
==> Building atlas binary for debugging
go build -gcflags="all=-N -l" -ldflags "-s -w -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit=a90e3ce63863a8e02ec133921bcea0aae4948b09 -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.Version=1.42.2-55-ga90e3ce63 -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options.LocalDevImage=docker.io/mongodb/mongodb-atlas-local"  -cover -o ./bin/atlas ./cmd/atlas
==> Running E2E tests...
go test -v -p 1 -parallel 1 -v -timeout 60m -tags="atlas,backup,restores" ./test/e2e...
=== RUN   TestRestores
    atlas_e2e_test_generator.go:190: projectID=682f1d7e6975a15ff30be6b7
    atlas_e2e_test_generator.go:190: projectName=backupRestores-e2e-749
    backup_restores_test.go:44: clusterName=backupRestores-273
    atlas_e2e_test_generator.go:190: projectID=682f1faef7f5eb623bb5412d
    atlas_e2e_test_generator.go:190: projectName=backupRestores2-e2e-333
    backup_restores_test.go:48: clusterName=backupRestores2-280
=== RUN   TestRestores/Create_snapshot
=== RUN   TestRestores/Watch_snapshot_creation
    backup_restores_test.go:85: ............................................
        Snapshot changes completed.

=== RUN   TestRestores/Restores_Create_-_Automated
=== RUN   TestRestores/Restores_Watch
=== RUN   TestRestores/Restores_List
=== RUN   TestRestores/Restores_Describe
=== RUN   TestRestores/Restores_Create_-_Download
=== RUN   TestRestores/Restores_Watch_-_Download
=== RUN   TestRestores/Delete_snapshot
=== RUN   TestRestores/Watch_snapshot_deletion
    backup_restores_test.go:241:
        Snapshot changes completed.

=== NAME  TestRestores
    atlas_e2e_test_generator.go:190: Cluster cleanup "682f1faef7f5eb623bb5412d"
Error: https://cloud-dev.mongodb.com/api/atlas/v2/groups/682f1faef7f5eb623bb5412d/clusters/backupRestores2-280 GET: HTTP 404 Not Found (Error code: "CLUSTER_NOT_FOUND") Detail: No cluster named backupRestores2-280 exists in group 682f1faef7f5eb623bb5412d. Reason: Not Found. Params: [backupRestores2-280 682f1faef7f5eb623bb5412d]
    atlas_e2e_test_generator.go:306: project "682f1faef7f5eb623bb5412d" successfully deleted
    atlas_e2e_test_generator.go:190: Cluster cleanup "682f1d7e6975a15ff30be6b7"
Error: https://cloud-dev.mongodb.com/api/atlas/v2/groups/682f1d7e6975a15ff30be6b7/clusters/backupRestores-273 GET: HTTP 404 Not Found (Error code: "CLUSTER_NOT_FOUND") Detail: No cluster named backupRestores-273 exists in group 682f1d7e6975a15ff30be6b7. Reason: Not Found. Params: [backupRestores-273 682f1d7e6975a15ff30be6b7]
    atlas_e2e_test_generator.go:306: project "682f1d7e6975a15ff30be6b7" successfully deleted
--- PASS: TestRestores (2101.31s)
    --- PASS: TestRestores/Create_snapshot (2.08s)
    --- PASS: TestRestores/Watch_snapshot_creation (193.49s)
    --- PASS: TestRestores/Restores_Create_-_Automated (2.58s)
    --- PASS: TestRestores/Restores_Watch (231.92s)
    --- PASS: TestRestores/Restores_List (2.04s)
    --- PASS: TestRestores/Restores_Describe (1.95s)
    --- PASS: TestRestores/Restores_Create_-_Download (2.00s)
    --- PASS: TestRestores/Restores_Watch_-_Download (175.42s)
    --- PASS: TestRestores/Delete_snapshot (1.79s)
    --- PASS: TestRestores/Watch_snapshot_deletion (1.88s)
PASS
ok  	github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e/backuprestores	2102.152s

@mongodb mongodb deleted a comment from evergreen-ci-prod bot May 22, 2025
@andreaangiolillo andreaangiolillo changed the title CLOUDP-309403: CLOUDP-309403: Flaky Test: mongodb-atlas-cli-master-github.com_mongodb_mongodb-atlas-cli_atlascli_test_e2e.TestRestores/atlas_backups_restores_e2e/e2e_atlas_backups May 22, 2025
@andreaangiolillo andreaangiolillo marked this pull request as ready for review May 22, 2025 13:31
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner May 22, 2025 13:31
Copy link
Contributor

Coverage Report 📈

Branch Commit Coverage
master 15865d9 25.1%
CLOUDP-309403 1f8e5a5 25.1%
Difference 0%

@andreaangiolillo andreaangiolillo merged commit ad444c4 into master May 22, 2025
23 of 24 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-309403 branch May 22, 2025 14:07
blva added a commit that referenced this pull request May 28, 2025
…m_mongodb_mongodb-atlas-cli_atlascli_test_e2e.TestRestores/atlas_backups_restores_e2e/e2e_atlas_backups (#3906)"

This reverts commit ad444c4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants