Skip to content

Add e2e test for /metrics endpoint#320

Closed
benjaminapetersen wants to merge 24 commits intoopenshift:release-4.2from
benjaminapetersen:backport/metrics-test
Closed

Add e2e test for /metrics endpoint#320
benjaminapetersen wants to merge 24 commits intoopenshift:release-4.2from
benjaminapetersen:backport/metrics-test

Conversation

@benjaminapetersen
Copy link
Copy Markdown
Contributor

Cherry pick of the e2e test commit for metrics from: #299

/assign @jhadvig
/cc @spadgett

jhadvig and others added 24 commits September 25, 2019 14:03
Update operator for project link API changes
It's possible that this process would run as PID 1 in a PID namespace,
and PID 1 has special handling [1]:

  Only signals for which the "init" process has established a signal
  handler can be sent to the "init" process by other members of the
  PID namespace.

That's unlikely to be important for termination, because CRI-O will be
TERMing the process from outside the pod's PID namespace.  With the
coming PID-namespace sharing [2], you could set this container process
up to not be PID 1 in any namespace.

But regardless, gracefully exiting when we're asked to is polite
behavior.  In the future, we might want to add something here to delay
exiting until we have finished serving any ongoing downloads (or at
least give them a fair shot at finishing), but clients can always
retry any downloads that fail because our pod was killed, so I'm not
worrying about that now.

[1]: http://man7.org/linux/man-pages/man7/pid_namespaces.7.html
[2]: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
…s/migrate

Remove extensions CRDs to migrate to openshift-config-operator
manifests/07-downloads-deployment: Catch and exit on TERM
…r-detach

Make status handlers standalone helper funcs
…ew-console-operator-refactor

Reorganize args to NewConsoleOperator func
…xtensions/return-home

Temporarily return extension CRDs from cluster-config-operator to our Manifests dir
Add ConsoleCliDownloads controller
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: benjaminapetersen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 22, 2019
@benjaminapetersen benjaminapetersen changed the base branch from master to release-4.2 October 22, 2019 16:12
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@benjaminapetersen: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

Add e2e test for /metrics endpoint

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.

@benjaminapetersen
Copy link
Copy Markdown
Contributor Author

Hmm. Cherry pick messing'

@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 22, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Oct 22, 2019

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

Test name Commit Details Rerun command
ci/prow/e2e-aws-operator a4b14e0 link /test e2e-aws-operator
ci/prow/e2e-gcp a4b14e0 link /test e2e-gcp

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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.

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. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants