File: 0001-skip-test-hugetlb_test.go-random-failures-on-ppc64el.patch

package info (click to toggle)
runc 1.0.0~rc93%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,172 kB
  • sloc: sh: 1,679; ansic: 1,039; makefile: 139
file content (47 lines) | stat: -rw-r--r-- 1,665 bytes parent folder | 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From: Dmitry Smirnov <onlyjob@debian.org>
Date: Sun, 15 Nov 2020 21:42:16 +0800
Subject: skip test: hugetlb_test.go, random failures on ppc64el, s390x

Last-Update: 2018-09-27
Forwarded: not-needed
Bug-Upstream: https://github.com/opencontainers/runc/issues/1822
---
 libcontainer/cgroups/fs/hugetlb_test.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libcontainer/cgroups/fs/hugetlb_test.go b/libcontainer/cgroups/fs/hugetlb_test.go
index 2d17ca6..d3c2e51 100644
--- a/libcontainer/cgroups/fs/hugetlb_test.go
+++ b/libcontainer/cgroups/fs/hugetlb_test.go
@@ -89,6 +89,7 @@ func TestHugetlbStats(t *testing.T) {
 }
 
 func TestHugetlbStatsNoUsageFile(t *testing.T) {
+	t.Skip("Disabled unreliable test")
 	helper := NewCgroupTestUtil("hugetlb", t)
 	defer helper.cleanup()
 	helper.writeFileContents(map[string]string{
@@ -104,6 +105,7 @@ func TestHugetlbStatsNoUsageFile(t *testing.T) {
 }
 
 func TestHugetlbStatsNoMaxUsageFile(t *testing.T) {
+	t.Skip("Disabled unreliable test")
 	helper := NewCgroupTestUtil("hugetlb", t)
 	defer helper.cleanup()
 	for _, pageSize := range HugePageSizes {
@@ -121,6 +123,7 @@ func TestHugetlbStatsNoMaxUsageFile(t *testing.T) {
 }
 
 func TestHugetlbStatsBadUsageFile(t *testing.T) {
+	t.Skip("Disabled unreliable test")
 	helper := NewCgroupTestUtil("hugetlb", t)
 	defer helper.cleanup()
 	for _, pageSize := range HugePageSizes {
@@ -139,6 +142,7 @@ func TestHugetlbStatsBadUsageFile(t *testing.T) {
 }
 
 func TestHugetlbStatsBadMaxUsageFile(t *testing.T) {
+	t.Skip("Disabled unreliable test")
 	helper := NewCgroupTestUtil("hugetlb", t)
 	defer helper.cleanup()
 	helper.writeFileContents(map[string]string{