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

Instead of random wait time in CI, read the resource details using Timeout #42

Closed
parth-gr opened this issue Aug 3, 2022 · 3 comments · Fixed by #48
Closed

Instead of random wait time in CI, read the resource details using Timeout #42

parth-gr opened this issue Aug 3, 2022 · 3 comments · Fixed by #48
Assignees

Comments

@parth-gr
Copy link
Member

parth-gr commented Aug 3, 2022

+ kubectl rook_ceph -o test-operator -n test-cluster rbd ls replicapool
rbd: error opening pool 'replicapool': (2) No such file or directory
rbd: listing images failed: (2) No such file or directory
command terminated with exit code 2
Error: Process completed with exit code 2.

The CI failed because the wait time was not enough to reconcile the operator completely,

Instead of adding random wait time, we can read the resource until it becomes ready using Timeout,

LIke : https://github.com/rook/rook/blob/ec0c9a7963357fcd9023fc8d7c28720fe6f3c810/.github/workflows/canary-integration-test.yml#L59

@subhamkrai
Copy link
Collaborator

after this fix #38 I have not seen a CI issue, before this, I faced but not once was this merged.
try rebasing.

@parth-gr
Copy link
Member Author

parth-gr commented Aug 3, 2022

@subhamkrai You can see my PR is already on top of it #36

Still, the CI fails with this error,

And anyhow using Timeout would be a good practice in time, when the CI would be growing more with commands:)

@subhamkrai
Copy link
Collaborator

right, checking for resource is better
Feel free to raise the pr

parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 22, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 23, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 24, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 29, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 29, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Aug 30, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 1, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 6, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 6, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 6, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 6, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 8, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 15, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 15, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 15, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 21, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 21, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 22, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 22, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 27, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 27, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Sep 28, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 17, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 18, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 19, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
parth-gr added a commit to parth-gr/kubectl-rook-ceph that referenced this issue Oct 20, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
subhamkrai pushed a commit to subhamkrai/kubectl-rook-ceph that referenced this issue Nov 10, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
subhamkrai pushed a commit to subhamkrai/kubectl-rook-ceph that referenced this issue Nov 10, 2022
Instead of random sleep time, added timeout
so we will wait till the pods get started

Closes: rook#42
Signed-off-by: parth-gr <paarora@redhat.com>
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