test-integration: support cgroup2#41065
Conversation
|
cc @kolyshkin |
|
Also why must DOCKER_SYSTEMD=1 not be specified? |
|
I can work on your PR to run a one-time Jenkins CI for cgroups v2 and once it's green and we're happy we could bring in those containerd / runc commits. |
|
systemd mode is just untested yet, will try later
Thanks, but this might be complicated because the host need to be bootstrapped with master binaries. I prepared binaries in Also, the host needs to be very recent distro. Fedora 32 or Ubuntu 20.04 is preferred. Ubuntu still needs the GRUB configuration. |
|
Do Jenkins hosts support running nested VM with Vagrant? |
|
Thanks for the bootstrapping. I know about the requirements for recent hosts, currently we have 19.10 with the right grub config, I'm trying to get 20.04 instead. |
no |
|
Confirmed, |
Usage: DOCKER_BUILD_ARGS="--build-arg CONTAINERD_COMMIT=master --build-arg RUNC_COMMIT=master" DOCKER_EXPERIMENTAL=1 TEST_SKIP_INTEGRATION_CLI=1 make test-integration Depends on containerd master (v1.4) and runc master (v1.0.0-rc91). Currently `TEST_SKIP_INTEGRATION_CLI=1` must be specified. Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
@tiborvass Let me know how I can help moving this forward. |
|
Maybe we can merge this as-is and update Jenkinsfile in a follow-up PR? |
|
ping @tiborvass @thaJeztah |
tiborvass
left a comment
There was a problem hiding this comment.
Fine, let's do Jenkinsfile changes in a followup.
- What I did
added cgroup2 support for
make integration.We don't have actual CI instances yet. (Can we use Fedora 32 Vagrant on either GH actions as in containerd or on Travis as in runc? )
- How I did it
hack/dindto initialize nested controllers.- How to verify it
Tests are passing on Ubuntu 20.04 with:
DOCKER_BUILD_ARGS="--build-arg CONTAINERD_COMMIT=bf672cccee2a0baf4720ec534a738f6003c0e5a7 --build-arg RUNC_COMMIT=0fa097fc37c5d89e4cea4fda4663d1239e12a6fe" DOCKER_EXPERIMENTAL=1 TEST_SKIP_INTEGRATION_CLI=1 make test-integrationDepends on containerd master (v1.4) and runc master (v1.0.0-rc91).
Currently
TEST_SKIP_INTEGRATION_CLI=1must be specified.- A picture of a cute animal (not mandatory but encouraged)
🐧