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(e2e): Tenant Replications #1168

Open
oliverbaehler opened this issue Aug 20, 2024 · 5 comments
Open

bug(e2e): Tenant Replications #1168

oliverbaehler opened this issue Aug 20, 2024 · 5 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@oliverbaehler
Copy link
Collaborator

Bug description

The e2e tests for the tenant replications often fail:

Summarizing 1 Failure:
  [FAIL] Creating a GlobalTenantResource object [It] should replicate resources to all Tenants
  /home/runner/work/capsule/capsule/e2e/globaltenantresource_test.go:276

They should be fixed, so we can rely on the status of our pipeline

@oliverbaehler oliverbaehler added bug Something isn't working blocked-needs-validation Issue need triage and validation labels Aug 20, 2024
@prometherion prometherion added good first issue Good for newcomers and removed blocked-needs-validation Issue need triage and validation labels Aug 24, 2024
@prometherion
Copy link
Member

I witnessed this failure several times, despite the feature working as expected.

This could be a nice issue for newcomers, happy to share more information on how to debug the failure and provide a fix, definitely something's race-ish.

@dev-saw99
Copy link

Hi @prometherion ,

I'd like to work on this issue. Could you please provide more details on how to reproduce the failure and any tips for debugging?

Looking forward to contributing!

@prometherion
Copy link
Member

Sorry for this late answer, @dev-saw99!

Unfortunately, I've no idea why this is happening 😢

What I could suggest is trying back and for the incriminated test: after setting up the local environment, you can easily do this with the following command: ./bin/ginkgo run -v --tags=e2e --focus 'should replicate resources to all Tenants' ./e2e

Upon a failure, Capsule logs and current state must be investigated since I guess something raceish is happening 🤔

@dev-saw99
Copy link

@prometherion Hey, I tried but I was not able to reproduce this issue.

I will spend more time over this weekend and update here.

Meanwhile, if you have any suggestions please let me know.

@prometherion
Copy link
Member

Unfortunately, it seems it could be related to the whole test-suite.

The single suggestion I could have here is to run it entirely, and wait for failures, and check Capsule logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants