-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[DO NOT MERGE] Test runner for upstream kata #84007
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
wainersm
wants to merge
1
commit into
openshift:main
Choose a base branch
from
wainersm:test_upstream_kata_runner
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
Keep the Kata RPM bootstrap reachable.
INSTALL_KATA_RPMis enabled, andget-kata-rpmdownloads the RPM fromdownload.devel.redhat.com. (github.com) OpenShift CI requiresrestrict_network_access: falsefor Red Hat intranet access. (docs.ci.openshift.org) Withtruehere, the download can fail before the RPM reaches the worker nodes. Fetch the RPM before applying the restriction or use an allowed artifact source.🤖 Prompt for AI Agents
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: openshift/release
Length of output: 39785
🏁 Script executed:
Repository: openshift/release
Length of output: 25605
🏁 Script executed:
Repository: openshift/release
Length of output: 13852
🌐 Web query:
OpenShift ci-tools ci-operator restrict_network_access config field implementation💡 Result:
The restrict_network_access field is a configuration option within the OpenShift ci-operator tool used to manage network access for test jobs [1][2]. Implementation and Purpose: The primary purpose of setting restrict_network_access to false is to explicitly allow a test job to access the Red Hat intranet [1][2]. By default, certain test environments are restricted from this access for security reasons [1][2]. Even when set to false, access is subject to network ACLs managed by IT [1][2]. Security and Workflow Requirements: Because this configuration bypasses standard network restrictions, it imposes strict requirements on the pull request (PR) workflow: 1. Label Requirements: Tests with restrict_network_access set to false require both the approved label and the network-access-rehearsals-ok label on the PR [1][2]. 2. Manual Authorization: The network-access-rehearsals-ok label must be added by an openshift organization member who is not the author of the PR [1][2][3]. 3. Rehearsal Control: The pj-rehearse tool, which automates test rehearsals, is designed to disable rehearsals for any test where this configuration is toggled to false, preventing unauthorized bypasses until the configuration has been properly reviewed [4][5]. 4. Manual Unblocking: To allow these rehearsals to proceed, a user must execute the command /pj-rehearse network-access-allowed [1][3]. After satisfied results, the command /pj-rehearse ack is used to unblock merging [3][6][7]. Usage Example: In the ci-operator configuration file, the field is placed within the test definition: - as: my-e2e commands: curl -XPOST https://devservices.dpp.openshift.com/support/general_request restrict_network_access: false # explicitly allow the test to access the Red Hat intranet [1][2] Note that some specific build farm clusters do not support intranet access at all; for those, changing this flag will not enable such connectivity [1][2].
Citations:
pj-rehearse: Disable rehearsals on tests where the 'restrict_network_access' config is toggled to 'false' ci-tools#4348pj-rehearse: Disable rehearsals on tests where the 'restrict_network_access' config is toggled to 'false' ci-tools#4348Run
make updatefor this CI configuration.The repository policy requires
make updatefor CI configuration changes.restrict_network_accessis consumed from theci-operatorconfiguration; the generated Prow job only passes the target and variant. Commit only the generated changes produced bymake update.🤖 Prompt for AI Agents
Source: Coding guidelines