-
Notifications
You must be signed in to change notification settings - Fork 107
e2e: llc: initial tests for cpu allocation #1308
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
base: main
Are you sure you want to change the base?
Conversation
/hold still tuning the tests |
/retest |
@ffromani i ran the tests on my system and i got this error:
From the machineinfo json of my system , i see that topology.Architecture is "numa" string |
how did you run? I can't recall a similar error |
/retest |
also, the current tests are a working demo about how to fetch and consume machineinfo JSON data |
|
we need to bump |
rebasing against the tip of the main branch (where we moved to ghw 0.15) should suffice |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani 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 |
@ffromani llc tests are failing in updating-profile lane because the cnf-tests image that it's using doesn't have machineinfo , currently only the latest cnf-tests image from quay has the required binaries |
/test okd-scos-e2e-aws-ovn |
/test e2e-aws-ovn-techpreview |
bootstrap the tests which actually run pods and check the CPU (and thus the L3/LLC) allocation. Start with the trivial sanity tests, adding a good chunk of required infra utilities along the way. Signed-off-by: Francesco Romani <[email protected]>
@ffromani: The following tests failed, say
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. |
deleteTestPod(ctx, testPod) | ||
}) | ||
|
||
It("should align containers which request less than a L3 group size exclusive CPUs", func(ctx context.Context) { |
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.
Can you add test case id 77727
Expect(ok).To(BeTrue(), "pod has not L3-aligned CPUs") // TODO log what? | ||
}) | ||
|
||
It("cannot align containers which request more than a L3 group size exclusive CPUs", func(ctx context.Context) { |
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.
can you test_id: 81669
bootstrap the tests which actually run pods and check the CPU (and thus the L3/LLC) allocation.
Start with the trivial sanity tests, adding a good chunk of required infra utilities along the way.