Package: golang-github-containerd-cgroups / 0.0~git20201119.4cbc285-4

0004-Disable-tests-which-needs-cgroupv2.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Shengjing Zhu <zhsj@debian.org>
Date: Sun, 10 Jan 2021 22:51:07 +0800
Subject: Disable tests which needs cgroupv2

The LXC container on ci.debian.net seems broken.
https://ci.debian.net/data/autopkgtest/unstable/amd64/g/golang-github-containerd-cgroups/9569538/log.gz

Forwarded: not-needed
---
 v2/testutils_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/v2/testutils_test.go b/v2/testutils_test.go
index a329ce8..abfb9c0 100644
--- a/v2/testutils_test.go
+++ b/v2/testutils_test.go
@@ -28,6 +28,7 @@ import (
 )
 
 func checkCgroupMode(t *testing.T) {
+	t.Skip("cgroupv2 support in LXC container on ci.debian.net is broken")
 	var st syscall.Statfs_t
 	if err := syscall.Statfs(defaultCgroup2Path, &st); err != nil {
 		t.Fatal("cannot statfs cgroup root")