Skip to content

Conversation

@olivergondza
Copy link
Collaborator

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test

/kind enhancement

/kind documentation
/kind code-refactoring

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?

  • [no] Documentation update is required by this PR.
  • [no] Documentation has been updated.

Which issue(s) this PR fixes:

None

Test acceptance criteria:

  • [no] Unit Test
  • [YES] E2E Test

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/.

@openshift-ci openshift-ci bot added the kind/enhancement New feature or request label Sep 5, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 5, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jopit for approval. For more information see the Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link

openshift-ci bot commented Sep 5, 2025

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

@olivergondza olivergondza Sep 5, 2025

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!

@jgwest
Copy link
Member

jgwest commented Sep 8, 2025

/ok-to-test

@olivergondza olivergondza force-pushed the test-for-must-gather branch 2 times, most recently from d1e92f0 to 84b1c7c Compare September 8, 2025 17:30
@olivergondza
Copy link
Collaborator Author

Any idea why this pattern is failing only in this newely added test?

Error: test/openshift/e2e/ginkgo/parallel/1-120_validate_running_must_gather.go:31:2: ST1001: should not use dot imports (staticcheck)
215
	. "github.com/onsi/ginkgo/v2"
216
	^
217
Error: test/openshift/e2e/ginkgo/parallel/1-120_validate_running_must_gather.go:32:2: ST1001: should not use dot imports (staticcheck)
218
	. "github.com/onsi/gomega"
219
	^
220
2 issues:
221
* staticcheck: 2
222
make: *** [Makefile:364: lint] Error 1

https://github.com/redhat-developer/gitops-operator/actions/runs/17559040088/job/49870492021?pr=958

@olivergondza
Copy link
Collaborator Author

Following are failing for some seemingly unrelated reason:

  • ci/prow/v4.14-kuttl-parallel — Job failed.
  • ci/prow/v4.14-kuttl-sequential — Job failed.

/retest

@olivergondza
Copy link
Collaborator Author

/retest-required

@olivergondza
Copy link
Collaborator Author

/retest

@olivergondza olivergondza force-pushed the test-for-must-gather branch 2 times, most recently from 62d322e to 39b85fd Compare September 10, 2025 06:33
@olivergondza olivergondza force-pushed the test-for-must-gather branch 3 times, most recently from 66e9085 to 9cb873c Compare September 16, 2025 19:06
@olivergondza
Copy link
Collaborator Author

/retest

1 similar comment
@olivergondza
Copy link
Collaborator Author

/retest

@openshift-ci
Copy link

openshift-ci bot commented Sep 29, 2025

@olivergondza: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v4.17-ci-index-gitops-operator-bundle 66e9085 link true /test v4.17-ci-index-gitops-operator-bundle
ci/prow/v4.17-kuttl-sequential 66e9085 link true /test v4.17-kuttl-sequential
ci/prow/v4.14-kuttl-parallel 962d2e7 link true /test v4.14-kuttl-parallel

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or request ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants