-
Notifications
You must be signed in to change notification settings - Fork 343
feat(tests): Add tests for gitops-must-gather #958
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
base: master
Are you sure you want to change the base?
feat(tests): Add tests for gitops-must-gather #958
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @olivergondza. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
|
|
||
| // MustGatherImage is a good place to insert development image | ||
| // Known to be buggy in 1.17.0 | ||
| const MustGatherImage = "registry.redhat.io/openshift-gitops-1/must-gather-rhel8:v1.16.0" // TODO, use tag name with SUT version |
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.
For the purposes of verification:
Working: v1.16.0
Regression: v1.17.0
Test build for unpublished must-gather: quay.io/ogondza/gitops-must-gather:85ba0137a1f377113638862aebff971ecac2c10f
|
|
||
| // TODO https://github.com/redhat-developer/gitops-must-gather/blob/135850b74b56b6fda9fc68ed4165a88b5c7dbeaf/gather_gitops.sh#L40 | ||
| // TODO https://github.com/redhat-developer/gitops-must-gather/blob/135850b74b56b6fda9fc68ed4165a88b5c7dbeaf/gather_gitops.sh#L61 | ||
| // TODO https://github.com/redhat-developer/gitops-must-gather/blob/135850b74b56b6fda9fc68ed4165a88b5c7dbeaf/gather_gitops.sh#L79 |
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.
These are strictly speaking not needed now, but would achieve "full coverage" of the must gather script.
Any help installing given conditions in test cluster is appreciated. Thanks!
test/openshift/e2e/ginkgo/parallel/1-120_validate_running_must_gather.go
Outdated
Show resolved
Hide resolved
|
/ok-to-test |
d1e92f0 to
84b1c7c
Compare
|
Any idea why this pattern is failing only in this newely added test? https://github.com/redhat-developer/gitops-operator/actions/runs/17559040088/job/49870492021?pr=958 |
|
Following are failing for some seemingly unrelated reason:
/retest |
|
/retest-required |
84b1c7c to
5087629
Compare
|
/retest |
62d322e to
39b85fd
Compare
66e9085 to
9cb873c
Compare
Signed-off-by: Oliver Gondža <[email protected]>
Signed-off-by: Oliver Gondža <[email protected]>
…o memory + please gosec Signed-off-by: Oliver Gondža <[email protected]>
Signed-off-by: Oliver Gondža <[email protected]>
Signed-off-by: Oliver Gondža <[email protected]>
9cb873c to
962d2e7
Compare
|
/retest |
1 similar comment
|
/retest |
|
@olivergondza: The following tests failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
Automate correctness and compatibility of the https://github.com/redhat-developer/gitops-must-gather/
Have you updated the necessary documentation?
Which issue(s) this PR fixes:
None
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
To be tested as (local running operator):
env LOCAL_RUN=true ./bin/ginkgo -v -focus "validate_running_must_gather" -r ./test/openshift/e2e/ginkgo/parallel/.