-
Notifications
You must be signed in to change notification settings - Fork 205
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: gpu: add a basic tensorflow test #1374
Conversation
b833633
to
504f09e
Compare
Codecov Report
@@ Coverage Diff @@
## main #1374 +/- ##
=======================================
Coverage 50.04% 50.04%
=======================================
Files 43 43
Lines 4884 4884
=======================================
Hits 2444 2444
Misses 2301 2301
Partials 139 139 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This is stuck until I can get access to the bmaas machine to debug the failure. |
883d612
to
b638697
Compare
5eaf78d
to
7616ff0
Compare
b61409e
to
ed09577
Compare
1645929
to
cf90a6a
Compare
Please review. |
test/e2e/gpu/gpu.go
Outdated
ginkgo.By("checking log output") | ||
log, err := e2epod.GetPodLogs(ctx, f.ClientSet, f.Namespace.Name, tfPodName, containerName) | ||
|
||
framework.Logf("logs: %s", log) | ||
|
||
if err != nil { | ||
framework.Failf("unable to get log from pod: %v", err) | ||
} | ||
|
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.
@hj-johannes-lee can you comment on the logging part
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.
made a separate review because the previous line should be also changed IMO.
test/e2e/gpu/gpu.go
Outdated
e2epod.NewPodClient(f).WaitForSuccess(ctx, tfPodName, 300*time.Second) | ||
|
||
ginkgo.By("checking log output") | ||
log, err := e2epod.GetPodLogs(ctx, f.ClientSet, f.Namespace.Name, tfPodName, containerName) | ||
|
||
framework.Logf("logs: %s", log) | ||
|
||
if err != nil { | ||
framework.Failf("unable to get log from pod: %v", err) |
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.
err := e2epod.WaitForPodSuccessInNamespaceTimeout(ctx, f.ClientSet, tfPodName, f.Namespace.Name, 300*time.Second)
gomega.Expect(err).To(gomega.BeNil(), utils.GetPodLogs(ctx, f, tfPodName, containerName))
Signed-off-by: Tuomas Katila <[email protected]>
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.
looks nice
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! :)
No description provided.