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

GITOPS-477 Add back non-kuttl test execution. #724

Closed

Conversation

trdoyle81
Copy link
Contributor

What type of PR is this?
/kind code-refactoring

What does this PR do / why we need it:
Non-kuttl test execution was removed in a previous PR as the 'printer' package is no longer available in "sigs.k8s.io/controller-runtime/pkg/envtest/printer"

Which issue(s) this PR fixes:

Fixes #?
GITOPS-4777

How to test changes / Special notes to the reviewer:
make test-e2e should now execute (without RunSpecsWithDefaultAndCustomReporters)

iam-veeramalla and others added 30 commits May 20, 2023 00:42
docs: Update doc to reflect extended support for sso deprecated fields
fix: minor fixes in non-olm install script and doc
…gcd-operator

Update CRD, bundle changes and argocd-operator version
…-dynamic-plugin-cr

Promote ConsolePlugin API version to v1
…ation

chore: Update argocd-operator to include ha reconciliation fix
Signed-off-by: Siddhesh Ghadi <[email protected]>
chore: Update argocd-operator to fix sso test failure
…cleanup

fix: Remove premature removal of finalizer from Default ArgoCD Instance
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
* Disable flaky e2e tests

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Disable 1-057_validate_notifications

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Disable 1-068_validate_redis_secure_comm_autotls_no_ha

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Disable flaky tests

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Disable test

Signed-off-by: Siddhesh Ghadi <[email protected]>

---------

Signed-off-by: Siddhesh Ghadi <[email protected]>
updated tests for non-olm



comment



comment



minor change



review fix



review comments



changes



changes



add options for testsuite



review comments and updates



changes



remove empty file



changes



review fix



review changes



using temp directory for tests



review comments



fix



fix



testing false positives



fix



fix



fix



fix

Signed-off-by: saumeya <[email protected]>
Co-authored-by: Varsha B <[email protected]>
svghadi and others added 6 commits July 13, 2024 17:35
Signed-off-by: Siddhesh Ghadi <[email protected]>
Co-authored-by: William Tam <[email protected]>
* update operator-sdk version to 1.32

Signed-off-by: Anand Kumar Singh <[email protected]>

* fix: usign controller-gen 1.14.0

Signed-off-by: Anand Kumar Singh <[email protected]>

* fix: test, CRD filepath

Signed-off-by: Anand Kumar Singh <[email protected]>

---------

Signed-off-by: Anand Kumar Singh <[email protected]>
* chore: upgrade operator-sdk to 1.35

Signed-off-by: Anand Kumar Singh <[email protected]>

* chore: use latest argocd-operator changes

Signed-off-by: Anand Kumar Singh <[email protected]>

* update Dockerfile file to pint to new main.go location

Signed-off-by: Anand Kumar Singh <[email protected]>

---------

Signed-off-by: Anand Kumar Singh <[email protected]>
…9c5765e98ca2f70ca01f9' (redhat-developer#746)

* Update to latest commit of argo-rollouts-manager '192dd2c3b5dd026e2c59c5765e98ca2f70ca01f9'

Signed-off-by: Jonathan West <[email protected]>

* Update Rollouts E2E tests to reflect updated ClusterRoles

Signed-off-by: Jonathan West <[email protected]>

---------

Signed-off-by: Jonathan West <[email protected]>
@trdoyle81 trdoyle81 force-pushed the GITOPS-4777-Add-Back-Tests branch from 1ad6bf6 to 5af83f0 Compare July 25, 2024 10:59
Copy link

openshift-ci bot commented Jul 25, 2024

