-
Notifications
You must be signed in to change notification settings - Fork 135
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
[YUNIKORN-1909] add gang scheduling with hugepages e2e test #653
Conversation
I will rebase the branch after #651 is merged. Run |
Codecov Report
@@ Coverage Diff @@
## master #653 +/- ##
=======================================
Coverage 71.92% 71.92%
=======================================
Files 51 51
Lines 8082 8082
=======================================
Hits 5813 5813
Misses 2073 2073
Partials 196 196 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
a644f9b
to
ba2e3ed
Compare
@FrankYang0529 #651 has been merged, feel free to rebase. |
ba2e3ed
to
3b67426
Compare
@craigcondit I rebased it. Thank you. |
3b67426
to
6fdd9c3
Compare
The failed e2e test case is |
6fdd9c3
to
160ffb4
Compare
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.
Nice cleanup. Better organised now.
looks good. Minor nit.
Also, do we need to cover extended resources like "nvidia.com/gpu"? If yes, we can file a separate jira.
484f90d
to
0717bff
Compare
Signed-off-by: Frank Yang <[email protected]>
Signed-off-by: PoAn Yang <[email protected]>
0717bff
to
d64c6f3
Compare
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.
looks good. Pending jenkins run.
Can we file a follow up? |
Okay, but GPU is not supported by GitHub-hosted runners now. |
I also think we need to keep in mind that these tests are run locally during development as well, not just on GitHub. There needs to be a short-circuit skip of the test implemented in the case where there are not huge pages resources available in the cluster. Checking that at least one node exists that has huge pages resources should be sufficient. |
@manirajv06, in this case, do we still want to file a follow-up issue? In YUNIKORN-1909, it also mentions kind doesn't have GPU resources. |
@craigcondit, yeah, we have a line check whether the cluster has huge pages reosurces. if !hasHugePages {
ginkgo.Skip("Skip hugepages test as no node has hugepages")
} |
Ok, we can leave it. |
What is this PR for?
Add e2e test for gang scheduling with hugepages.
What type of PR is it?
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1909
How should this be tested?
Test in e2e test.