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:

It may be possible that the stats servers Shutdown() get called twice
during CRI-O stop. To avoid calling close() on an already closed
channel, we now internally track if the stats server is still running or
not.

Which issue(s) this PR fixes:

Introduced in #5427

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None

It may be possible that the stats servers `Shutdown()` get called twice
during CRI-O stop. To avoid calling `close()` on an already closed
channel, we now internally track if the stats server is still running or
not.

Signed-off-by: Sascha Grunert <[email protected]>
@openshift-ci openshift-ci bot added release-note-none Denotes a PR that doesn't merit a release note. 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 Nov 29, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 29, 2021

[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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 29, 2021
@codecov
Copy link

codecov bot commented Nov 29, 2021

Codecov Report

Merging #5474 (bbc944c) into main (7048f24) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5474      +/-   ##
==========================================
- Coverage   43.48%   43.48%   -0.01%     
==========================================
  Files         120      120              
  Lines       11904    11904              
==========================================
- Hits         5177     5176       -1     
- Misses       6233     6234       +1     
  Partials      494      494              

@saschagrunert
Copy link
Member Author

/retest-required

@haircommander
Copy link
Member

🙈 oopsies
/lgtm

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

good catch, thanks 😅

@openshift-bot
Copy link

/retest-required

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

2 similar comments
@openshift-bot
Copy link

/retest-required

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

@openshift-bot
Copy link

/retest-required

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 29, 2021

@saschagrunert: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/openshift-jenkins/integration_crun_cgroupv2 bbc944c link false /test integration_cgroupv2
ci/openshift-jenkins/e2e_crun_cgroupv2 bbc944c link false /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-required

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

1 similar comment
@openshift-bot
Copy link

/retest-required

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

@fgiudici
Copy link
Contributor

/lgtm

@openshift-merge-robot openshift-merge-robot merged commit 3bfface into cri-o:main Nov 29, 2021
@saschagrunert saschagrunert deleted the stats-server-shutdown branch November 29, 2021 17:34
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-none Denotes a PR that doesn't merit a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants