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

envtest flake: VolumeReplicationGroupVolRepController restore test case for existing and bound PV/PVC PVC selection when two are deselected with volume unprotection disabled [It] updates the status #1372

Open
ShyamsundarR opened this issue May 4, 2024 · 0 comments · May be fixed by #1379
Assignees

Comments

@ShyamsundarR
Copy link
Member

Issue seems to be as follows:

  • VRG read a config map that had not enabled VolumeUnprotectionEnabled and so never updated status to remove the PVC (and so the resource revision stayed the same) and caused the failure
  • Q: The CM is written out and read per VRG reconcile using the APIReader, so ideally it should have fetched the updated CM as the test updates it first before fetching the current resource version, unsure why there is still a race here

Instance: https://github.com/ShyamsundarR/ramen/actions/runs/8950110219/job/24585118592 (also occurred about 2 out of 75 times locally)

VolumeReplicationGroupVolRepController restore test case for existing and bound PV/PVC PVC selection when two are deselected with volume unprotection disabled [It] updates the status
.../ramen/controllers/vrg_volrep_test.go:397

<huge snip of logs>

  [FAILED] in [It] - /home/somari/go/src/github.com/ramendr/ramen/controllers/vrg_volrep_test.go:398 @ 05/03/24 10:36:26.097
  << Timeline

  [FAILED] Timed out after 1.000s.
  Expected
      <string>: 2299
  not to equal
      <string>: 2299
  In [It] at: .../ramen/controllers/vrg_volrep_test.go:398 @ 05/03/24 10:36:26.097

Summarizing 1 Failure:
  [FAIL] VolumeReplicationGroupVolRepController restore test case for existing and bound PV/PVC PVC selection when two are deselected with volume unprotection disabled [It] updates the status
  .../ramen/controllers/vrg_volrep_test.go:398
@ELENAGER ELENAGER self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants