bugfix:fix container logs lost because io close too quickly#12364
bugfix:fix container logs lost because io close too quickly#12364estesp merged 1 commit intocontainerd:mainfrom
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 <[email protected]>
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. 😮💨