Skip to content

Conversation

@abutcher
Copy link
Member

@abutcher abutcher commented Feb 2, 2023

@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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Feb 2, 2023
@openshift-ci-robot
Copy link
Contributor

@abutcher: This pull request references Jira Issue OCPBUGS-6370, 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.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jianping-shu

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

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

OCPBUGS-6370

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/test-infra repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 2, 2023
golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/net v0.5.0 // indirect
Copy link
Member Author

Choose a reason for hiding this comment

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

✔️

@openshift-ci-robot
Copy link
Contributor

@abutcher: This pull request references Jira Issue OCPBUGS-6370, which is valid.

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

Requesting review from QA contact:
/cc @jianping-shu

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

OCPBUGS-6370

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/test-infra repository.

@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Merging #511 (7b0a357) into master (a481947) will not change coverage.
The diff coverage is n/a.

❗ Current head 7b0a357 differs from pull request most recent head 6561e65. Consider uploading reports for the commit 6561e65 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #511   +/-   ##
=======================================
  Coverage   47.66%   47.66%           
=======================================
  Files          94       94           
  Lines       10100    10100           
=======================================
  Hits         4814     4814           
  Misses       4713     4713           
  Partials      573      573           
Impacted Files Coverage Δ
pkg/assets/bootstrap/bindata.go 23.85% <ø> (ø)

@abutcher
Copy link
Member Author

abutcher commented Feb 2, 2023

make update and make verify are flip flopping into a state that fails make verify 🚧
/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 Feb 2, 2023
@abutcher abutcher force-pushed the OCPBUGS-6370 branch 3 times, most recently from 89dd41c to 50bee56 Compare February 28, 2023 16:04
@abutcher
Copy link
Member Author

/unhold

@abutcher
Copy link
Member Author

/assign @2uasimojo

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 28, 2023
@abutcher
Copy link
Member Author

Added a commit that fixes the CRD schema flip flopping that was occurring, see 50bee56

We copy the cloud credential operator config CRD from the
openshift/api repository (via the vendor dir) and since openshift/api
now utilizes a different codegen utility than build-machinery-go,
running the schemapatch code generator against the copied manifest
results in a different formatting. This results in a diff which causes
our verify target to fail so we ensure the copied manifests remain
unchanged by copying the CRDs once more after generating CRDs as a
workaround.

@openshift-ci-robot
Copy link
Contributor

@abutcher: This pull request references Jira Issue OCPBUGS-6370, which is valid.

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

Requesting review from QA contact:
/cc @jianping-shu

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

Additionally bump golang.org/x/net from v0.5.0 to v0.7.0 to address:

OCPBUGS-6370

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/test-infra repository.

Copy link
Member

@2uasimojo 2uasimojo left a comment

Choose a reason for hiding this comment

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

This looks good as far as it goes. However, I believe dependabot is still going to complain about these and these from go.sum.

If the x/net bump is still relevant to the k8s bump, we can keep it in here, but we should take out the claim that we're going to be resolving those dependabot complaints.

If it's not relevant, perhaps we should pull it out and put together a separate PR that addresses dependabot complaints specifically and completely.

@abutcher
Copy link
Member Author

abutcher commented Feb 28, 2023

@2uasimojo I think this will resolve the dependabot alerts based on the PR the dependabot automation opened but I'm not 100% sure. I kinda wanna try merging this to see.

If the x/net bump is still relevant to the k8s bump, we can keep it in here, but we should take out the claim that we're going to be resolving those dependabot complaints.

The golang.org/x/net bump to 0.5.0 is relevant to the k8s bump and is the intended fix for GHSA-xrjj-mj9h-534m from OCPBUGS-6370. The subsequent bump to 0.7.0 golang.org/x/net is for the dependabot alerts opened recently.

@2uasimojo
Copy link
Member

I kinda wanna try merging this to see.

Well, okay. I'm basing my assertion on what happened in the hive repo, where at least the x/text flags were being raised based solely on go.sum.

/retest

@jianping-shu
Copy link

@abutcher Looks like it is only dependency library update, we'll run the existing cco auto cases for regression.
@huangmingxia Pls. take it

abutcher added 2 commits March 1, 2023 11:12
cloudcredential-{manifests,bindata} as a workaround to fix make
verify.

We copy the cloud credential operator config CRD from the
openshift/api repository (via the vendor dir) and since openshift/api
now utilizes a different codegen utility than build-machinery-go,
running the schemapatch code generator against the copied manifest
results in a different formatting. This results in a diff which causes
our verify target to fail so we ensure the copied manifests remain
unchanged by copying the CRDs once more after generating CRDs as a
workaround.
@openshift-ci-robot
Copy link
Contributor

@abutcher: This pull request references Jira Issue OCPBUGS-6370, which is valid.

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

Requesting review from QA contact:
/cc @jianping-shu

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

OCPBUGS-6370

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/test-infra repository.

Copy link
Member

@2uasimojo 2uasimojo left a comment

Choose a reason for hiding this comment

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

If CI is happy, I'm happy.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, abutcher

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD a481947 and 2 for PR HEAD 6561e65 in total

@2uasimojo
Copy link
Member

/test e2e-aws-ovn

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 1, 2023

@abutcher: all tests passed!

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 65ec23a into openshift:master Mar 1, 2023
@openshift-ci-robot
Copy link
Contributor

@abutcher: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-6370 has been moved to the MODIFIED state.

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

OCPBUGS-6370

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/test-infra repository.

@abutcher abutcher deleted the OCPBUGS-6370 branch March 1, 2023 21:53
@openshift-ci-robot
Copy link
Contributor

@abutcher: Jira Issue OCPBUGS-6370 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

Details

In response to this:

This commit updates various k8s.io vendored dependencies to v0.26.1 to
pull in the fixes for GHSA-xrjj-mj9h-534m.

Module bumps in this PR will fix:

OCPBUGS-6370

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/test-infra repository.

2uasimojo added a commit to 2uasimojo/cloud-credential-operator that referenced this pull request Jun 27, 2023
We spent some time in openshift#511 and again in openshift#542 trying to reconcile CRDs.
The problem is that we want to *generate* the CredentialsRequest CRD
from code in this repo, but *use* (copy) the CloudCredential CRD from
openshift/api, which we vendor. But we invoke controller-gen through
build-machinery-go, and it does unexpected things to the latter, which
breaks validation.

With this commit, we move the CredentialsRequest CRD to a `generated`
subdirectory and the CloudCredential CRD to an `imported` subdirectory.
This lets us go back to the simpler invocation of bmg's tooling while
keeping everything in the shape we expect.

One more quirk: Because build-machinery-go starts defining dependency
chains for targets like `update`, we need to start defining that
dependency chain *before* we import the bmg libs to ensure that we
copy/generate CRDs *before* we include them in bindata.
ming1013 pushed a commit to ming1013/cloud-credential-operator that referenced this pull request Dec 15, 2025
OCPBUGS-6370: Bump k8s dependencies from v0.25.3 to v0.26.1
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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. 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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants