Skip to content
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

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

estesp
Copy link
Member

@estesp estesp commented Aug 1, 2018

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

@codecov-io
Copy link

codecov-io commented Aug 1, 2018

Codecov Report

Merging #2517 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2517   +/-   ##
=======================================
  Coverage   45.07%   45.07%           
=======================================
  Files          93       93           
  Lines        9780     9780           
=======================================
  Hits         4408     4408           
  Misses       4654     4654           
  Partials      718      718
Flag Coverage Δ
#linux 49.1% <ø> (ø) ⬆️
#windows 41.58% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efb04a3...9622369. Read the comment docs.

@@ -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 ;
Copy link
Member

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 ?

Copy link
Member Author

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

@dmcgowan
Copy link
Member

dmcgowan commented Aug 1, 2018

LGTM but Travis didn't run...

@estesp estesp force-pushed the fix-travis-script branch from 6c724a9 to 9d43cea Compare August 1, 2018 17:30
@estesp
Copy link
Member Author

estesp commented Aug 1, 2018

bummer; the in-line comments broke travis YML parsing; removed them

@estesp estesp changed the title Fix loss of CRI test failure status in CI [DO NOT MERGE] Fix loss of CRI test failure status in CI Aug 1, 2018
@estesp
Copy link
Member Author

estesp commented Aug 1, 2018

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]>
@estesp estesp force-pushed the fix-travis-script branch from 9d43cea to 9622369 Compare August 1, 2018 17:54
@estesp estesp changed the title [DO NOT MERGE] Fix loss of CRI test failure status in CI Fix loss of CRI test failure status in CI Aug 1, 2018
@estesp
Copy link
Member Author

estesp commented Aug 1, 2018

Ok, I think we're good. Unless someone feels the need to inject failures to verify :)

@dmcgowan
Copy link
Member

dmcgowan commented Aug 1, 2018

LGTM

1 similar comment
@crosbymichael
Copy link
Member

LGTM

@crosbymichael crosbymichael merged commit 123de20 into containerd:master Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRI Test Failure is ignored.
5 participants