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

[Bug]: cosmosdb_test hangs and fails for Apple chips #8476

Open
itaigilo opened this issue Jan 8, 2025 · 1 comment
Open

[Bug]: cosmosdb_test hangs and fails for Apple chips #8476

itaigilo opened this issue Jan 8, 2025 · 1 comment
Labels
area/testing Improvements or additions to tests bug Something isn't working

Comments

@itaigilo
Copy link
Contributor

itaigilo commented Jan 8, 2025

What happened?

When running cosmosdb_test, it fails for timeout when waiting for the Docker image (https://mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest) to start (see logs section below).

This happens to users with Mac with an Apple chip (and runs OK on the CI).

Expected behavior

The test passes.

lakeFS version

v1.43.0 (and above)

How lakeFS is installed

No response

Affected clients

No response

Relevant log output

2025/01/06 10:34:43 Waiting up to 5m0s for emulator to start
2025/01/06 10:39:41 Could not connect to Docker: could not connect to cosmosdb emulator at https://localhost:55035: reached retry deadline: Get "https://localhost:55035/_explorer/emulator.pem": dial tcp [::1]:55035: connect: connection refused
FAIL	github.com/treeverse/lakefs/pkg/kv/cosmosdb	299.548s

Contact details

No response

@itaigilo itaigilo added bug Something isn't working area/testing Improvements or additions to tests labels Jan 8, 2025
@idanovo
Copy link
Contributor

idanovo commented Jan 8, 2025

This test is trying to run this docker image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest
When running docker ps -a I noticed this image ran and exited with status code 139 which probably indicates it tried to access a memory location to which it does not have access.
From the docs it seems like this emulator is not supported for mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Improvements or additions to tests bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants