Skip to content

Fix repeated sending signal#5021

Merged
mikebrow merged 1 commit intocontainerd:masterfrom
wzshiming:fix/signal_repeatedly
Feb 22, 2021
Merged

Fix repeated sending signal#5021
mikebrow merged 1 commit intocontainerd:masterfrom
wzshiming:fix/signal_repeatedly

Conversation

@wzshiming
Copy link
Copy Markdown
Contributor

@wzshiming wzshiming commented Feb 8, 2021

@k8s-ci-robot
Copy link
Copy Markdown

Hi @wzshiming. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 8, 2021

Build succeeded.

@k8s-ci-robot
Copy link
Copy Markdown

@wzshiming: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

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.

@wzshiming
Copy link
Copy Markdown
Contributor Author

wzshiming commented Feb 8, 2021

/assign mikebrow
Could you have time to take a look please.

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch 2 times, most recently from 2310ca4 to b813be1 Compare February 8, 2021 09:59
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 8, 2021

Build succeeded.

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from b813be1 to d2d8c26 Compare February 8, 2021 13:33
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 8, 2021

Build succeeded.

Comment thread pkg/cri/server/container_stop.go Outdated
@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch 2 times, most recently from 2de0cf7 to 1f45b72 Compare February 9, 2021 16:09
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 9, 2021

Build succeeded.

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 1f45b72 to e0b92b1 Compare February 9, 2021 16:15
@k8s-ci-robot
Copy link
Copy Markdown

@wzshiming: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

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.

@k8s-ci-robot
Copy link
Copy Markdown

@wzshiming: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

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.

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from e0b92b1 to 11b2095 Compare February 9, 2021 16:39
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 9, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

Looking good.. see comments.

Note to self: should probably open an issue for a cri-tools verify test for async double stoping a container with two timeouts > 0 (long then short)..

Comment thread pkg/cri/server/container_stop.go Outdated
Comment thread pkg/cri/store/container/container.go Outdated
Comment thread pkg/cri/server/container_stop.go Outdated
Comment thread pkg/cri/server/container_stop.go Outdated
Comment thread pkg/cri/store/container/container.go Outdated
Comment thread pkg/cri/store/container/container.go Outdated
@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 11b2095 to 74f91da Compare February 9, 2021 17:12
@wzshiming
Copy link
Copy Markdown
Contributor Author

@mikebrow
Thanks, updated.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 9, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

just a small/nit refactor

Comment thread pkg/cri/server/container_stop.go Outdated
@mikebrow
Copy link
Copy Markdown
Member

mikebrow commented Feb 9, 2021

--- FAIL: TestSnapshotterSuite/DevMapperUsage (0.71s)
        snapshotter_test.go:141: assertion failed: expression is false: layer2Usage.Size < sizeBytes+256*dmsetup.SectorSize: 1179648 < 1179648

^ is a known flake

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 74f91da to 9e81aa5 Compare February 10, 2021 02:28
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 10, 2021

Build succeeded.

@wzshiming
Copy link
Copy Markdown
Contributor Author

@mikebrow
Thanks, updated.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

@wzshiming please sign your real name, thanks~

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 9e81aa5 to 352ec92 Compare February 17, 2021 13:07
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 17, 2021

Build succeeded.

@wzshiming
Copy link
Copy Markdown
Contributor Author

@fuweid
Updated.

Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM on green

Need to add some cases in follow-up.

@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 352ec92 to 2dc5aa0 Compare February 17, 2021 13:22
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 17, 2021

Build succeeded.

@wzshiming
Copy link
Copy Markdown
Contributor Author

Sorry, I forgot to update the author just now. updated.

Signed-off-by: Shiming Zhang <[email protected]>
@wzshiming wzshiming force-pushed the fix/signal_repeatedly branch from 2dc5aa0 to dc6f5ef Compare February 17, 2021 13:34
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Feb 17, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@mikebrow mikebrow merged commit 9173d3e into containerd:master Feb 22, 2021
@wzshiming wzshiming deleted the fix/signal_repeatedly branch February 22, 2021 15:51
@mikebrow
Copy link
Copy Markdown
Member

LGTM on green

Need to add some cases in follow-up.

Did you want to open a new issue for the additional case(s).. restart, other cli / entry points...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repeated sending signal

4 participants