-
Notifications
You must be signed in to change notification settings - Fork 346
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
add schedule entity #2495
add schedule entity #2495
Conversation
64fb487
to
9320c2b
Compare
9320c2b
to
8c78feb
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2495 +/- ##
==========================================
- Coverage 65.89% 65.51% -0.39%
==========================================
Files 133 133
Lines 16819 16916 +97
==========================================
- Hits 11083 11082 -1
- Misses 5736 5834 +98 |
@lengrongfu May I ask you to add the e2e test? |
Hey @lengrongfu , if there is any issue with the e2e test addition, or any other problems that you might be facing, feel free to ping me! |
Hey @lengrongfu , are you still working on this? In case you're busy with something else, and cannot add the tests right now, can you post a comment with what the changes are and how one would approach testing them? That way we can either make and push tests to this branch ourselves, or merge this for now, and get another PR for the test. Let me know, and thanks for the work you have already done :) |
8c78feb
to
0295522
Compare
I'm so sorry. please take look. |
17d2297
to
15c4eea
Compare
Hey, no worries, thanks for getting back 👍 A couple of quick questions : I don't think the comment Also in the integration tests, we are only checking that the containers are getting created / running successfully. Is there a way to check specifically that the policy we specified is getting applied correctly? That would be a better test. Another thing is that this adds dependency of nc to do a raw syscall ; does nix or libc libraries does not support this? And if that is the case, can you add a comment in the code, with Thanks! |
By calling the
What I know is that nix does not have it. I need to check libc. |
This seems like a good idea. This will be done from inside the container right (i.e. in runtimetests) ? We can set the sched strategy in the integration tests, maybe with some specific values, and check that inside the container.
👍 |
15c4eea
to
423492b
Compare
i am in run |
Hey, the |
Can you once check if sched policy is supported by runc yet or not? If it is not, then the issue is not with your code. Also, don't mind the pending CI checks, that is due to changes from some other PR. |
Also, may I ask you to rebase on latest main, as we have made some changes regarding CI and build there |
runc is having this function,but not sure it is valid. i will try again. |
@lengrongfu Hey! Let me know if you need any help with this 👍 |
89f3da8
to
6208c6a
Compare
current only runc integration_test can't run success. |
Thanks for rebasing and updating! Did you check if the runc release we are using in CI supports the sched entity as expected? If that is the case, I'll try to take a more detailed look on why this might be failing. |
@lengrongfu I checked this, and I think the issue is even though the sched support PR is merged in runc, its still not in any release. I tested this with main branch of runc, and the tests are passing with it. |
6208c6a
to
874992f
Compare
@lengrongfu may I ask you to rebase this to current master, and for the failing runc test, for now do this : |
874992f
to
0938b05
Compare
0938b05
to
c6b556f
Compare
c6b556f
to
80874f8
Compare
@YJDoc2 Do you know why this ci error? https://github.com/containers/youki/actions/runs/7538727425/job/20519819284?pr=2495
|
We recently changed the file structure and the test tool name in a PR. If you rebased on recent main, you might have missed that change in it. Make sure that 1. just file is correctly picked from the main ; and 2. the test you added here is in correct dir after the rebase. |
Also, you can ref 16dedc2 for commenting out the test I mentioned |
80874f8
to
81de592
Compare
@lengrongfu , apologies, the failing CI was an issue from our side, we missed a change in that PR. I have pused a fix, can you merge/rebase master and see 😓 |
81de592
to
d366289
Compare
dd:qSigned-off-by: lengrongfu <1275177125@qq.com> Signed-off-by: lengrongfu <lenronfu@gmail.com>
d366289
to
8a0224c
Compare
maybe need wait this pr merge #2615 |
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
ee4a32e
to
378aa91
Compare
Hey @lengrongfu , I updated the nice value checking condition, similar to how you did it on runc . I'll wait for a bit and merge this after sometime, as otherwise this is ok. In case you think there is some mistake, please let me know ; even after merge, so we can correct it accordingly. Thanks! |
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.
lgtm 👍
issue #1706