-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
create make test cached k/k presubmit (optional, always_run: false) #20977
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8f6e66f
to
6941232
Compare
mkdir -p _output/local/go/ | ||
time tar -xzf cache.tar.gz -C _output/local/go | ||
# Run tests as usual | ||
time make test KUBE_RACE=-race KUBE_TIMEOUT=--timeout=240s |
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.
TODO: what timeout do we really want here? This one is observed from GKE's equivalent infra, and is at least lower than the 600s below.
TODO: should KUBE_RACE=-race
be default? In bazel we just had race by default IIRC. Ideally locally I should just make test
and it should do the preferred thing ... I don't know why it isn't default yet though.
Fun fact: Bazel is basically not caching unit tests still even after disabling the run per test bump ...? |
6941232
to
081f19e
Compare
/lgtm yes please! |
@BenTheElder: Updated the
In 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. |
however first presubmit run was 26m48s, investigating |
Ah,
So we can have very fast presubmits, but without |
AFAICT we'd have to patch |
It is however still within a few minutes of the bazel job, and passing. |
#20991 to disable -race so we can get the results with caching, we can flip it back on if we decide it's more important (these jobs are not blocking / monitored yet except by me). |
/cc @spiffxp @liggitt @dims
It's time to ship @Katharine's cache work to presubmit :-)
This is the first step, just adding a job we can manually trigger to sanity check.
Once that's done I intend to make it at minimum
skip_report: true
butalways_run: true
(and stilloptional: true
).See how the current CI jobs are faring:
https://prow.k8s.io/?job=ci-kubernetes*make*
Part of kubernetes/enhancements#2420