Skip to content

[WIP] OCPBUGS-45729: Updating ose-openshift-apiserver-container image to be consistent with ART for 4.19 #486

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

wangke19
Copy link

@wangke19 wangke19 commented Jan 27, 2025

What does the PR do:

  1. Updated go 1.23 and OCP 4.19
  2. Fixd unit test error: image quay.io/coreos/etcd:latest not found, due to Image with 'latest' tag corresponds to an older etcd version etcd-io/etcd#15382

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 27, 2025
@wangke19 wangke19 closed this Jan 27, 2025
@wangke19
Copy link
Author

/reopen

Copy link
Contributor

openshift-ci bot commented Jan 27, 2025

@wangke19: Failed to re-open PR: state cannot be changed. There are no new commits on the wangke19:go-version-update branch.

In response to this:

/reopen

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.

@wangke19
Copy link
Author

/reopen

@openshift-ci openshift-ci bot reopened this Jan 27, 2025
Copy link
Contributor

openshift-ci bot commented Jan 27, 2025

@wangke19: Reopened this PR.

In response to this:

/reopen

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.

@gangwgr
Copy link

gangwgr commented Jan 27, 2025

/test verify

@wangke19 wangke19 force-pushed the go-version-update branch 2 times, most recently from 090ae8e to a8a780f Compare January 27, 2025 09:56
@gangwgr
Copy link

gangwgr commented Jan 27, 2025

/retest

1 similar comment
@gangwgr
Copy link

gangwgr commented Jan 28, 2025

/retest

@wangke19 wangke19 changed the title [WIP]Updating ose-openshift-apiserver-container image to be consistent with ART for 4.19 OCPBUGS-45729: Updating ose-openshift-apiserver-container image to be consistent with ART for 4.19 Feb 5, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 5, 2025
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Feb 5, 2025
@openshift-ci-robot
Copy link

@wangke19: This pull request references Jira Issue OCPBUGS-45729, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @gangwgr

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from gangwgr February 5, 2025 05:01
@wangke19
Copy link
Author

wangke19 commented Feb 5, 2025

/assign @dgrisonnet

@dgrisonnet
Copy link
Member

You need to update the container image, similarly to: https://github.com/openshift/openshift-apiserver/pull/490/files

@gangwgr
Copy link

gangwgr commented Feb 5, 2025

@dgrisonnet We tried that #464, in which pr test are not passing

@dgrisonnet
Copy link
Member

Looking at the failure on the other PR, you need to run hack/update-generated-conversions.sh and push the changes to fix the test

@gangwgr
Copy link

gangwgr commented Feb 5, 2025

We tried that, but without library update that was failing

@wangke19
Copy link
Author

wangke19 commented Feb 5, 2025

Looking at the failure on the other PR, you need to run hack/update-generated-conversions.sh and push the changes to fix the test

Done, let's see results of ci jobs.

@gangwgr
Copy link

gangwgr commented Feb 20, 2025

/retest

@wangke19 wangke19 force-pushed the go-version-update branch 2 times, most recently from 8ebd58b to 698d1c7 Compare March 6, 2025 12:02
@dinhxuanvu
Copy link
Member

Hold this PR for further investigation.
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 13, 2025
@wangke19 wangke19 force-pushed the go-version-update branch from 698d1c7 to 8ddda1a Compare March 24, 2025 11:59
@wangke19 wangke19 changed the title OCPBUGS-45729: Updating ose-openshift-apiserver-container image to be consistent with ART for 4.19 [WIP] OCPBUGS-45729: Updating ose-openshift-apiserver-container image to be consistent with ART for 4.19 Mar 24, 2025
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 24, 2025
@openshift-ci-robot
Copy link

@wangke19: This pull request references Jira Issue OCPBUGS-45729, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @wangke19

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

What does the PR do:

  1. Updated go 1.23 and OCP 4.19
  2. Fixd unit test error: image quay.io/coreos/etcd:latest not found, due to Image with 'latest' tag corresponds to an older etcd version etcd-io/etcd#15382

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 openshift-eng/jira-lifecycle-plugin repository.

Copy link
Contributor

openshift-ci bot commented Mar 24, 2025

@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: wangke19.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@wangke19: This pull request references Jira Issue OCPBUGS-45729, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.19.0) matches configured target version for branch (4.19.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @wangke19

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

What does the PR do:

  1. Updated go 1.23 and OCP 4.19
  2. Fixd unit test error: image quay.io/coreos/etcd:latest not found, due to Image with 'latest' tag corresponds to an older etcd version etcd-io/etcd#15382

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 openshift-eng/jira-lifecycle-plugin repository.

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.

@wangke19 wangke19 force-pushed the go-version-update branch from 7c1aac1 to 4d86479 Compare March 26, 2025 13:30
@wangke19
Copy link
Author

Depends on openshift/kubernetes-apiserver#65

@dinhxuanvu
Copy link
Member

@wangke19 You will need to update the go.mod to reference my commit in this PR. This PR will serve as a proof for k8s-apiserver PR. If this PR passes CI, then k8s-apiserver PR can be merged.

@wangke19
Copy link
Author

@dinhxuanvu I updated k8s.io/apiserver reference of openshift/kubernetes-apiserver#65, will run tests to look the results.

Copy link
Contributor

openshift-ci bot commented Apr 24, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wangke19
Once this PR has been reviewed and has the lgtm label, please ask for approval from dgrisonnet. 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

@wangke19
Copy link
Author

/test e2e-aws-ovn-serial

@wangke19
Copy link
Author

wangke19 commented Apr 28, 2025

@dinhxuanvu Do you have any suggestions for failed unit tests and verify test?

@wangke19 wangke19 force-pushed the go-version-update branch from 1f5c005 to 231a2b8 Compare April 28, 2025 09:58
@wangke19
Copy link
Author

/test e2e-aws-ovn-builds

@wangke19
Copy link
Author

/test okd-scos-e2e-aws-ovn

1 similar comment
@wangke19
Copy link
Author

/test okd-scos-e2e-aws-ovn

Copy link
Contributor

openshift-ci bot commented Apr 28, 2025

@wangke19: 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/okd-scos-e2e-aws-ovn 231a2b8 link false /test okd-scos-e2e-aws-ovn
ci/prow/verify 231a2b8 link true /test verify
ci/prow/unit 231a2b8 link true /test unit

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.

Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

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

One of your commits causes failures on unit tests unfortunately. See the comment for details.

},
},
}
if errs = kapivalidation.ValidateResourceQuota(quota); len(errs) > 0 {
Copy link
Member

Choose a reason for hiding this comment

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

I would like to ask why you added this block of code to validate resource limits? The func ValidateResourceQuota actually validate ObjectMeta as well which leads to all of failures on unit tests due to the fact this RQ object doesn't have name or namespace values which are required.

Also please separate the vendor code change to one commit and your own changes to another commit. This commit is so big. It is very hard to review as browser can't load such a big diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants