Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/hotspot/jtreg/containers/cgroup/CgroupSubsystemFactory.java
40942 views
1
/*
2
* Copyright (c) 2020, Red Hat Inc.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
24
/*
25
* @test CgroupSubsystemFactory
26
* @key cgroups
27
* @requires os.family == "linux"
28
* @library /testlibrary /test/lib
29
* @build sun.hotspot.WhiteBox
30
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
31
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI CgroupSubsystemFactory
32
*/
33
34
import java.io.IOException;
35
import java.nio.charset.StandardCharsets;
36
import java.nio.file.Files;
37
import java.nio.file.Path;
38
import java.nio.file.Paths;
39
40
import jdk.test.lib.Asserts;
41
import jdk.test.lib.Utils;
42
import jdk.test.lib.util.FileUtils;
43
import sun.hotspot.WhiteBox;
44
45
/*
46
* Verify hotspot's detection heuristics of CgroupSubsystemFactory::create()
47
*/
48
public class CgroupSubsystemFactory {
49
50
// Mirrored from src/hotspot/os/linux/cgroupSubsystem_linux.hpp
51
private static final int CGROUPS_V1 = 1;
52
private static final int CGROUPS_V2 = 2;
53
private static final int INVALID_CGROUPS_V2 = 3;
54
private static final int INVALID_CGROUPS_V1 = 4;
55
private static final int INVALID_CGROUPS_NO_MOUNT = 5;
56
private Path existingDirectory;
57
private Path cgroupv1CgroupsJoinControllers;
58
private Path cgroupv1SelfCgroupsJoinControllers;
59
private Path cgroupv1MountInfoJoinControllers;
60
private Path cgroupv1CgInfoZeroHierarchy;
61
private Path cgroupv1MntInfoZeroHierarchy;
62
private Path cgroupv2CgInfoZeroHierarchy;
63
private Path cgroupv2MntInfoZeroHierarchy;
64
private Path cgroupv1CgInfoNonZeroHierarchy;
65
private Path cgroupv1MntInfoNonZeroHierarchyOtherOrder;
66
private Path cgroupv1MntInfoNonZeroHierarchy;
67
private Path cgroupv1MntInfoDoubleCpuset;
68
private Path cgroupv1MntInfoDoubleCpuset2;
69
private Path cgroupv1MntInfoSystemdOnly;
70
private String mntInfoEmpty = "";
71
private Path cgroupV1SelfCgroup;
72
private Path cgroupV2SelfCgroup;
73
private Path cgroupV2MntInfoMissingCgroupv2;
74
private Path cgroupv1MntInfoMissingMemoryController;
75
private String procSelfCgroupHybridContent = "11:hugetlb:/\n" +
76
"10:devices:/user.slice\n" +
77
"9:pids:/user.slice/user-15263.slice/[email protected]\n" +
78
"8:cpu,cpuacct:/\n" +
79
"7:perf_event:/\n" +
80
"6:freezer:/\n" +
81
"5:blkio:/\n" +
82
"4:net_cls,net_prio:/\n" +
83
"3:cpuset:/\n" +
84
"2:memory:/user.slice/user-15263.slice/[email protected]\n" +
85
"1:name=systemd:/user.slice/user-15263.slice/[email protected]/gnome-terminal-server.service\n" +
86
"0::/user.slice/user-15263.slice/[email protected]/gnome-terminal-server.service";
87
private String procSelfCgroupV2UnifiedContent = "0::/user.slice/user-1000.slice/session-3.scope";
88
private String procSelfCgroupV1JoinControllers =
89
"9:freezer:/\n" +
90
"8:rdma:/\n" +
91
"7:blkio:/user.slice\n" +
92
"6:devices:/user.slice\n" +
93
"5:pids:/user.slice/user-1000.slice/session-2.scope\n" +
94
"4:cpu,cpuacct,memory,net_cls,net_prio,hugetlb:/user.slice/user-1000.slice/session-2.scope\n" +
95
"3:cpuset:/\n" +
96
"2:perf_event:/\n" +
97
"1:name=systemd:/user.slice/user-1000.slice/session-2.scope\n" +
98
"0::/user.slice/user-1000.slice/session-2.scope\n";
99
private String cgroupsZeroHierarchy =
100
"#subsys_name hierarchy num_cgroups enabled\n" +
101
"cpuset 0 1 1\n" +
102
"cpu 0 1 1\n" +
103
"cpuacct 0 1 1\n" +
104
"memory 0 1 1\n" +
105
"devices 0 1 1\n" +
106
"freezer 0 1 1\n" +
107
"net_cls 0 1 1\n" +
108
"blkio 0 1 1\n" +
109
"perf_event 0 1 1 ";
110
private String cgroupsNonZeroJoinControllers =
111
"#subsys_name hierarchy num_cgroups enabled\n" +
112
"cpuset\t3\t1\t1\n" +
113
"cpu\t4\t153\t1\n" +
114
"cpuacct\t4\t153\t1\n" +
115
"blkio\t7\t87\t1\n" +
116
"memory\t4\t153\t1\n" +
117
"devices\t6\t87\t1\n" +
118
"freezer\t9\t1\t1\n" +
119
"net_cls\t4\t153\t1\n" +
120
"perf_event\t2\t1\t1\n" +
121
"net_prio\t4\t153\t1\n" +
122
"hugetlb\t4\t153\t1\n" +
123
"pids\t5\t95\t1\n" +
124
"rdma\t8\t1\t1\n";
125
private String cgroupV2LineHybrid = "31 30 0:27 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:5 - cgroup2 none rw,seclabel,nsdelegate\n";
126
private String cgroupv1MountInfoLineMemory = "35 30 0:31 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:7 - cgroup none rw,seclabel,memory\n";
127
private String mntInfoHybridStub =
128
"30 23 0:26 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:4 - tmpfs tmpfs ro,seclabel,mode=755\n" +
129
"32 30 0:28 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:6 - cgroup none rw,seclabel,xattr,name=systemd\n" +
130
"36 30 0:32 / /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime shared:8 - cgroup none rw,seclabel,pids\n" +
131
"37 30 0:33 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:9 - cgroup none rw,seclabel,perf_event\n" +
132
"38 30 0:34 / /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime shared:10 - cgroup none rw,seclabel,net_cls,net_prio\n" +
133
"39 30 0:35 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:11 - cgroup none rw,seclabel,hugetlb\n" +
134
"40 30 0:36 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:12 - cgroup none rw,seclabel,cpu,cpuacct\n" +
135
"41 30 0:37 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:13 - cgroup none rw,seclabel,devices\n" +
136
"42 30 0:38 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:14 - cgroup none rw,seclabel,cpuset\n" +
137
"43 30 0:39 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:15 - cgroup none rw,seclabel,blkio\n" +
138
"44 30 0:40 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:16 - cgroup none rw,seclabel,freezer\n";
139
private String mntInfoHybridRest = cgroupv1MountInfoLineMemory + mntInfoHybridStub;
140
private String mntInfoHybridMissingMemory = mntInfoHybridStub;
141
private String mntInfoHybrid = cgroupV2LineHybrid + mntInfoHybridRest;
142
private String mntInfoHybridFlippedOrder = mntInfoHybridRest + cgroupV2LineHybrid;
143
private String mntInfoCgroupv1JoinControllers =
144
"31 22 0:26 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:9 - tmpfs tmpfs ro,mode=755\n" +
145
"32 31 0:27 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:10 - cgroup2 cgroup2 rw,nsdelegate\n" +
146
"33 31 0:28 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:11 - cgroup cgroup rw,xattr,name=systemd\n" +
147
"36 31 0:31 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:15 - cgroup cgroup rw,perf_event\n" +
148
"37 31 0:32 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:16 - cgroup cgroup rw,cpuset\n" +
149
"38 31 0:33 / /sys/fs/cgroup/cpu,cpuacct,net_cls,net_prio,hugetlb,memory rw,nosuid,nodev,noexec,relatime shared:17 - cgroup cgroup rw,cpu,cpuacct,memory,net_cls,net_prio,hugetlb\n" +
150
"39 31 0:34 / /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime shared:18 - cgroup cgroup rw,pids\n" +
151
"40 31 0:35 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,devices\n" +
152
"41 31 0:36 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:20 - cgroup cgroup rw,blkio\n" +
153
"42 31 0:37 / /sys/fs/cgroup/rdma rw,nosuid,nodev,noexec,relatime shared:21 - cgroup cgroup rw,rdma\n" +
154
"43 31 0:38 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:22 - cgroup cgroup rw,freezer\n";
155
private String mntInfoCgroupv1MoreCpusetLine = "121 32 0:37 / /cpusets rw,relatime shared:69 - cgroup none rw,cpuset\n";
156
private String mntInfoCgroupv1DoubleCpuset = mntInfoCgroupv1MoreCpusetLine + mntInfoHybrid;
157
private String mntInfoCgroupv1DoubleCpuset2 = mntInfoHybrid + mntInfoCgroupv1MoreCpusetLine;
158
private String cgroupsNonZeroHierarchy =
159
"#subsys_name hierarchy num_cgroups enabled\n" +
160
"cpuset 3 1 1\n" +
161
"cpu 8 1 1\n" +
162
"cpuacct 8 1 1\n" +
163
"blkio 10 1 1\n" +
164
"memory 2 90 1\n" +
165
"devices 8 74 1\n" +
166
"freezer 11 1 1\n" +
167
"net_cls 5 1 1\n" +
168
"perf_event 4 1 1\n" +
169
"net_prio 5 1 1\n" +
170
"hugetlb 6 1 1\n" +
171
"pids 3 80 1";
172
private String mntInfoCgroupsV2Only =
173
"28 21 0:25 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:4 - cgroup2 none rw,seclabel,nsdelegate";
174
private String mntInfoCgroupsV1SystemdOnly =
175
"35 26 0:26 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup systemd rw,name=systemd\n" +
176
"26 18 0:19 / /sys/fs/cgroup rw,relatime - tmpfs none rw,size=4k,mode=755\n";
177
178
private void setup() {
179
try {
180
existingDirectory = Utils.createTempDirectory(CgroupSubsystemFactory.class.getSimpleName());
181
Path cgroupsZero = Paths.get(existingDirectory.toString(), "cgroups_zero");
182
Files.writeString(cgroupsZero, cgroupsZeroHierarchy, StandardCharsets.UTF_8);
183
cgroupv1CgInfoZeroHierarchy = cgroupsZero;
184
cgroupv2CgInfoZeroHierarchy = cgroupsZero;
185
cgroupv1MntInfoZeroHierarchy = Paths.get(existingDirectory.toString(), "mountinfo_empty");
186
Files.writeString(cgroupv1MntInfoZeroHierarchy, mntInfoEmpty);
187
188
cgroupv2MntInfoZeroHierarchy = Paths.get(existingDirectory.toString(), "mountinfo_cgroupv2");
189
Files.writeString(cgroupv2MntInfoZeroHierarchy, mntInfoCgroupsV2Only);
190
191
cgroupv1CgInfoNonZeroHierarchy = Paths.get(existingDirectory.toString(), "cgroups_non_zero");
192
Files.writeString(cgroupv1CgInfoNonZeroHierarchy, cgroupsNonZeroHierarchy);
193
194
cgroupv1MntInfoNonZeroHierarchy = Paths.get(existingDirectory.toString(), "mountinfo_non_zero");
195
Files.writeString(cgroupv1MntInfoNonZeroHierarchy, mntInfoHybrid);
196
197
cgroupv1MntInfoNonZeroHierarchyOtherOrder = Paths.get(existingDirectory.toString(), "mountinfo_non_zero_cgroupv2_last");
198
Files.writeString(cgroupv1MntInfoNonZeroHierarchyOtherOrder, mntInfoHybridFlippedOrder);
199
200
cgroupV1SelfCgroup = Paths.get(existingDirectory.toString(), "cgroup_self_hybrid");
201
Files.writeString(cgroupV1SelfCgroup, procSelfCgroupHybridContent);
202
203
cgroupV2SelfCgroup = Paths.get(existingDirectory.toString(), "cgroup_self_v2");
204
Files.writeString(cgroupV2SelfCgroup, procSelfCgroupV2UnifiedContent);
205
206
cgroupv1MntInfoMissingMemoryController = Paths.get(existingDirectory.toString(), "mnt_info_missing_memory");
207
Files.writeString(cgroupv1MntInfoMissingMemoryController, mntInfoHybridMissingMemory);
208
209
cgroupV2MntInfoMissingCgroupv2 = Paths.get(existingDirectory.toString(), "mnt_info_missing_cgroup2");
210
Files.writeString(cgroupV2MntInfoMissingCgroupv2, mntInfoHybridStub);
211
212
cgroupv1MntInfoDoubleCpuset = Paths.get(existingDirectory.toString(), "mnt_info_cgroupv1_double_cpuset");
213
Files.writeString(cgroupv1MntInfoDoubleCpuset, mntInfoCgroupv1DoubleCpuset);
214
215
cgroupv1MntInfoDoubleCpuset2 = Paths.get(existingDirectory.toString(), "mnt_info_cgroupv1_double_cpuset2");
216
Files.writeString(cgroupv1MntInfoDoubleCpuset2, mntInfoCgroupv1DoubleCpuset2);
217
218
cgroupv1MntInfoSystemdOnly = Paths.get(existingDirectory.toString(), "mnt_info_cgroupv1_systemd_only");
219
Files.writeString(cgroupv1MntInfoSystemdOnly, mntInfoCgroupsV1SystemdOnly);
220
221
cgroupv1CgroupsJoinControllers = Paths.get(existingDirectory.toString(), "cgroups_cgv1_join_controllers");
222
Files.writeString(cgroupv1CgroupsJoinControllers, cgroupsNonZeroJoinControllers);
223
224
cgroupv1SelfCgroupsJoinControllers = Paths.get(existingDirectory.toString(), "self_cgroup_cgv1_join_controllers");
225
Files.writeString(cgroupv1SelfCgroupsJoinControllers, procSelfCgroupV1JoinControllers);
226
227
cgroupv1MountInfoJoinControllers = Paths.get(existingDirectory.toString(), "mntinfo_cgv1_join_controllers");
228
Files.writeString(cgroupv1MountInfoJoinControllers, mntInfoCgroupv1JoinControllers);
229
} catch (IOException e) {
230
throw new RuntimeException(e);
231
}
232
}
233
234
private void teardown() {
235
try {
236
FileUtils.deleteFileTreeWithRetry(existingDirectory);
237
} catch (IOException e) {
238
System.err.println("Teardown failed. " + e.getMessage());
239
}
240
}
241
242
private boolean isValidCgroup(int value) {
243
return value == CGROUPS_V1 || value == CGROUPS_V2;
244
}
245
246
public void testCgroupv1JoinControllerCombo(WhiteBox wb) {
247
String procCgroups = cgroupv1CgroupsJoinControllers.toString();
248
String procSelfCgroup = cgroupv1SelfCgroupsJoinControllers.toString();
249
String procSelfMountinfo = cgroupv1MountInfoJoinControllers.toString();
250
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
251
Asserts.assertEQ(CGROUPS_V1, retval, "Join controllers should be properly detected");
252
Asserts.assertTrue(isValidCgroup(retval));
253
System.out.println("testCgroupv1JoinControllerMounts PASSED!");
254
}
255
256
public void testCgroupv1MultipleCpusetMounts(WhiteBox wb, Path mountInfo) {
257
String procCgroups = cgroupv1CgInfoNonZeroHierarchy.toString();
258
String procSelfCgroup = cgroupV1SelfCgroup.toString();
259
String procSelfMountinfo = mountInfo.toString();
260
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
261
Asserts.assertEQ(CGROUPS_V1, retval, "Multiple cpuset controllers, but only one in /sys/fs/cgroup");
262
Asserts.assertTrue(isValidCgroup(retval));
263
System.out.println("testCgroupv1MultipleCpusetMounts PASSED!");
264
}
265
266
public void testCgroupv1SystemdOnly(WhiteBox wb) {
267
String procCgroups = cgroupv1CgInfoZeroHierarchy.toString();
268
String procSelfCgroup = cgroupV1SelfCgroup.toString();
269
String procSelfMountinfo = cgroupv1MntInfoSystemdOnly.toString();
270
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
271
Asserts.assertEQ(INVALID_CGROUPS_NO_MOUNT, retval, "Only systemd mounted. Invalid");
272
Asserts.assertFalse(isValidCgroup(retval));
273
System.out.println("testCgroupv1SystemdOnly PASSED!");
274
}
275
276
public void testCgroupv1NoMounts(WhiteBox wb) {
277
String procCgroups = cgroupv1CgInfoZeroHierarchy.toString();
278
String procSelfCgroup = cgroupV1SelfCgroup.toString();
279
String procSelfMountinfo = cgroupv1MntInfoZeroHierarchy.toString();
280
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
281
Asserts.assertEQ(INVALID_CGROUPS_NO_MOUNT, retval, "No cgroups mounted in /proc/self/mountinfo. Invalid.");
282
Asserts.assertFalse(isValidCgroup(retval));
283
System.out.println("testCgroupv1NoMounts PASSED!");
284
}
285
286
public void testCgroupv2NoCgroup2Fs(WhiteBox wb) {
287
String procCgroups = cgroupv2CgInfoZeroHierarchy.toString();
288
String procSelfCgroup = cgroupV2SelfCgroup.toString();
289
String procSelfMountinfo = cgroupV2MntInfoMissingCgroupv2.toString();
290
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
291
Asserts.assertEQ(INVALID_CGROUPS_V2, retval, "No cgroup2 filesystem in /proc/self/mountinfo. Invalid.");
292
Asserts.assertFalse(isValidCgroup(retval));
293
System.out.println("testCgroupv2NoCgroup2Fs PASSED!");
294
}
295
296
public void testCgroupv1MissingMemoryController(WhiteBox wb) {
297
String procCgroups = cgroupv1CgInfoNonZeroHierarchy.toString();
298
String procSelfCgroup = cgroupV1SelfCgroup.toString();
299
String procSelfMountinfo = cgroupv1MntInfoMissingMemoryController.toString();
300
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
301
Asserts.assertEQ(INVALID_CGROUPS_V1, retval, "Required memory controller path missing in mountinfo. Invalid.");
302
Asserts.assertFalse(isValidCgroup(retval));
303
System.out.println("testCgroupv1MissingMemoryController PASSED!");
304
}
305
306
public void testCgroupv2(WhiteBox wb) {
307
String procCgroups = cgroupv2CgInfoZeroHierarchy.toString();
308
String procSelfCgroup = cgroupV2SelfCgroup.toString();
309
String procSelfMountinfo = cgroupv2MntInfoZeroHierarchy.toString();
310
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
311
Asserts.assertEQ(CGROUPS_V2, retval, "Expected");
312
Asserts.assertTrue(isValidCgroup(retval));
313
System.out.println("testCgroupv2 PASSED!");
314
}
315
316
public void testCgroupV1Hybrid(WhiteBox wb) {
317
String procCgroups = cgroupv1CgInfoNonZeroHierarchy.toString();
318
String procSelfCgroup = cgroupV1SelfCgroup.toString();
319
String procSelfMountinfo = cgroupv1MntInfoNonZeroHierarchy.toString();
320
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
321
Asserts.assertEQ(CGROUPS_V1, retval, "Hybrid cgroups expected as cgroups v1");
322
Asserts.assertTrue(isValidCgroup(retval));
323
System.out.println("testCgroupv1Hybrid PASSED!");
324
}
325
326
public void testCgroupV1HybridMntInfoOrder(WhiteBox wb) {
327
String procCgroups = cgroupv1CgInfoNonZeroHierarchy.toString();
328
String procSelfCgroup = cgroupV1SelfCgroup.toString();
329
String procSelfMountinfo = cgroupv1MntInfoNonZeroHierarchyOtherOrder.toString();
330
int retval = wb.validateCgroup(procCgroups, procSelfCgroup, procSelfMountinfo);
331
Asserts.assertEQ(CGROUPS_V1, retval, "Hybrid cgroups expected as cgroups v1");
332
Asserts.assertTrue(isValidCgroup(retval));
333
System.out.println("testCgroupv1HybridMntInfoOrder PASSED!");
334
}
335
336
337
public static void main(String[] args) throws Exception {
338
WhiteBox wb = WhiteBox.getWhiteBox();
339
CgroupSubsystemFactory test = new CgroupSubsystemFactory();
340
test.setup();
341
try {
342
test.testCgroupv1SystemdOnly(wb);
343
test.testCgroupv1NoMounts(wb);
344
test.testCgroupv2(wb);
345
test.testCgroupV1Hybrid(wb);
346
test.testCgroupV1HybridMntInfoOrder(wb);
347
test.testCgroupv1MissingMemoryController(wb);
348
test.testCgroupv2NoCgroup2Fs(wb);
349
test.testCgroupv1MultipleCpusetMounts(wb, test.cgroupv1MntInfoDoubleCpuset);
350
test.testCgroupv1MultipleCpusetMounts(wb, test.cgroupv1MntInfoDoubleCpuset2);
351
test.testCgroupv1JoinControllerCombo(wb);
352
} finally {
353
test.teardown();
354
}
355
}
356
}
357
358