1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-09 00:06:18 +02:00
Commit Graph

849 Commits

Author SHA1 Message Date
Yashodhan Joshi 5874cc8b96 Add separate cache action for cgroups dir 2021-09-07 14:28:56 +05:30
Yashodhan Joshi 2a81104b50 change cache action in integration tests 2021-09-07 14:17:01 +05:30
Yashodhan Joshi f4c22d4f25 Change cache action from default to Swatinem/rust-cache@v1 2021-09-07 14:06:39 +05:30
utam0k f026d7ee5e
Merge pull request #277 from yihuaf/yihuaf/test
Stablize cargo test
2021-09-07 13:48:03 +09:00
yihuaf 4c5d2d6439 Add comments to explain the use of serial 2021-09-07 06:31:56 +02:00
Takashi IIGUNI a678111c75 fix: oci-spec import path 2021-09-07 02:59:59 +00:00
Takashi IIGUNI c7ed69a2fe fix: rustfmt 2021-09-07 02:47:26 +00:00
Takashi IIGUNI c83ac6a22b Merge remote-tracking branch 'upstream/main' into upgrade-oci-spec-rs
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-07 02:32:41 +00:00
yihuaf 08f33bf948 fix fmt 2021-09-07 01:07:23 +02:00
yihuaf 5b188ee9eb Mark hook related test serial 2021-09-07 01:04:10 +02:00
yihuaf b821ab4be0 Make the fd related tests serial 2021-09-07 01:04:10 +02:00
yihuaf fb7a8ea715 we want to know what unknown message is 2021-09-07 01:04:10 +02:00
yihuaf ca5a21f5c4 Adds a simple script to stress test cargo test 2021-09-07 01:04:10 +02:00
yihuaf 9aaeb4f40d hook command now ignores BrokenPipe 2021-09-07 01:04:10 +02:00
yihuaf 3d00ac86f3 hook test no longer prints out printenv to mess up the test ooutput 2021-09-07 01:04:10 +02:00
yihuaf eb6b4f412c Revert "restore some of the changes"
This reverts commit cda20edef8c776a77fa321975a07eb9f27538fc7.
2021-09-07 01:04:10 +02:00
yihuaf abcd6ae6d5 restore some of the changes
channel test parent process should call waitpid in the end. Parent should be
able to wait before child process completly exits.

For our purpose, rust test runner don't like multi processes. Serial is
enough to work around this issue.
2021-09-07 01:04:10 +02:00
utam0k ef9a92a334
Fixing and stabilizing github actions (#275)
* add a necessary dependencie.

* remove a unnecessary step in ci.

* stabilize unstable tests by making them serial.
2021-09-06 16:03:15 -07:00
Yukang 321ee0a233
Pass linux_masked_paths (#276) 2021-09-06 17:50:07 +02:00
utam0k 3cffe18944
Merge pull request #274 from Furisto/update-procfs
Bump procfs
2021-09-06 21:41:38 +09:00
utam0k 5a429e1f45
Merge pull request #273 from YJDoc2/ci_ccov_fix
CI Code Coverage Fix
2021-09-06 21:40:28 +09:00
Furisto e9d47f0725 Bump procfs 2021-09-06 11:25:17 +02:00
Takashi IIGUNI 8d3ff9b5f2 Upgrade oci-spec-rs to 0.4.0 for youki
1. Fix capability type (Capability type change: Vec -> HashSet)
2. Implement functions equivalent to LinuxDeviceType::to_sflag in youki.
3. Fix crate path: use oci_spec::XXX -> use oci_spec::runtime::XXX

Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-06 09:08:17 +00:00
Yashodhan Joshi a01be9d12e Try Adding cgroups for code coverage 2021-09-06 11:06:09 +05:30
Yashodhan Joshi f69fef1aad Remove cgroups from code coverage as it makes CI fail 2021-09-06 10:42:51 +05:30
Yashodhan Joshi cb6f78df03 Change Code coverage CI
See https://github.com/actions-rs/grcov/issues/105 and
https://github.com/PyO3/pyo3/blob/main/.github/workflows/ci.yml
2021-09-06 10:37:39 +05:30
Furisto 528de467c6
Merge pull request #259 from humancalico/crate_version
bump clap and use crate_version macro
2021-09-05 21:55:28 +02:00
Akshat Agarwal c230fb6848 bump clap and use crate_version macro
Signed-off-by: Akshat Agarwal <humancalico@disroot.org>
2021-09-06 00:41:28 +05:30
utam0k 79f2f0dc40
Merge pull request #268 from chenyukang/pass_mounts
Pass mounts/mounts in testing
2021-09-06 01:02:01 +09:00
Furisto 8330a0362c
Merge pull request #269 from Furisto/cg-detect
Rework cgroup detection
2021-09-05 17:59:31 +02:00
yukang baaacc1963 Merge remote-tracking branch 'upstream/main' into pass_mounts 2021-09-05 23:55:32 +08:00
Furisto c9e55ac2e0 Rework cgroup detection 2021-09-05 17:51:34 +02:00
Furisto b7476209e3
Merge pull request #272 from utam0k/fix/disable-codecov
disable the code coverage because of unstable.
2021-09-05 17:48:04 +02:00
yukang dc3e7841a4 fix typo 2021-09-05 23:41:02 +08:00
utam0k 540bfd1724 disable the code coverage because of unstable. 2021-09-06 00:39:32 +09:00
yukang 7a1a20b725 code refacotor 2021-09-05 23:37:16 +08:00
Furisto bdc61e7c10
Merge pull request #270 from utam0k/fix/ci
fix a failure because it is running before checkout.
2021-09-05 17:22:38 +02:00
utam0k 1d2bbd21e0 Merge branch 'main' of ssh://github.com/containers/youki into fix/ci 2021-09-05 23:43:04 +09:00
Furisto b8442af26f
Merge pull request #267 from utam0k/fix/unstable-channel-test
fix unstable the channel tests.
2021-09-05 16:41:48 +02:00
utam0k 42e2bc47b0 fix a failure because it is running before checkout. 2021-09-05 23:39:59 +09:00
utam0k b056c99eb5
Merge pull request #186 from YJDoc2/test_framework
Create test framework and setup initial integration tests
2021-09-05 23:24:10 +09:00
yukang dabc14297e fix readme for passing testcases 2021-09-05 21:27:09 +08:00
yukang eecc60152e pass test case mounts/mounts 2021-09-05 21:26:28 +08:00
utam0k 18ee2a7639 fix unstable the channel tests. 2021-09-05 19:19:25 +09:00
Takashi IIGUNI 3c57eabd62 Upgrade oci-spec-rs to 0.4.0 for cgroups
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-05 07:55:13 +00:00
utam0k 3fac283348
Merge pull request #265 from chenyukang/fix-test-script
Print logfile when test case crash
2021-09-05 11:35:11 +09:00
yukang 8c86ef8472 print logfile when test case crash 2021-09-05 10:15:01 +08:00
Yashodhan Joshi fd7a6c2e45 Update Author in test_framework 2021-09-04 22:51:34 +05:30
utam0k 7f6bc2cf0f
Merge pull request #263 from utam0k/improvement/grcov
The `.grcov.yml` moves under the `.github/` because `.github/workflows` is recognized as GitHub actions files.
2021-09-05 00:06:05 +09:00
Furisto 57ccff5cee
Merge pull request #264 from utam0k/improvement/add-contianer-status-tests
add tests of ContainerStatus.
2021-09-04 15:22:56 +02:00