add caller info to the testHook#5125
Conversation
|
Hi @Iceber. 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/test-infra repository. |
|
Build succeeded.
|
|
/ok-to-test |
There was a problem hiding this comment.
| var function string | |
| if len(frame.Function) != 0 { | |
| if index := strings.LastIndex(frame.Function, "/"); index >= 0 { | |
| function = frame.Function[index+1:] | |
| } | |
| } | |
| function := filepath.Base(frame.Function) |
|
/test CI / Linux Integration (io.containerd.runc.v1, runc) (pull_request) |
|
@Iceber: The specified target(s) for
Use 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/test-infra repository. |
There was a problem hiding this comment.
i'm not sure about this part. should we always add +1 ? or just keep it as is.
There was a problem hiding this comment.
Or just exclude the information, seems better to return "" than ???:1
Signed-off-by: Iceber Gu <[email protected]>
issue: #5093
It may be inconvenient to have no caller information in the test log when a problem occurs.
output: