-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: install criu in ci test #2175
Conversation
Please merge this pr after I release alibaba/runc version v1.0.0-rc4-2. |
if [[ "${os_dist}" = "Ubuntu" ]]; then | ||
criu::ubuntu::install_dependencies > /dev/null | ||
criu::ubuntu::install > /dev/null | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without error ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If fails here, all test will stop and fail.
hack/install/install_criu.sh
Outdated
|
||
# criu::ubuntu::install will install criu from source. | ||
criu::ubuntu::install() { | ||
local tmpdir branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the branch if it is useless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
install criu brfore ci test begin, update runc version to v1.0.0-rc4-2 to enable checkpoint/restore function. Uncomment start from checkpoint test case. Signed-off-by: Ace-Tang <aceapril@126.com>
Codecov Report
@@ Coverage Diff @@
## master #2175 +/- ##
==========================================
+ Coverage 64.34% 64.97% +0.63%
==========================================
Files 209 209
Lines 16739 16739
==========================================
+ Hits 10770 10876 +106
+ Misses 4635 4515 -120
- Partials 1334 1348 +14
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @Ace-Tang please create PR to change the hack/package script 😄
Signed-off-by: Ace-Tang aceapril@126.com
Ⅰ. Describe what this PR did
install criu brfore ci test begin, update runc version to v1.0.0-rc4-2
to enable checkpoint/restore function. Uncomment start from checkpoint
test case.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews