-
Notifications
You must be signed in to change notification settings - Fork 3.8k
bugfix:fix container logs lost because io close too quickly #12364
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
Conversation
|
Hi @ningmingxiao. 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 Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
9f98d3c to
fef0f2c
Compare
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
fef0f2c to
71f5d16
Compare
|
/cherry-pick release/2.1 |
|
@AkihiroSuda: new pull request created: #12375 DetailsIn response to this:
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-sigs/prow repository. |
|
@AkihiroSuda: new pull request created: #12376 DetailsIn response to this:
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-sigs/prow repository. |
|
@AkihiroSuda: new pull request created: #12377 DetailsIn response to this:
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-sigs/prow repository. |
fix #12289
I find TestContainerExecLargeOutputWithTTY failed because of container exec logs lost.
https://github.com/containerd/containerd/blob/v2.1.4/cmd/containerd-shim-runc-v2/process/exec.go#L108-L109
waitTimeout will return context.Canceled.
so default 2 second timeout sometimes is not enough.
PTAL thanks @fuweid @cpuguy83 @AkihiroSuda @dmcgowan @djdongjin
the ci failed is because of other reason. 😮💨