Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@saschagrunert
Copy link
Member

What type of PR is this?

/kind bug

What this PR does / why we need it:

We now partially revert #4650 to
still use the runtime internal context for its tasks.

Which issue(s) this PR fixes:

Fixes: #4798

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

Fixed bug where runtime VM created containers never reach their `completed` state. 

We now partially revert cri-o#4650 to
still use the runtime internal context for its tasks.

Fixes: cri-o#4798

Signed-off-by: Sascha Grunert <[email protected]>
@openshift-ci-robot openshift-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. labels Apr 26, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 26, 2021
@fidencio
Copy link
Contributor

@saschagrunert, thanks for the PR, it does solve the issue I reported.

tl;dr: LGTM, we should proceed with this PR, and I'd like to hear from @haircommander before adding my lgtm.

Now, the long reply ...

It bogus my mind, sincerely, and I've gone through this on Friday, coming up with pretty much the same solution proposed by in this PR, then I filed the issue. I still don't fully get why we need the extra context, why the context coming from the GRPC doesn't do what it has to do.

@saschagrunert mentioned this may be a bug in the GRPC implementation of the runtime VM, and he may very much be right about that. For now, I'm looking forward to have this partial revert merged, and backported to the release-1.21 branch, as it'll unblock the 2.1.0-rc0 release of kata-containers. Then we can track down what's broken on the runtime VM side. :-/

@codecov
Copy link

codecov bot commented Apr 26, 2021

Codecov Report

Merging #4803 (7e572cd) into master (d3dbaec) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4803      +/-   ##
==========================================
- Coverage   43.00%   43.00%   -0.01%     
==========================================
  Files         107      107              
  Lines        9791     9792       +1     
==========================================
  Hits         4211     4211              
- Misses       5130     5131       +1     
  Partials      450      450              

@fidencio
Copy link
Contributor

/retest

@haircommander
Copy link
Member

/lgtm
/cherry-pick release-1.21

@openshift-cherrypick-robot

@haircommander: once the present PR merges, I will cherry-pick it on top of release-1.21 in a new PR and assign it to you.

Details

In response to this:

/lgtm
/cherry-pick release-1.21

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 26, 2021
@haircommander
Copy link
Member

thanks for tracking this down y'all

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

13 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 27, 2021

@saschagrunert: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/openshift-jenkins/e2e_crun_cgroupv2 7e572cd link /test e2e_cgroupv2

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-cherrypick-robot

@haircommander: new pull request created: #4812

Details

In response to this:

/lgtm
/cherry-pick release-1.21

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@saschagrunert saschagrunert deleted the runtime-vm-fix branch April 27, 2021 06:19
fidencio added a commit to fidencio/cri-o that referenced this pull request May 7, 2021
cri-o#4803 partially reverted
cri-o#4650, but ended up missing two
places where the context is used to ensure the goroutines are stopped.

This was caught due to some tests failing in a non deterministic manner
on kata-containers CI.

Related: cri-o#4798
fidencio added a commit to fidencio/cri-o that referenced this pull request May 7, 2021
cri-o#4803 partially reverted
cri-o#4650, but ended up missing two
places where the context is used to ensure the goroutines are stopped.

This was caught due to some tests failing in a non deterministic manner
on kata-containers CI.

Related: cri-o#4798

Signed-off-by: Fabiano Fidêncio <[email protected]>
fidencio added a commit to fidencio/cri-o that referenced this pull request May 8, 2021
cri-o#4803 partially reverted
cri-o#4650, but ended up missing two
places where the context is used to ensure the goroutines are stopped.

This was caught due to some tests failing in a non deterministic manner
on kata-containers CI.

Related:
- cri-o#4798
- kata-containers/tests#3503 (comment)

Signed-off-by: Fabiano Fidêncio <[email protected]>
fidencio added a commit to fidencio/cri-o that referenced this pull request May 11, 2021
cri-o#4803 partially reverted
cri-o#4650, but ended up missing two
places where the context is used to ensure the goroutines are stopped.

This was caught due to some tests failing in a non deterministic manner
on kata-containers CI.

Related:
- cri-o#4798
- kata-containers/tests#3503 (comment)

Signed-off-by: Fabiano Fidêncio <[email protected]>
(cherry picked from commit db280b4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

area/vm: pods are not reaching "completed" state

7 participants