-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix loss of CRI test failure status in CI #2517
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2517 +/- ##
=======================================
Coverage 45.07% 45.07%
=======================================
Files 93 93
Lines 9780 9780
=======================================
Hits 4408 4408
Misses 4654 4654
Partials 718 718
Continue to review full report at Codecov.
|
@@ -74,8 +74,13 @@ script: | |||
sudo PATH=$PATH containerd -log-level debug &> /tmp/containerd-cri.log & | |||
sudo ctr version ; | |||
sudo PATH=$PATH GOPATH=$GOPATH critest --runtime-endpoint=/var/run/containerd/containerd.sock --parallel=8 ; |
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.
sudo PATH=$PATH GOPATH=$GOPATH critest --runtime-endpoint=/var/run/containerd/containerd.sock --parallel=8 || travis_terminate 1
?
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.
That would not allow us to dump the log as it exits immediately
LGTM but Travis didn't run... |
6c724a9
to
9d43cea
Compare
bummer; the in-line comments broke travis YML parsing; removed them |
Still figuring out the right solution; don't merge yet |
Prior PR fixed the wrong use of `exit` built-in within a Travis script, but lost the reporting of a failure result of CRI testing in the process. Signed-off-by: Phil Estes <[email protected]>
9d43cea
to
9622369
Compare
Ok, I think we're good. Unless someone feels the need to inject failures to verify :) |
LGTM |
1 similar comment
LGTM |
Prior PR fixed the wrong use of
exit
built-in within a Travis script,but lost the reporting of a failure result of CRI testing in the process.
Signed-off-by: Phil Estes [email protected]
Fixes: #2515