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

use default k8s version for spot e2e test #4910

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

nojnhuh
Copy link
Contributor

@nojnhuh nojnhuh commented Jun 10, 2024

What type of PR is this?
/kind failing-test

What this PR does / why we need it:

It looks like there was some copy-pasta when this test was first made that locked it to the Flatcar test's k8s version which seems like a mistake. This PR removes that to fallback to the default to fix this test.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  • cherry-pick candidate

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

NONE

It looks like there was some copy-pasta when this test was first made
that locked it to the Flatcar test's k8s version which seems like a
mistake. This PR removes that to fallback to the default to fix this
test.
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 10, 2024
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 10, 2024
@nojnhuh
Copy link
Contributor Author

nojnhuh commented Jun 10, 2024

/cherry-pick release-1.14
cherry-pick release-1.15

/test pull-cluster-api-provider-azure-e2e-optional

@k8s-infra-cherrypick-robot

@nojnhuh: once the present PR merges, I will cherry-pick it on top of release-1.14 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.14
cherry-pick release-1.15

/test pull-cluster-api-provider-azure-e2e-optional

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.

@nojnhuh
Copy link
Contributor Author

nojnhuh commented Jun 10, 2024

/cherry-pick release-1.15

@k8s-infra-cherrypick-robot

@nojnhuh: once the present PR merges, I will cherry-pick it on top of release-1.15 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.15

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.

@nojnhuh
Copy link
Contributor Author

nojnhuh commented Jun 10, 2024

@mboersma Is my assumption that the k8s v1.26.13 images are EOL correct based on this log message in the failing tests?

E0608 21:06:58.188500       1 controller.go:329] "Reconciler error" err="failed to init machine scope cache: failed to get default image: no VM image found for publisher \"cncf-upstream\" offer \"capi\" sku \"ubuntu-2204-gen1\" with Kubernetes version \"v1.26.13\"" controller="azuremachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="AzureMachine" AzureMachine="capz-e2e-aqq03a/capz-e2e-aqq03a-spot-control-plane-j76xm" namespace="capz-e2e-aqq03a" name="capz-e2e-aqq03a-spot-control-plane-j76xm" reconcileID="f6ef8327-3107-4af3-939d-db22c64664ff"

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/periodic-cluster-api-provider-azure-e2e-main/1799541282691878912

@mboersma
Copy link
Contributor

@nojnhuh yes, (almost) all the v1.26.x images were deprecated on June 5th. But v1.26.15 will be available until August 17th, so if a test really can't update to a more current, supported version of Kubernetes, they can use v1.26.15 for another sixty or so days.

Copy link
Contributor

@mboersma mboersma left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 10, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 6844d71180ba3f57db67f274aff21db8f2370511

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.19%. Comparing base (9018639) to head (e44650c).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4910   +/-   ##
=======================================
  Coverage   62.19%   62.19%           
=======================================
  Files         201      201           
  Lines       16878    16878           
=======================================
  Hits        10497    10497           
  Misses       5591     5591           
  Partials      790      790           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nojnhuh
Copy link
Contributor Author

nojnhuh commented Jun 10, 2024

/assign @willie-yao

@k8s-ci-robot
Copy link
Contributor

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

Test name Commit Details Required Rerun command
pull-cluster-api-provider-azure-e2e-optional e44650c link false /test pull-cluster-api-provider-azure-e2e-optional

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@nojnhuh
Copy link
Contributor Author

nojnhuh commented Jun 10, 2024

Optional job failure is in the cluster class test so I'm reasonably confident that's a flake. The spot test passed.

Copy link
Contributor

@willie-yao willie-yao left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: willie-yao

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 10, 2024
@nojnhuh nojnhuh mentioned this pull request Jun 10, 2024
4 tasks
@k8s-ci-robot k8s-ci-robot merged commit e9cc97f into kubernetes-sigs:main Jun 10, 2024
19 of 20 checks passed
@nojnhuh nojnhuh deleted the spot-version branch June 10, 2024 20:21
@k8s-infra-cherrypick-robot

@nojnhuh: new pull request created: #4912

In response to this:

/cherry-pick release-1.14
cherry-pick release-1.15

/test pull-cluster-api-provider-azure-e2e-optional

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.

@k8s-infra-cherrypick-robot

@nojnhuh: new pull request created: #4913

In response to this:

/cherry-pick release-1.15

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
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants