Skip to content

Conversation

@stbenjam
Copy link
Member

Add Ginkgo Size labels to enable variable parallelism based on test resource intensity. This is a wild experiment to help reduce resource contention. Only impacts tests in origin currently, but I suspect that's where our "heaviest" tests are. If this proves worthwhile we should be able to apply the same things to OTE and Kube.

Labels were applied with Claude. I asked Claude to use the criteria below. I have no idea if it is accurate, but the tests I expected to be "L" are indeed tagged "L".

Size label criteria:

  • Size:S - Low CPU, quick tests, simple API calls, no pod creation, basic CLI commands.
  • Size:M - Moderate complexity, 1-2 pods, basic services, simple deployments. DEFAULT for unlabeled tests.
  • Size:L - High resource usage, many pods, image builds, complex workflows, stress tests. Examples: must-gather, multi-replica deployments, complex builds. Run at 0.5x parallelism (e.g., 15).

Add Ginkgo Size labels to enable variable parallelism based on test
resource intensity. This is a wild experiment to help reduce resource
contention. Only impacts tests in origin currently, but I suspect that's
where our "heaviest" tests are.  If this proves worthwhile we should be
able to apply the same things to OTE and Kube.

Labels were applied with Claude.  I asked Claude to use the criteria
below. I have no idea if it is accurate, but the tests I expected to be
"L" are indeed tagged "L".

Size label criteria:
- Size:S - Low CPU, quick tests, simple API calls, no pod creation,
  basic CLI commands.

- Size:M - Moderate complexity, 1-2 pods, basic services, simple
  deployments. DEFAULT for unlabeled tests.

- Size:L - High resource usage, many pods, image builds, complex
  workflows, stress tests. Examples: must-gather, multi-replica
  deployments, complex builds. Run at 0.5x parallelism (e.g., 15).
@openshift-ci-robot
Copy link

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@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 Dec 11, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 11, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 11, 2025
@stbenjam
Copy link
Member Author

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips 5

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 11, 2025

@stbenjam: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/647a44e0-d6d8-11f0-8d37-c1425c275bcc-0

@neisw
Copy link
Contributor

neisw commented Dec 12, 2025

/payload-aggregate-with-prs periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips 5 openshift/cluster-api#254

Seems to still be picking up the older payload

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2025

@neisw: An error was encountered. No known errors were detected, please see the full error message for details.

Full error message. unable to get additional pr info from string: still: string: still doesn't match expected format: org/repo#number

Please contact an administrator to resolve this issue.

@neisw
Copy link
Contributor

neisw commented Dec 12, 2025

/payload-aggregate-with-prs periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips 5 openshift/cluster-api#254

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2025

@neisw: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/df1743d0-d6f9-11f0-82e3-520759d1a342-0

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn-image-registry
/test e2e-aws-ovn-kubevirt
/test e2e-aws-ovn-upgrade-rollback
/test e2e-baremetalds-kubevirt
/test e2e-gcp-ovn-builds
/test e2e-gcp-ovn-image-ecosystem
/test e2e-metal-ovn-two-node-fencing

// Run openshift tests by size with appropriate parallelism
openshiftTestsSCopy := copyTests(openshiftTestsS)
q.Execute(testCtx, openshiftTestsSCopy, max(1, parallelism*2), testOutputConfig, abortFn) // Size:S tests run at 2x parallelism
tests = append(tests, openshiftTestsSCopy...)
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks mega. How would you feel about throwing in some intervals with a new Source so we could clearly see what group we're running when we hit HighCPU etc. Maybe Source = TestGroup, Locator.group = OpenShiftTests-M or something like that.

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn-image-registry
/test e2e-aws-ovn-kubevirt
/test e2e-aws-ovn-upgrade-rollback
/test e2e-baremetalds-kubevirt
/test e2e-gcp-ovn-builds
/test e2e-gcp-ovn-image-ecosystem
/test e2e-metal-ovn-two-node-fencing

@stbenjam stbenjam marked this pull request as draft December 12, 2025 18:01
@stbenjam
Copy link
Member Author

/test e2e-aws-ovn-fips

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2025

@stbenjam: 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/e2e-aws-ovn-kubevirt b5df567 link false /test e2e-aws-ovn-kubevirt
ci/prow/e2e-baremetalds-kubevirt b5df567 link false /test e2e-baremetalds-kubevirt

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

@stbenjam
Copy link
Member Author

/test e2e-aws-ovn-fips

@stbenjam
Copy link
Member Author

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips 5

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 13, 2025

@stbenjam: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.21-e2e-aws-ovn-upgrade-fips

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/5edbda30-d7be-11f0-91fc-b3ba3575a46b-0

@stbenjam
Copy link
Member Author

/test e2e-aws-ovn-fips

@bertinatto
Copy link
Member

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.22-e2e-aws-ovn-upgrade-fips 10

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 15, 2025

@bertinatto: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.22-e2e-aws-ovn-upgrade-fips

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c1044980-d99a-11f0-8f0a-f7e303a21127-0

@neisw
Copy link
Contributor

neisw commented Dec 16, 2025

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.22-e2e-aws-ovn-upgrade-fips 10

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 16, 2025

@neisw: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.22-e2e-aws-ovn-upgrade-fips

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/665b8cb0-da75-11f0-8b16-2875970a0e40-0

@stbenjam
Copy link
Member Author

stbenjam commented Dec 16, 2025

@neisw @bertinatto Any particular reason you're trying to test this? This WIP PR is for me to iterate on it, I can handle testing it when I need to. The current code has multiple issues I need to resolve, and the end result of this will probably be a couple of separate PR's as there's a few different concepts here.

I understood the issues with the upgrade job were resolved and there's less urgency for something like this?

@neisw
Copy link
Contributor

neisw commented Dec 16, 2025

Let Stephen know we are still seeing some issues in 4.22 and are curious how changing the test grouping based on estimated resource usage impacts that signal.

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants