Skip to content
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

Disable the cache mutation detector. #9201

Merged
merged 1 commit into from
Aug 29, 2018

Conversation

Katharine
Copy link
Member

ENABLE_CACHE_MUTATION_DETECTOR has been set for over a year. However, a week after it was set, a bug in configure-helper.sh was introduced causing its value to be ignored. Fixing the bug such that it can run makes the tests time out. Since an hour is already a long time for presubmit tests, let's not make them even longer and instead just stop pretending that this works.

Note that this will have no effect due to a another bug in the default configuration, which sets ENABLE_CACHE_MUTATION_DETECTOR=false, which is a non-empty string and will therefore cause it to be enabled anyway regardless of what is set here.

Both of the above bugs are fixed in kubernetes/kubernetes#67919, but that cannot pass tests as long as this is enabled here due to the aforementioned timeouts.

(There is some degree of conjecture in this, since I do not know of a good way to run these tests with this flag changed other than by actually doing it.)

`ENABLE_CACHE_MUTATION_DETECTOR` has been set for over a year, but due
to a bug in the script parsing it, has not actually run. Fixing the bug
such that it can run makes the tests time out. Since an hour is already
a long time for presubmit tests, let's not make them longer and instead
just stop enabling this.

See kubernetes/kubernetes#67919 for more context.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 29, 2018
@krzyzacy
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 29, 2018
@krzyzacy
Copy link
Member

will this affect other ongoing PRs?

@Katharine
Copy link
Member Author

In principle, this is a no-op for all PRs other than kubernetes/kubernetes#67919: the current configuration is such that this is effectively ignored due to the above bugs.

In practice, I could be wrong, in which case this check does exist and would be disabled for all PRs.

@krzyzacy
Copy link
Member

/lgtm
👀
cc @cjwagner as oncall ^^

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 29, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Katharine, krzyzacy

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 29, 2018
@k8s-ci-robot k8s-ci-robot merged commit b50a6d5 into kubernetes:master Aug 29, 2018
@BenTheElder
Copy link
Member

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants