-
Notifications
You must be signed in to change notification settings - Fork 105
API-1835: fix integration tests #795
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
API-1835: fix integration tests #795
Conversation
@p0lyn0mial: This pull request references API-1835 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.21.0" version, but no target version was set. 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. |
WalkthroughMany YAML test fixtures corrected: repeated metadata key typo "mame" → "name" across numerous manifests. Two Event body files were removed and two Event body files added; one Event metadata name value changed. One CSR body’s base64 request content changed. go.mod dependency versions were bumped. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🧪 Early access (Sonnet 4.5): enabledWe are currently testing the Sonnet 4.5 model, which is expected to improve code review quality. However, this model may lead to increased noise levels in the review comments. Please disable the early access features if the noise level causes any inconvenience. Note:
Comment |
/assign @bertinatto @benluddy |
@p0lyn0mial: This pull request references API-1835 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.21.0" version, but no target version was set. 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. |
/assign @liouk for approval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base
setting
⛔ Files ignored due to path filters (92)
go.sum
is excluded by!**/*.sum
vendor/github.com/openshift/library-go/pkg/manifestclient/mutation_tracker.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/certrotation/client_cert_rotation_controller.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/certrotation/target.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/resource/resourceread/networking.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/v1helpers/informers.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/bcrypt/bcrypt.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/cryptobyte/asn1.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/internal/poly1305/sum_asm.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/internal/poly1305/sum_loong64.s
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/net/http2/frame.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/net/http2/http2.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/net/trace/events.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_linux_loong64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_loong64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_loong64.s
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/cpu_riscv64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/cpu/parse.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/plan9/pwd_plan9.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/affinity_linux.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/mkerrors.sh
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/syscall_darwin.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/syscall_linux.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/syscall_solaris.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_386.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/registry/key.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/registry/value.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/security_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/syscall_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/types_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/sys/windows/zsyscall_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/term/term_windows.go
is excluded by!vendor/**
,!**/vendor/**
vendor/golang.org/x/term/terminal.go
is excluded by!vendor/**
,!**/vendor/**
vendor/modules.txt
is excluded by!vendor/**
,!**/vendor/**
📒 Files selected for processing (1)
go.mod
(2 hunks)
🔇 Additional comments (1)
go.mod (1)
13-13
: library-go update has no known security vulnerabilities. GitHub security scan returned no advisories for v0.0.0-20250922131550-42e91dd47fe3; proceed provided CI/integration tests pass to validate compatibility.
github.com/stretchr/testify v1.10.0 | ||
go.etcd.io/etcd/client/v3 v3.5.21 | ||
golang.org/x/net v0.38.0 | ||
golang.org/x/net v0.43.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify golang.org/x/ dependency updates for security advisories.*
Multiple golang.org/x/*
packages have been updated (net, crypto, sync, sys, term, text). These updates may include important security fixes or compatibility improvements for the integration tests.
Run the following script to check for known security vulnerabilities in these Go extended libraries:
Also applies to: 102-108
🏁 Script executed:
#!/bin/bash
# Description: Check for security advisories for golang.org/x/* dependencies.
packages=("golang.org/x/net" "golang.org/x/crypto" "golang.org/x/sync" "golang.org/x/sys" "golang.org/x/term" "golang.org/x/text")
for pkg in "${packages[@]}"; do
echo "Checking $pkg..."
gh api graphql -f query="
{
securityVulnerabilities(first: 5, ecosystem: GO, package: \"$pkg\") {
nodes {
advisory {
summary
severity
publishedAt
}
vulnerableVersionRange
firstPatchedVersion {
identifier
}
}
}
}"
echo ""
done
Length of output: 3948
Upgrade golang.org/x/text
to ≥ v0.3.8. All other golang.org/x/*
updates (net v0.43.0, crypto v0.42.0, sync v0.17.0, sys v0.36.0, term v0.35.0) exceed their first-patched versions for known security advisories; however, x/text v0.29.0
remains vulnerable to multiple high-severity issues fixed in v0.3.7 and v0.3.8. Bump it to at least v0.3.8.
🤖 Prompt for AI Agents
In go.mod around line 19, the project still requires golang.org/x/text at a
vulnerable version (v0.29.0); update the module requirement to at least v0.3.8
to pick up security fixes, e.g. run `go get golang.org/x/text@v0.3.8` (or a
newer compatible patch), then run `go mod tidy` and run tests/linters to ensure
nothing breaks.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liouk, p0lyn0mial 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 |
/verify by @p0lyn0mial (ci/prow/test-operator-integration was green) |
/verified by @p0lyn0mial (ci/prow/test-operator-integration was green) |
@p0lyn0mial: This PR has been marked as verified by 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. |
cb20eca
into
openshift:master
pick up openshift/multi-operator-manager#63
fixes:
mame: cluster