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

196 Commits

Author SHA1 Message Date
Yashodhan Joshi
3c40116803 Merge branch 'main' of github.com:containers/youki into readonly_paths 2021-12-31 17:00:23 +05:30
Thomas Schubart
5eaab7d78d
Merge pull request #578 from utam0k/fix/align-version
align the version of crates.
2021-12-31 00:19:23 +01:00
utam0k
89022f4366 specify the version of each crates. 2021-12-30 23:10:35 +09:00
utam0k
f2a2b20dfb align the version of crates. 2021-12-30 22:24:45 +09:00
utam0k
224aaa250e
Merge pull request #573 from Furisto/itest-list
Add option to list test groups
2021-12-28 22:18:16 +09:00
Furisto
ebd546d2dd Add option to list test groups 2021-12-28 13:40:05 +01:00
utam0k
ef1df5d61a
Merge pull request #569 from Furisto/cg-cpu-zero-as-default
Interpret a cpu quota of zero as default value
2021-12-28 16:22:22 +09:00
Furisto
a76f30ab64 Adapt cgroup v2 cpu integration tests 2021-12-27 19:10:53 +01:00
Furisto
dbe2155bca Follow runc's behavior when setting cpu.max
Runc interprets a a zero quota value as unrestricted.
2021-12-27 18:19:32 +01:00
Sarthak Singh
bb4b39830a Restored needs_to_handle as it no longer causes compiler errors 2021-12-26 11:03:15 -08:00
Sarthak Singh
a3a3918e75 Removed extra ; as it causes tests to fail on nightly 2021-12-26 11:02:04 -08:00
utam0k
4dc8863320
Merge pull request #562 from Furisto/cg-log-data-value
Log value that is written to cgroup file
2021-12-24 21:22:03 +09:00
dependabot[bot]
5f0667b9b7
Bump anyhow from 1.0.51 to 1.0.52
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 00:52:42 +00:00
Furisto
30f5a7c797
Log value that is written to cgroup file 2021-12-23 21:29:53 +01:00
Yashodhan Joshi
9acb01309b WIP commit for readonly_paths test 2021-12-22 11:15:37 +05:30
dependabot[bot]
d03e8e114a
Bump num_cpus from 1.13.0 to 1.13.1
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: num_cpus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 00:34:17 +00:00
Yashodhan Joshi
a61689332f Add test_inside_container function 2021-12-20 20:14:48 +05:30
dependabot[bot]
cb7a074dbb
Merge pull request #555 from containers/dependabot/cargo/fastrand-1.6.0 2021-12-20 06:25:49 +00:00
dependabot[bot]
7311ac7583
Bump fastrand from 1.5.0 to 1.6.0
Bumps [fastrand](https://github.com/smol-rs/fastrand) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/smol-rs/fastrand/releases)
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/fastrand/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: fastrand
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 01:17:10 +00:00
dependabot[bot]
69fd449fa5
Bump nix from 0.23.0 to 0.23.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 01:16:39 +00:00
utam0k
468e9fbd6b
Merge pull request #546 from knight42/feat/update-resources
feat: add --resource option to update subcommand
2021-12-19 10:44:51 +09:00
Thomas Schubart
fc70a5ed7c
Merge pull request #537 from YJDoc2/cgroups_blkio
Add Cgroup V1 block IO integration test
2021-12-19 00:51:08 +01:00
Jian Zeng
21eaf4e020
feat: add --resource option to update subcommand
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-18 23:56:43 +08:00
Yashodhan Joshi
c40a306f87 Refactor and improve error reporting 2021-12-18 13:38:08 +05:30
utam0k
7d63d2a36e
Merge pull request #543 from knight42/fix/set-blkio-weight
fix(libcgroup): make cgroup manager be able to set blkio weight
2021-12-17 22:48:48 +09:00
Jian Zeng
b2eafb8898 fix(libcgroup): set blkio weight
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:27:54 +08:00
Jian Zeng
09ecfba778 fix: address review comments
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:19:28 +08:00
Jian Zeng
37bf9387bb feat: add subcommand update 2021-12-16 10:19:28 +08:00
Jian Zeng
c3f15252de refactor: extract a common function create_cgroup_manager 2021-12-16 10:19:28 +08:00
Jian Zeng
d3552e7708 chore: update deps
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:19:28 +08:00
dependabot[bot]
9b224e0c15
Bump once_cell from 1.8.0 to 1.9.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-15 00:36:25 +00:00
Yashodhan Joshi
d05bb63099 Merge branch 'main' of github.com:containers/youki into cgroups_blkio 2021-12-14 20:37:47 +05:30
dependabot[bot]
667ef6a588
Merge pull request #534 from containers/dependabot/cargo/procfs-0.12.0 2021-12-14 13:43:36 +00:00
dependabot[bot]
a417b93371
Bump procfs from 0.11.1 to 0.12.0
Bumps [procfs](https://github.com/eminence/procfs) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.11.1...v0.12.0)

---
updated-dependencies:
- dependency-name: procfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:32:35 +00:00
dependabot[bot]
e2140b3725
Bump libc from 0.2.111 to 0.2.112
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.111 to 0.2.112.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.111...0.2.112)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:32:19 +00:00
utam0k
82c621e1d5
Merge pull request #528 from Furisto/test-cpu-v2
Implement integration tests for cgroup v2 cpu
2021-12-14 22:30:54 +09:00
Jonathan Hult
02abc5f3ca
Update version for runc compatibility for Moby
Fix for #529

Signed-off-by: Jonathan Hult <jhult@mythics.com>
2021-12-13 22:31:35 -05:00
Furisto
712a07ec11 Review feedback
Logger should not log to file
2021-12-13 23:09:34 +01:00
Yashodhan Joshi
e3f995bd8e Add cgroups v1 blkio integration test 2021-12-13 20:46:19 +05:30
Yashodhan Joshi
75ef920a4a WIP blkio integration tests, currently only runs when weight and weight_device are supported 2021-12-13 17:31:07 +05:30
dependabot[bot]
53dfa8b6de
Bump pkg-config from 0.3.23 to 0.3.24
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases)
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/pkg-config-rs/commits)

---
updated-dependencies:
- dependency-name: pkg-config
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 06:33:35 +00:00
dependabot[bot]
109020bcef
Bump libc from 0.2.109 to 0.2.111
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.109 to 0.2.111.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.109...0.2.111)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 01:12:08 +00:00
Furisto
d1bdf10859
Fix integration tests 2021-12-12 16:17:59 +01:00
Furisto
d21706ea47 Update with latest 2021-12-12 00:30:34 +01:00
Furisto
763b21dca1 Cleanup 2021-12-11 23:52:04 +01:00
Furisto
effb728fb0 Ensure test directory is cleaned up 2021-12-11 23:30:25 +01:00
Furisto
e7d0e90529 Cleanup logger implementation 2021-12-11 20:38:06 +01:00
Furisto
69b5d76fe4 Cpu period tests 2021-12-11 18:24:06 +01:00
utam0k
243be9ff1c remove unneede impl Default
https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
2021-12-11 21:33:21 +09:00
Furisto
9abeeb2407 Ensure cpu quota is not set if none is specified 2021-12-10 23:32:02 +01:00