-
Notifications
You must be signed in to change notification settings - Fork 114
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
e2e: Debug logging should be visible in multus pod
flake
#678
e2e: Debug logging should be visible in multus pod
flake
#678
Conversation
Use `Pod.Status.StartTime` field to infer the timestamp lower bound of interested log lines. This field is populated by the kubelet, so it uses the same clock as the multus pod logs. Prior to this commit, `Meta.CreationTimestamp` field was used. That field is populated by the API server, which can have a different clock than the kubelet, as they are likely to run on different nodes. Following example comes from a CI run: ``` { "metadata": { "name": "testpod-68rc4", "generateName": "testpod-", "namespace": "sriov-conformance-testing", "creationTimestamp": "2024-04-08T10:44:45Z", ... "status": { ... "startTime": "2024-04-08T10:44:44Z", } ``` Signed-off-by: Andrea Panattoni <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 8612554667Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zeeke !
@Eoghan1232 @e0ne please take a look for this quick fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ykulazhenkov merging this one
Use
Pod.Status.StartTime
field to infer the timestamp lower bound of interested log lines. This field is populated by the kubelet, so it uses the same clock as themultus pod logs.
Prior to this commit,
Meta.CreationTimestamp
field was used. That field is populatedby the API server, which can have a different clock than the kubelet, as they are likely
to run on different nodes.
Following example comes from a CI run:
2024-04-08T10:44:44Z
: