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

Adds extra e2e test to check status display #2267

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

0xavi0
Copy link
Contributor

@0xavi0 0xavi0 commented Apr 2, 2024

Adding an extra test that deploys a bit more complex scenario so it exercises the Watcher area and events that were filtered in PR: #2031

This test should fail from v0.9.1-rc.2 to v0.9.1-rc.6 and was fixed after reverting the above PR in v0.9.2-rc.1

It also introduces the following changes in CI:

Related to: #2128

@0xavi0 0xavi0 added this to the v2.8-Next1 milestone Apr 2, 2024
@0xavi0 0xavi0 self-assigned this Apr 2, 2024
@0xavi0 0xavi0 requested a review from a team as a code owner April 2, 2024 09:01
@0xavi0 0xavi0 force-pushed the 2128-add-extra-e2e-test branch 3 times, most recently from 10cb974 to ea8b757 Compare April 2, 2024 12:09

It("all deployments are ready and status shown is Ready", func() {
Eventually(func() bool {
frontendReady := checkNReplicasAreReady(k, "frontend", "2")
Copy link
Member

Choose a reason for hiding this comment

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

As discussed: Ideally we would be able to use less heavy deployments with smaller image sizes and no dependencies on physical volumes, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, moving this to draft so it's not merged by mistake

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've changed the test and now it's a simple k8s.gcr.io/pause container which should be less than 250kb and just by adding a init container sleeping 5 seconds I was able to recreate the issue with the affected RCs.

@0xavi0 0xavi0 marked this pull request as draft April 2, 2024 13:47
Related to: rancher#2128

Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
@0xavi0 0xavi0 marked this pull request as ready for review April 3, 2024 10:27
@0xavi0 0xavi0 requested a review from manno April 3, 2024 10:29
@kkaempf kkaempf modified the milestones: v2.8-Next1, v2.8-Next2 Apr 3, 2024
@manno manno merged commit d817e57 into rancher:release/v0.9 Apr 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants