1
0
mirror of https://github.com/containers/youki synced 2024-11-23 17:32:15 +01:00
Commit Graph

1053 Commits

Author SHA1 Message Date
Furisto
46c63ec2f7
Implement cgroup namespaces for cgroup v1 2021-09-30 11:57:39 +02:00
Furisto
0db1ca4bcd
Add unit tests for cgroup apply 2021-09-30 11:57:38 +02:00
Furisto
3431ccc872
Add process to cgroup before init process creation 2021-09-30 11:57:33 +02:00
utam0k
c206d88e63
Merge pull request #345 from yihuaf/yihuaf/seccomp
Implemented util function to test in child process
2021-09-30 11:08:43 +09:00
lincoln auster
e1e4187e9e
rephrase sentences for clarity and correctness (#348)
just some pedantic changes :)
2021-09-29 18:33:04 -07:00
yihuaf
6d4bda689d move ipc-channel to dev dependencies 2021-09-30 01:06:11 +02:00
yihuaf
6850ee62f7 clippy happy 2021-09-29 08:04:59 +02:00
yihuaf
0198cc6ae7 Implemented seccomp test using the new test utils 2021-09-29 07:58:19 +02:00
yihuaf
ec63a5c979 Implemented a helper function to run tests in child process 2021-09-29 07:58:00 +02:00
utam0k
4557c7b634
Merge pull request #339 from YJDoc2/add-test-utils
Add HugeTLB tests
2021-09-29 11:06:21 +09:00
Yashodhan Joshi
6fde510948 Merge branch 'main' of github.com:containers/youki into add-test-utils
Resolved conflicts
2021-09-28 16:38:00 +05:30
utam0k
884428a044
Merge pull request #330 from yihuaf/yihuaf/307
Implement seccomp notify
2021-09-28 10:25:35 +09:00
yihuaf
3bdee7807f minor refactor 2021-09-28 01:07:28 +02:00
yihuaf
88fa0af8d7 address review 2021-09-28 01:03:08 +02:00
yihuaf
e20bb9982a clippy happy 2021-09-28 00:56:08 +02:00
yihuaf
cdd3d7588b implement seccomp notify 2021-09-28 00:55:35 +02:00
Marcin Puc
8250b48bc1
Add various refactorings (#341) 2021-09-27 15:46:57 -07:00
Yashodhan Joshi
ef16edbcd2 Parallelize running tests using crossbeam 2021-09-27 18:21:40 +05:30
Yashodhan Joshi
3254c7846f Refactor test_util code to be more reusable 2021-09-27 17:40:55 +05:30
Yashodhan Joshi
af0af70452 Add valid TLB tests
But the code need heavy refactoring
2021-09-27 15:39:59 +05:30
Yashodhan Joshi
78a7622bed Fix : remove cgroups after tests 2021-09-27 12:22:25 +05:30
Yashodhan Joshi
5b01cd4185 Fix types to make custom and predefined implementation of traits can work correctly with lifetimes 2021-09-27 11:29:29 +05:30
Yashodhan Joshi
fb0bc623a2 Add incorrect HugeTLB test 2021-09-27 11:28:50 +05:30
utam0k
bc5b6fd0cc
fix inaccessiblity of private field. (#338) 2021-09-26 19:32:18 -07:00
utam0k
3879829a00
Merge pull request #333 from Furisto/cg-delete
Ensure cgroup error behavior is consistent with runc
2021-09-27 10:44:35 +09:00
Takashi IIGUNI
97848f1ce6
Updated cgroups oci-spec-rs to 0.5.1 or later (#303)
* Updated cgroup oci-spec-rs to 0.5.1

Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-26 18:08:56 -07:00
utam0k
6384a592cb
add to README that all runtime_tools tests have been covered. (#336) 2021-09-26 14:24:47 -07:00
Furisto
f04c443204
Ensure cgroup error behavior is similar to runc 2021-09-26 21:08:36 +02:00
utam0k
bfa1814179
Merge pull request #315 from yihuaf/yihuaf/252
Adds a note why `pidfile` integration test doesn't work
2021-09-26 16:35:22 +09:00
yihuaf
7fd96e7891 reduce the number of integration test in readme 2021-09-26 02:50:46 +02:00
Furisto
66da82db35
Improve readme and docs (#335) 2021-09-25 17:42:38 -07:00
Furisto
3384ce3923
Complete command help information (#334) 2021-09-25 17:41:47 -07:00
Furisto
d978b0344c
Ensure cgroup is deleted 2021-09-25 22:46:44 +02:00
utam0k
4224d5635d
add a unit test for applying cgroup in builder_impl(). (#325) 2021-09-24 20:03:29 -07:00
yihuaf
5b6df2a9a3 Adds an explaination that runc also fails the test 2021-09-25 04:58:23 +02:00
utam0k
3bb01d2d72
Merge pull request #314 from Furisto/libcontainer
Make container commands more suitable for use as a library
2021-09-25 00:31:31 +09:00
Furisto
a4bac01fd0
Add documentation 2021-09-24 12:00:51 +02:00
Furisto
fd2db0f300
Clippy 2021-09-23 23:26:11 +02:00
Furisto
42a17b8594
Rework container state management 2021-09-23 23:05:35 +02:00
Furisto
ef3c6b736c
Merge pull request #326 from utam0k/improvement/fix-unstable-tests
fix flaky unit tests
2021-09-23 22:17:05 +02:00
utam0k
690464371a
fix for rare failed when not using serial. 2021-09-24 00:09:34 +09:00
utam0k
2747a25e09
take care of cases where unit tests fail because the child process terminates. 2021-09-24 00:08:26 +09:00
utam0k
4275b511e3
Merge pull request #324 from zidoshare/add-rootful-mode
rootful mode for vagrant
2021-09-23 23:06:18 +09:00
zido
8e7294ce43 add rootful mode for vagrant 2021-09-23 21:21:57 +08:00
utam0k
ae4b1974fe
Merge pull request #323 from zidoshare/fix-vagrant-build-error
fix build error in vagrant
2021-09-23 17:55:32 +09:00
zido
3428514d2c fix build error in vagrant 2021-09-23 16:48:43 +08:00
utam0k
fb44f92434
Merge pull request #322 from zidoshare/fix-vagrant-error
fix vagrant errors #321
2021-09-23 16:29:04 +09:00
zido
d89382eb03 fix vagrant errors 2021-09-23 15:11:19 +08:00
yihuaf
33794ee5de Fix pidfile 2021-09-23 00:30:30 +02:00
Furisto
9f669d73c0
Merge pull request #320 from utam0k/refactoring/introduce-lifetime-to-ControllerOpt
Avoid cloning LinuxResources because it is a large structure.
2021-09-23 00:16:29 +02:00