forked from checkpoint-restore/criu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zdtm: make cgroup testcases run non-parallel
cgroup testcases live in the same cgroup root zdtmtst and zdtmtst.defaultroot controller then create child subgroup for testing. This can cause problems when cgroup testcases are run in parallel. For example, testcase A dumps the child subgroup of testcase B since it's in the cgroup root but in the middle of restoring of testcase A, testcase B completes and cleans up the subgroup directory. This causes error in testcase A restore. This commit adds excl flag to all cgroup testcases description so that these don't run parallel. Signed-off-by: Bui Quang Minh <[email protected]>
- Loading branch information
Showing
8 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{'flavor': 'h', 'flags': 'suid', 'opts': '--manage-cgroups'} | ||
{'flavor': 'h', 'flags': 'suid excl', 'opts': '--manage-cgroups'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{'flavor': 'h', 'flags': 'suid', 'opts': '--manage-cgroups'} | ||
{'flavor': 'h', 'flags': 'suid excl', 'opts': '--manage-cgroups'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ 'dopts': '--manage-cgroups --cgroup-root name=zdtmtst:/prefix', | ||
'flags': 'suid', | ||
'flags': 'suid excl', | ||
'flavor': 'h', | ||
'ropts': '--manage-cgroups --cgroup-root /newroot --cgroup-root name=zdtmtst:/prefix'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{'flavor': 'h', 'flags': 'suid', 'opts': '--manage-cgroups'} | ||
{'flavor': 'h', 'flags': 'suid excl', 'opts': '--manage-cgroups'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ 'feature': 'cgroupns', | ||
'flags': 'suid', | ||
'flags': 'suid excl', | ||
'flavor': 'h', | ||
'opts': '--manage-cgroups'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{'flavor': 'h ns', 'flags': 'suid', 'opts': '--manage-cgroups=full'} | ||
{'flavor': 'h ns', 'flags': 'suid excl', 'opts': '--manage-cgroups=full'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{'flavor': 'h ns', 'flags': 'suid', 'opts': '--manage-cgroups=full'} | ||
{'flavor': 'h ns', 'flags': 'suid excl', 'opts': '--manage-cgroups=full'} |