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
ODC-7337: Skip wait for authentication operator to start progressing when the secret already exists #12884
ODC-7337: Skip wait for authentication operator to start progressing when the secret already exists #12884
Conversation
1e4968a
to
a6da146
Compare
/retest |
/test e2e-gcp-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Sanket, this looks good to me, but please add a ticket and a description why this is needed. Thanks :)
/cc
/assign
test-prow-e2e.sh
Outdated
set -x | ||
# Skip wait for authentication operator to start Progressing when the Secret already exists. | ||
# And ignore any kind of errors when the Secret doesn't exist. | ||
set +e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just use --ignore-not-found
instead of set +e
? That would be better so that we still fail on other errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @spadgett, updated the pr
test-prow-e2e.sh
Outdated
# Skip wait for authentication operator to start Progressing when the Secret already exists. | ||
# And ignore any kind of errors when the Secret doesn't exist. | ||
set +e | ||
htpasswdSecretName=$(oc get secret -n openshift-config htpass-secret -o name 2> /dev/null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: shell scripts typically use snake case for var names like htpasswd_secret_name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @spadgett, updated the pr
/retitle ODC-7337: Skip wait for authentication operator to start progressing when the secret already exists |
@sanketpathak: This pull request references ODC-7337 which is a valid jira issue. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
…ecret already exists
a6da146
to
bc79776
Compare
@sanketpathak: This pull request references ODC-7337 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sanketpathak: This pull request references ODC-7337 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sanketpathak: This pull request references ODC-7337 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerolimov, sanketpathak, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Chore change that makes the /label docs-approved |
@sanketpathak: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Issue: https://issues.redhat.com/browse/ODC-7337
Description: For periodic jobs, our tests will append to existing console tests but because the value of
waitForAuthOperatorProgressing
changes from true to false at the start of console tests and with the same procedure our tests keep on waiting to fetch its value as true which never happens and tests do not start