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

Fix e2e #334

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Fix e2e #334

merged 3 commits into from
Jul 1, 2024

Conversation

slintes
Copy link
Member

@slintes slintes commented Jul 1, 2024

Why we need this PR

Broken e2e test because of SNR support multiple templates feature

Changes made

Look for CR with node name in annotation instead of CR name

Also:

  • always set node name annotation, I don't see a reason to not do that
  • make CR name nicer in case it doesn't match node name by adding a "-" between node name and suffix

slintes added 3 commits July 1, 2024 15:00
CR doesn't always have node name as name anymore

Signed-off-by: Marc Sluiter <[email protected]>
@slintes
Copy link
Member Author

slintes commented Jul 1, 2024

/test 4.12-openshift-e2e
/test 4.16-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Jul 1, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano, slintes

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

@slintes slintes marked this pull request as ready for review July 1, 2024 15:06
@slintes
Copy link
Member Author

slintes commented Jul 1, 2024

test fails on OCP 4.17 because it doesn't find the ConsolePlugin. I see this in the NHC logs:

E0701 14:29:51.097198       1 reflector.go:147] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:105: Failed to watch *v1alpha1.ConsolePlugin: failed to list *v1alpha1.ConsolePlugin: conversion webhook for console.openshift.io/v1, Kind=ConsolePlugin failed: Post "https://webhook.openshift-console-operator.svc:9443/crdconvert?timeout=30s": service "webhook" not found

However, I don't see an error the plugin wasn't created.
Might be a temporary issue in current OCP 4.17 state.

Logs: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/medik8s_node-healthcheck-operator/334/pull-ci-medik8s-node-healthcheck-operator-main-4.17-openshift-e2e/1807769565258584064

/override ci/prow/4.17-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Jul 1, 2024

@slintes: Overrode contexts on behalf of slintes: ci/prow/4.17-openshift-e2e

In response to this:

test fails on OCP 4.17 because it doesn't find the ConsolePlugin. I see this in the NHC logs:

E0701 14:29:51.097198       1 reflector.go:147] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:105: Failed to watch *v1alpha1.ConsolePlugin: failed to list *v1alpha1.ConsolePlugin: conversion webhook for console.openshift.io/v1, Kind=ConsolePlugin failed: Post "https://webhook.openshift-console-operator.svc:9443/crdconvert?timeout=30s": service "webhook" not found

However, I don't see an error the plugin wasn't created.
Might be a temporary issue in current OCP 4.17 state.

Logs: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/medik8s_node-healthcheck-operator/334/pull-ci-medik8s-node-healthcheck-operator-main-4.17-openshift-e2e/1807769565258584064

/override ci/prow/4.17-openshift-e2e

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.

@slintes
Copy link
Member Author

slintes commented Jul 1, 2024

/override ci/prow/4.17-openshift-e2e
/test 4.16-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Jul 1, 2024

@slintes: Overrode contexts on behalf of slintes: ci/prow/4.17-openshift-e2e

In response to this:

/override ci/prow/4.17-openshift-e2e
/test 4.16-openshift-e2e

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.

@openshift-merge-bot openshift-merge-bot bot merged commit b7323ff into medik8s:main Jul 1, 2024
27 checks passed
@slintes
Copy link
Member Author

slintes commented Aug 7, 2024

/cherry-pick release-0.8

@openshift-cherrypick-robot

@slintes: new pull request created: #342

In response to this:

/cherry-pick release-0.8

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.

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

Successfully merging this pull request may close these issues.

3 participants