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

[WIP] Support per-path deadlines initialized from v1.Revision.Spec.TimeoutSeconds. #8203

Closed

Conversation

richterdavid
Copy link

@richterdavid richterdavid commented Jun 4, 2020

Fixes #2201

Proposed Changes

  • Pass v1.Revision.Spec.TimeoutSeconds through as the deadline for request paths
  • If several revisions contribute to the same path, use the maximum of these

Release Note

Support per-path deadlines initialized from v1.Revision.Spec.TimeoutSeconds.

@knative-prow-robot knative-prow-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 4, 2020
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richterdavid: 2 warnings.

In response to this:

Fixes #2201

Proposed Changes

  • Pass v1.Revision.Spec.TimeoutSeconds through as the deadline for request paths
  • Pass config.Defaults.RevisionTimeoutSeconds for the default deadline and minimum deadline
  • If several revisions contribute to the same path, use the maximum of these

Release Note

Support per-path deadlines initialized from config.Defaults.RevisionTimeoutSeconds and v1.Revision.Spec.TimeoutSeconds.

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.

pkg/reconciler/route/resources/ingress.go Outdated Show resolved Hide resolved
pkg/reconciler/route/resources/ingress.go Outdated Show resolved Hide resolved
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 4, 2020
@knative-prow-robot knative-prow-robot added area/API API objects and controllers area/networking labels Jun 4, 2020
@richterdavid richterdavid marked this pull request as draft June 4, 2020 16:51
@richterdavid
Copy link
Author

/test pull-knative-serving-unit-tests

@richterdavid
Copy link
Author

/lint
/test all

@richterdavid
Copy link
Author

/test

@knative-prow-robot
Copy link
Contributor

@richterdavid: The /test command needs one or more targets.
The following commands are available to trigger jobs:

  • /test pull-knative-serving-build-tests
  • /test pull-knative-serving-unit-tests
  • /test pull-knative-serving-integration-tests
  • /test pull-knative-serving-upgrade-tests
  • /test pull-knative-serving-autotls-tests
  • /test pull-knative-serving-go-coverage
  • /test pull-knative-serving-go-coverage-dev
  • /test pull-knative-serving-istio-1.5-mesh
  • /test pull-knative-serving-istio-1.5-no-mesh
  • /test pull-knative-serving-istio-1.4-mesh
  • /test pull-knative-serving-istio-1.4-no-mesh
  • /test pull-knative-serving-gloo-0.17.1
  • /test pull-knative-serving-kourier-stable
  • /test pull-knative-serving-contour-latest
  • /test pull-knative-serving-ambassador-latest
  • /test pull-knative-serving-https

Use /test all to run the following jobs:

  • pull-knative-serving-build-tests
  • pull-knative-serving-unit-tests
  • pull-knative-serving-integration-tests
  • pull-knative-serving-upgrade-tests
  • pull-knative-serving-autotls-tests
  • pull-knative-serving-go-coverage

In response to this:

/test

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.

@richterdavid
Copy link
Author

/test all

@richterdavid
Copy link
Author

/test pull-knative-serving-unit-tests

@knative-prow-robot knative-prow-robot added the area/test-and-release It flags unit/e2e/conformance/perf test issues for product features label Jun 19, 2020
@richterdavid
Copy link
Author

/test pull-knative-serving-https

@richterdavid
Copy link
Author

/test pull-knative-serving-https

@richterdavid
Copy link
Author

See discussion of this PR in slack:
https://knative.slack.com/archives/CA9RHBGJX/p1592591518025100

@richterdavid
Copy link
Author

/test all

@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/route/traffic/traffic.go 93.9% 94.1% 0.2

@knative-test-reporter-robot

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-integration-tests 0/3

Failed non-flaky tests preventing automatic retry of pull-knative-serving-integration-tests:

test/conformance/api/v1.TestRevisionTimeout
test/conformance/api/v1alpha1.TestRevisionTimeout
test/conformance/api/v1beta1.TestRevisionTimeout

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: richterdavid
To complete the pull request process, please assign dprotaso
You can assign the PR to them by writing /assign @dprotaso in a comment when ready.

The full list of commands accepted by this bot can be found 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

@richterdavid
Copy link
Author

This is blocked on knative/networking#22 being submitted and vendored in, to address feedback on Slack from @markusthoemmes

@knative-prow-robot
Copy link
Contributor

@richterdavid: PR needs rebase.

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.

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 10, 2020
@markusthoemmes
Copy link
Contributor

@richterdavid the relevant PR seems to have been merged. Any news on this one?

@richterdavid
Copy link
Author

richterdavid commented Aug 24, 2020 via email

@knative-prow-robot
Copy link
Contributor

@richterdavid: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-knative-serving-integration-tests 96154d3 link /test pull-knative-serving-integration-tests
pull-knative-serving-kourier-stable 96154d3 link /test pull-knative-serving-kourier-stable
pull-knative-serving-contour-latest 96154d3 link /test pull-knative-serving-contour-latest
pull-knative-serving-istio-1.4-no-mesh 96154d3 link /test pull-knative-serving-istio-1.4-no-mesh
pull-knative-serving-istio-1.5-no-mesh 96154d3 link /test pull-knative-serving-istio-1.5-no-mesh
pull-knative-serving-https 96154d3 link /test pull-knative-serving-https
pull-knative-serving-gloo-0.17.1 96154d3 link /test pull-knative-serving-gloo-0.17.1
pull-knative-serving-istio-1.4-mesh 96154d3 link /test pull-knative-serving-istio-1.4-mesh
pull-knative-serving-istio-1.5-mesh 96154d3 link /test pull-knative-serving-istio-1.5-mesh
pull-knative-serving-ambassador-latest 96154d3 link /test pull-knative-serving-ambassador-latest
pull-knative-serving-contour-tls 525b400 link /test pull-knative-serving-contour-tls

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@richterdavid
Copy link
Author

/close

@knative-prow-robot
Copy link
Contributor

@richterdavid: Closed this PR.

In response to this:

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API API objects and controllers area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features cla: yes Indicates the PR's author has signed the CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expose timeout and retries configurations to users in Route
8 participants