[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 svghadi for approval. For more information see the Kubernetes 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

@svghadi
Copy link
Member

svghadi commented Jul 25, 2024

I see the non default e2e tests suite is failing with

go test -p 1 -timeout 1h ./test/e2e -coverprofile cover.out -ginkgo.v
ok  	github.com/redhat-developer/gitops-operator/test/e2e	581.156s	coverage: [no statements]
go test -p 1 -timeout 1h ./test/nondefaulte2e -coverprofile cover.out -ginkgo.v
....
2024-07-25T11:52:55Z	ERROR	controller-runtime.source.EventHandler	kind must be registered to the Scheme	{"error": "no kind is registered for the type v1alpha1.NotificationsConfiguration in scheme \"k8s.io/client-go/kubernetes/scheme/register.go:80\""}

We probably need the same import fix as the one made in test/e2e/suite_test.go. - @trdoyle81
here:

Expect(argoapi.AddToScheme(scheme.Scheme)).NotTo(HaveOccurred())

jgwest and others added 2 commits July 25, 2024 14:15
…eloper#633)

* Update & reorganize new argocd creation doc

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Update ArgoCD v1alpha1 ref to v1beta1

Signed-off-by: Siddhesh Ghadi <[email protected]>

---------

Signed-off-by: Siddhesh Ghadi <[email protected]>
Co-authored-by: Abhishek Veeramalla <[email protected]>
@trdoyle81 trdoyle81 force-pushed the GITOPS-4777-Add-Back-Tests branch from 77014cf to 0c6331e Compare July 29, 2024 08:03
varshab1210 and others added 10 commits July 30, 2024 04:32
…hat-developer#758)

* feat: add support for sidecar container in controller and server

Signed-off-by: iam-veeramalla <[email protected]>

* fix: failing test due to timeout

Signed-off-by: iam-veeramalla <[email protected]>

* fix: failing tests

Signed-off-by: iam-veeramalla <[email protected]>

* fix: manifests updates

Signed-off-by: iam-veeramalla <[email protected]>

---------

Signed-off-by: iam-veeramalla <[email protected]>
…edhat-developer#740)

* Fix bug where ArgoCD removes nodePlacement stanza from configuration

Signed-off-by: Rizwana777 <[email protected]>

* Add unit test for argocd nodeplacement

Signed-off-by: Rizwana777 <[email protected]>

---------

Signed-off-by: Rizwana777 <[email protected]>
* Work in progress for Rollouts Dashboard

Signed-off-by: Gerald Nunn <[email protected]>

* First iteration of Rollouts dashboard

Signed-off-by: Gerald Nunn <[email protected]>

* Add dashboard for Rollouts

Signed-off-by: Gerald Nunn <[email protected]>

* Include mention of Rollouts dashboard

Signed-off-by: Gerald Nunn <[email protected]>

---------

Signed-off-by: Gerald Nunn <[email protected]>
…api is not available (redhat-developer#761)

* Upgraded ArgoCD operator, ArgoCD to pick up the fix for Route API not being available

Signed-off-by: Anand Francis Joseph <[email protected]>

* Reverted operator-sdk version to 1.35

Signed-off-by: Anand Francis Joseph <[email protected]>

* fixed a failing test due to mount path mismatch

Signed-off-by: Anand Francis Joseph <[email protected]>

---------

Signed-off-by: Anand Francis Joseph <[email protected]>
@trdoyle81 trdoyle81 force-pushed the GITOPS-4777-Add-Back-Tests branch from 0c6331e to 426e5e6 Compare August 12, 2024 08:21
test/e2e/suite_test.go Outdated Show resolved Hide resolved
test/e2e/suite_test.go Outdated Show resolved Hide resolved
test/nondefaulte2e/suite_test.go Outdated Show resolved Hide resolved
Copy link
Member

@svghadi svghadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @trdoyle81. Seems like import changes worked. Left a small suggestion, rest all looks good. Could you also fix the DCO CI job by signing the commits?

test/nondefaulte2e/suite_test.go Outdated Show resolved Hide resolved
@trdoyle81 trdoyle81 closed this Aug 13, 2024
@trdoyle81 trdoyle81 force-pushed the GITOPS-4777-Add-Back-Tests branch from 866c244 to 744f0c5 Compare August 13, 2024 10:44
Copy link

openshift-ci bot commented Aug 13, 2024

@trdoyle81: 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/unit 744f0c5 link true /test unit
ci/prow/v4.12-e2e 744f0c5 link true /test v4.12-e2e
ci/prow/v4.12-ci-index-gitops-operator-bundle 744f0c5 link true /test v4.12-ci-index-gitops-operator-bundle
ci/prow/v4.12-images 744f0c5 link true /test v4.12-images
ci/prow/v4.13-ci-index-gitops-operator-bundle 744f0c5 link true /test v4.13-ci-index-gitops-operator-bundle
ci/prow/v4.12-kuttl-sequential 744f0c5 link true /test v4.12-kuttl-sequential
ci/prow/v4.12-kuttl-parallel 744f0c5 link true /test v4.12-kuttl-parallel
ci/prow/v4.13-e2e 744f0c5 link true /test v4.13-e2e
ci/prow/v4.13-images 744f0c5 link true /test v4.13-images
ci/prow/v4.13-kuttl-parallel 744f0c5 link true /test v4.13-kuttl-parallel
ci/prow/v4.13-kuttl-sequential 744f0c5 link true /test v4.13-kuttl-sequential
ci/prow/v4.14-ci-index-gitops-operator-bundle 744f0c5 link true /test v4.14-ci-index-gitops-operator-bundle
ci/prow/v4.14-e2e 744f0c5 link true /test v4.14-e2e
ci/prow/v4.14-kuttl-parallel 744f0c5 link true /test v4.14-kuttl-parallel
ci/prow/v4.14-images 744f0c5 link true /test v4.14-images
ci/prow/v4.14-kuttl-sequential 744f0c5 link true /test v4.14-kuttl-sequential

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.