-
Notifications
You must be signed in to change notification settings - Fork 403
Description
As per #56 , we are porting the OCI validation tests into rust. This is the tracking issue for the same.
The folder /youki_integration_test contains the currently implemented tests which are lifecyle, creation and huge_tlb
Here is the documentation for developing the integration tests:
https://youki-dev.github.io/youki/developer/e2e/rust_oci_test.html
Please only work at one test at a time, and wait for its PR to get merged before opening another one. It helps us to have an easier way for reviewing the PRs 🙏
Default
List of all test, as per https://github.com/opencontainers/runtime-tools/tree/master/validation :
- config_updates_without_affect
- create(@sivchari )
- Original test code in Go: https://github.com/opencontainers/runtime-tools/blob/master/validation/create/create.go
- default
- Original test code in Go: https://github.com/opencontainers/runtime-tools/blob/master/validation/default/default.go
- delete (@sou1118 ) Add
deletetest #3082 - delete_only_create_resources
- delete_resources
- hooks
- hooks_stdin
- hostname(@chermehdi)
- kill (@YamasouA add kill test #2996)
- kill_no_effect(@oneplus1000)
- killsig (@YamasouA )
- linux_cgroups_blkio(Add Cgroup V1 block IO integration test #537)
- linux_cgroups_cpus(Integration test linux cgroups cpus #462)
- linux_cgroups_devices ( @sat0ken )
- linux_cgroups_hugetlb
- linux_cgroups_memory(cgroups v1 memory integration test #473)
- linux_cgroups_network(Integration test: cgroup v1 network tests, fix to memory tests #516)
- linux_cgroups_pids(Cgroup v1 pid integration tests #391)
- linux_cgroups_relative_blkio(@furon-kuina)
- linux_cgroups_relative_cpus // Please take over from Integration test: cgroup v1 relative-cpus tests #2898
- linux_cgroups_relative_devices (@sat0ken )
- linux_cgroups_relative_hugetlb(@kmpzr)
- linux_cgroups_relative_memory(@omprakaash)
- linux_cgroups_relative_network (@moz-sec Add a relative_network_cgroups test as one of the integration tests #2986 )
- linux_cgroups_relative_pids(@kmpzr)
- linux_devices Add linux_devices test #2708 by @omprakaash
- linux_masked_paths (@nayuta-ai linux_masked_paths integration test #2950)
- linux_mount_label @Gekko0114
- linux_ns_itype(Add ns_itype test #389)
- linux_ns_nopath(@cody-herbst )
- linux_ns_path(@cody-herbst )
- linux_ns_path_type(@cody-herbst )
- linux_process_apparmor_profile(@HukuKaich0u)
- linux_readonly_paths (Readonly paths #582 )
- linux_rootfs_propagation (@saku3 add-test-linux_rootfs_propagation #3024 )
- linux_seccomp test(integration_test): port 'runtime-tools/validation/linux_seccomp' #2531 by @xiaoyang-sde
- linux_sysctl test(integration_test): port 'runtime-tools/validation/linux_sysctl' #2527 by @xiaoyang-sde
- linux_uid_mappings (@moz-sec Add uid_mappings test #3161)
- misc_props(@YamasouA add misc_props test #3250)
- mounts(@you-matsuura)
- pidfile(Add pidfile test #379)
- poststart ( @fspv Add poststart hook test #3292)
- poststart_fail fspv
- poststop
- poststop_fail
- prestart
- prestart_fail
- process ( @sat0ken Add process test #2968 )
- process_capabilities
- process_capabilities_fail (@kazmsk add test process_capabilities_fail #3010)
- process_oom_score_adj ( @saku3 add test process_oom_score_adj #2987 )
- process_rlimits ( @sat0ken Add test process rlimits #2977)
- process_rlimits_fail ( @ntkm61027 add process rlimits fail test #3051)
- process_user ( @sat0ken Add test process user #2978)
- root_readonly_true ( @sat0ken Add test root readonly #2976)
- start
- state
Extensions
This contains tests are not in https://github.com/opencontainers/runtime-tools/tree/master/validation , or need are not satisfactory enough.
- cgroups v1
- cgroups v2
Out of these, currently only huge_tlb is ported completely. lifecycle and create tests are implemented but need much improvements, and lifecycle tests should be split into individuals as per listed above.
Please read the README of youki_integration_test to get idea for how one should go about implementing the tests, and what utils etc are available.