Bug 1764313: 4.3 console_url is no longer reported on metrics endpoint (fix, with e2e test)#299
Conversation
Is this due to the missing operator/operand implementation ? |
|
I'm not really sure. I'm assuming we are running the tests as |
92c8df4 to
112ee93
Compare
|
/cherrypick release-4.2 |
|
@benjaminapetersen: once the present PR merges, I will cherry-pick it on top of release-4.2 in a new PR and assign it to you. DetailsIn 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. |
|
Ah, that is unfortunate as I know the |
|
/retest |
|
At present, this is expected for 4.3/master: Working on a fix. |
jhadvig
left a comment
There was a problem hiding this comment.
Couple of minor comments. The test itself looks good 👍
I see that its failing on the:
metrics_test.go:62: did not find console_url
can you check if the response is valid and the console_url is missing or there is an issue with the route ?
112ee93 to
9b38c92
Compare
|
@benjaminapetersen: This pull request references Bugzilla bug 1764313, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
/hold Now just needs PR to fix the missing |
|
@benjaminapetersen: This pull request references Bugzilla bug 1764313, which is valid. DetailsIn 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. |
|
/retest
|
9cf0867 to
bcc338d
Compare
|
/retest |
|
/retest
|
|
|
||
| // need to add the CAData, the kubeconfig has router certs | ||
| // that are missing from the system trust roots | ||
| rootCAs.AppendCertsFromPEM(config.CAData) |
jhadvig
left a comment
There was a problem hiding this comment.
@benjaminapetersen tests are passing, lets squash and remove the additional debugging prints 👍 so we can merge
|
+1 sounds good! |
- Use cert based auth for client in metrics test
d1b9ecd to
656a8b0
Compare
|
@jhadvig squashed into 3 commits:
Backport will simply require a cherry pick of 3 commits:
I will create a branch for the backport to 4.1 once this merges and we verify our 4.3 metrics are again happy (backport will then require the backport for telemeter as well) |
|
@benjaminapetersen: The following test failed, say
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. DetailsInstructions 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. |
|
/retest almost |
|
@jhadvig looks like we are good to merge! |
|
@spadgett care to tag? Then we can (finally) get the 4.1 backport moving. |
| // alternatively: | ||
| // oc exec -it console-operator-<pod-id> /bin/bash | ||
| // curl --insecure -H "Authorization: Bearer <token> https://localhost:8443/metrics | grep console_url | ||
| func TestMetricsEndpoint(t *testing.T) { |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benjaminapetersen, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
|
@benjaminapetersen: All pull requests linked via external trackers have merged. Bugzilla bug 1764313 has been moved to the MODIFIED state. DetailsIn 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. |
|
@benjaminapetersen: #299 failed to apply on top of branch "release-4.2": DetailsIn 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. |
|
lol forgot there was a hold on this 😄 |
An e2e test to validate that the
/metricsendpoint on theoperatorresponds with an expected output.