Bug 2080687 - [rebase v1.24] [sig-network][Feature:Router] tests are failing
Summary: [rebase v1.24] [sig-network][Feature:Router] tests are failing
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Krzysztof Ostrowski
QA Contact: Melvin Joseph
Depends On:
TreeView+ depends on / blocked
Reported: 2022-04-30 22:58 UTC by Abu Kashem
Modified: 2022-08-10 11:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-08-10 11:09:50 UTC
Target Upstream Version:
mmasters: needinfo-

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift origin pull 27100 0 None open Bug 2080687: request prometheus service account token 2022-05-05 12:50:07 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:10:02 UTC

Description Abu Kashem 2022-04-30 22:58:45 UTC
failed tests:
-  [sig-network][Feature:Router] The HAProxy router should expose the profiling endpoints [Skipped:Disconnected] [Suite:openshift/conformance/parallel] 

- [sig-network][Feature:Router] The HAProxy router should expose a health check on the metrics port [Skipped:Disconnected] [Suite:openshift/conformance/parallel] 

- [sig-network][Feature:Router] The HAProxy router should enable openshift-monitoring to pull metrics [Skipped:Disconnected] [Suite:openshift/conformance/parallel]

- [sig-network][Feature:Router] The HAProxy router should expose prometheus metrics for a route [Skipped:Disconnected] [Suite:openshift/conformance/parallel] 

this is the common error

{  fail [github.com/openshift/origin/test/extended/router/metrics.go:89]: Unexpected error:
    <*errors.errorString | 0xc0019c9960>: {
        s: "serviceaccount 'openshift-monitoring/prometheus-k8s' does not contain 'prometheus-k8s-token' secret",
    serviceaccount 'openshift-monitoring/prometheus-k8s' does not contain 'prometheus-k8s-token' secret

job run: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_kubernetes/1248/pull-ci-openshift-kubernetes-master-e2e-aws-fips/1520465065768128512

this is where it's failing: https://github.com/openshift/origin/blob/fc70dccd2a29984e4bc9d0823b473756a025ccb7/test/extended/router/metrics.go#L463-L465

probably due to bound service account token volume

Comment 4 Abu Kashem 2022-05-04 16:20:41 UTC
cc surbania

Comment 5 Miciah Dashiel Butler Masters 2022-05-05 16:23:54 UTC
Sergiusz, I see there is a fix posted, which you have reviewed; should we assign this BZ to you?

Comment 6 Krzysztof Ostrowski 2022-05-05 17:14:11 UTC
A PR is open to fix the issue: https://github.com/openshift/origin/pull/27100

Comment 7 Krzysztof Ostrowski 2022-05-05 17:14:25 UTC
A PR is open to fix the issue: https://github.com/openshift/origin/pull/27100

Comment 8 Krzysztof Ostrowski 2022-05-05 17:15:23 UTC
If you don't mind, I can take it.

Comment 9 Miciah Dashiel Butler Masters 2022-05-06 14:27:28 UTC
Thanks, Krzysztof!  I'm assigning the BZ to you.

Comment 15 errata-xmlrpc 2022-08-10 11:09:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.