-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Detect flakes in PR builder e2e runs #27898
Conversation
(Feel free to kick back after WIP) |
@matchstick since you love godep related things: I made changes to vendored stuff here that certainly aren't reproducible, yet the verification test succeeded anyway... |
Need kubernetes/test-infra#204 to actually test this... |
|
||
# For pull jobs, keep a canonical ordering for tools that want to examine | ||
# the output. | ||
echo "aoeu debug: ${gcs_indirect_path}" |
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.
@ixdy this change doesn't seem to be affecting what the PR builder does. Does it run from head and not the PR?
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.
yeah, it always downloads upload-to-gcs.sh from HEAD: https://github.com/kubernetes/test-infra/blob/b12293e6c4a49a968705775b06656d452f6db9e0/jenkins/job-configs/kubernetes-jenkins-pull/global.yaml#L7-L13
I think we discussed changing this to download only if necessary. cc @spxtr
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.
How can I test my changes then?
On Fri, Jun 24, 2016 at 9:26 AM, Jeff Grafton notifications@github.com
wrote:
In hack/jenkins/upload-to-gcs.sh
#27898 (comment)
:@@ -115,11 +121,26 @@ function upload_artifacts_and_build_result() {
echo "Uploading build log"
gsutil -q cp -Z -a "${gcs_acl}" "${WORKSPACE}/build-log.txt" "${gcs_build_path}"
fi
+
For pull jobs, keep a canonical ordering for tools that want to examine
the output.
- echo "aoeu debug: ${gcs_indirect_path}"
yeah, it always downloads upload-to-gcs.sh from HEAD:
https://github.com/kubernetes/test-infra/blob/b12293e6c4a49a968705775b06656d452f6db9e0/jenkins/job-configs/kubernetes-jenkins-pull/global.yaml#L7-L13I think we discussed changing this to download only if necessary. cc
@spxtr https://github.com/spxtr—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kubernetes/pull/27898/files/3f235d57378a8405d3fc05867aebd172af9b4980#r68423708,
or mute the thread
https://github.com/notifications/unsubscribe/AAnglv3AGA4EXUeOlUohlb1Q8g8CudM1ks5qPAU3gaJpZM4I8Noc
.
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.
Once that goes in it should test your changes.
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.
@ixdy ping-- I thought you were making a change to make this possible on friday, but I can't find it now?
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.
by the time I got an LG on that PR it was late Friday, and I didn't want to accidentally break Jenkins over the weekend. I'll merge it now.
@k8s-bot test this please, issue #IGNORE |
@ixdy hm, still didn't seem to work... |
It didn't? Note that because of the way we save the build log, we don't get any output from upload-to-gcs.sh itself. Looking on Jenkins I see
|
@ixdy oh, awesome! thanks! |
@lavalamp |
@k8s-bot test this issue: #IGNORE Testing kubernetes/test-infra#246 |
Awesome, it worked. |
Ginkgo change landed. This is the last piece needed to get automated systems to detect PR e2e flakes. |
GCE e2e build/test passed for commit e91c5d0. |
adding retest-not-required since this just got tested three times in a row |
Automatic merge from submit-queue |
Won't be mergable until onsi/ginkgo#261 is agreed upon and merged.
Tossing a PR here to get the e2e test to run on it.