Skip to content

Check dbus error on container runtime start/stop #119197

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

Merged

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

We should evaluate the error, otherwise we risk to hang indefinately on waiting for the reschan in:

job := <-reschan

We also increase the timeout, because it can take a bit longer for runtimes to determinate depending on the work they have to be done on running containers.

Which issue(s) this PR fixes:

Fixes #116872

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

None

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 10, 2023
@k8s-ci-robot k8s-ci-robot added the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Jul 10, 2023
@saschagrunert
Copy link
Member Author

cc @bobbypage

We should evaluate the error, otherwise we risk to hang indefinately on
waiting for the `reschan` in:

https://github.com/kubernetes/kubernetes/blob/64939b66c65b7c3daac41ece56776582532bf94b/test/e2e_node/util.go#L419

We also increase the timeout, because it can take a bit longer for
runtimes to determinate depending on the work they have to be done on
running containers.

Signed-off-by: Sascha Grunert <[email protected]>
@saschagrunert saschagrunert force-pushed the stop-container-runtime-err branch from 32f98a5 to 3bae26a Compare July 10, 2023 11:45
@k8s-ci-robot k8s-ci-robot added area/test sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Jul 10, 2023
@saschagrunert saschagrunert self-assigned this Jul 11, 2023
@saschagrunert
Copy link
Member Author

@kubernetes/sig-node-pr-reviews PTAL

@bobbypage
Copy link
Member

Thanks for fix!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 13, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 295543c2718bcfde73eeaa01708ef487805c6791

@saschagrunert
Copy link
Member Author

PTAL @tallclair @derekwaynecarr @klueska @sjenning @mrunalp @SergeyKanzhelev @endocrimes

for test framework approval

@iholder101
Copy link
Contributor

LGTM 👍

Thank you!

@pacoxu
Copy link
Member

pacoxu commented Jul 13, 2023

/priority important-soon
/triage accepted
/cc @wzshiming
/assign @smarterclayton

@k8s-ci-robot k8s-ci-robot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jul 13, 2023
@k8s-ci-robot k8s-ci-robot requested a review from wzshiming July 13, 2023 11:49
@k8s-ci-robot k8s-ci-robot removed the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Jul 13, 2023
@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 13, 2023
@wzshiming
Copy link
Member

Thank you!

/lgtm

@bart0sh
Copy link
Contributor

bart0sh commented Jul 19, 2023

/assign @SergeyKanzhelev @mrunalp

@SergeyKanzhelev
Copy link
Member

/assign @haircommander

@haircommander
Copy link
Contributor

/lgtm

@saschagrunert
Copy link
Member Author

PTAL @tallclair @derekwaynecarr @klueska @sjenning @mrunalp @SergeyKanzhelev @endocrimes

for test framework approval

Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert, SergeyKanzhelev

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 16, 2023
@k8s-ci-robot k8s-ci-robot merged commit 88d14ed into kubernetes:master Aug 16, 2023
@k8s-ci-robot k8s-ci-robot added this to the v1.29 milestone Aug 16, 2023
@saschagrunert saschagrunert deleted the stop-container-runtime-err branch August 17, 2023 07:43
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. area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Archived in project