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

Flakey GO Tests: Database Account localhost does not exist #8654

Closed
nadavsteindler opened this issue Feb 13, 2025 · 4 comments
Closed

Flakey GO Tests: Database Account localhost does not exist #8654

nadavsteindler opened this issue Feb 13, 2025 · 4 comments
Labels
area/ci bug Something isn't working x/duplicate This issue or pull request already exists

Comments

@nadavsteindler
Copy link
Contributor

nadavsteindler commented Feb 13, 2025

Go Tests in CI frequently fail at random with the following message. This is very frustrating

Image

https://github.com/treeverse/lakeFS/actions/runs/13312360450/job/37177866725?pr=8653

ok  	github.com/treeverse/lakefs/pkg/graveler/retention	1.040s	coverage: 53.2% of statements
ok  	github.com/treeverse/lakefs/pkg/graveler/settings	1.201s	coverage: 67.9% of statements
ok  	github.com/treeverse/lakefs/pkg/graveler/sstable	1.138s	coverage: 61.7% of statements
ok  	github.com/treeverse/lakefs/pkg/graveler/staging	20.810s	coverage: 75.6% of statements
ok  	github.com/treeverse/lakefs/pkg/httputil	1.020s	coverage: 31.3% of statements
ok  	github.com/treeverse/lakefs/pkg/kv	1.260s	coverage: 38.1% of statements
2025/02/13 16:32:09 Waiting up to 5m0s for emulator to start
2025/02/13 16:32:24 Creating database test-db
0x02025/02/13 16:32:26 creating database: failed to retrieve account properties: GET https://localhost:32774
--------------------------------------------------------------------------------
RESPONSE 403: 403 Forbidden
ERROR CODE: 403 Forbidden
--------------------------------------------------------------------------------
{
  "code": "Forbidden",
  "message": "Database Account localhost does not exist\r\nActivityId: cbe81dbe-9939-4f5e-b0a6-96440c35c1fe, Microsoft.Azure.Documents.Common/2.14.0"
}
--------------------------------------------------------------------------------
FAIL	github.com/treeverse/lakefs/pkg/kv/cosmosdb	40.210s
ok  	github.com/treeverse/lakefs/pkg/kv/dynamodb	27.867s	coverage: 75.6% of statements
ok  	github.com/treeverse/lakefs/pkg/kv/local	2.763s	coverage: 88.2% of statements
ok  	github.com/treeverse/lakefs/pkg/kv/mem	1.472s	coverage: 100.0% of statements
ok  	github.com/treeverse/lakefs/pkg/kv/postgres	28.354s	coverage: 86.0% of statements
FAIL
make: *** [Makefile:200: test-go] Error 1
Error: Process completed with exit code 2.
@nadavsteindler nadavsteindler added bug Something isn't working area/ci labels Feb 13, 2025
@itaiad200
Copy link
Contributor

@nopcoder I think you have a PR opened for this, right?

@nopcoder
Copy link
Contributor

yes. there is an issue and failed pr... still trying to find the root cause.

#8660

@nopcoder
Copy link
Contributor

#8659 dup, can close one of them and just update the PR.

Help is required, if you identified the source of the problem.

@itaiad200
Copy link
Contributor

Closing in favor of #8659

@itaiad200 itaiad200 added the x/duplicate This issue or pull request already exists label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci bug Something isn't working x/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants