Bug 2092124

Summary: MCO e2e tests are failing with "No token found in openshift-monitoring secrets"
Product: OpenShift Container Platform Reporter: Yu Qi Zhang <jerzhang>
Component: Machine Config OperatorAssignee: MCO Bug Bot <mco-triage>
Machine Config Operator sub component: Machine Config Operator QA Contact: Rio Liu <rioliu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: high CC: mkrejci, rioliu
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2091730 Environment:
Last Closed: 2022-05-31 21:11:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2091730    
Bug Blocks:    

Description Yu Qi Zhang 2022-05-31 21:08:05 UTC
Cloned because the bugzilla bot doesn't like the original BZ for some reason, so trying with this new one

+++ This bug was initially created as a clone of Bug #2091730 +++

Around May 26 the MCO e2e-gcp-op tests started failing with 

=== RUN   TestMCCPausedKubeletCAAlert
    mcc_test.go:30: Pausing pool
    mcc_test.go:35: Paused
    mcc_test.go:38: Patching certificate
    mcc_test.go:41: Patched
    mcc_test.go:44: Waiting for rendered config to get stuck behind pause
    mcc_test.go:47: Certificate stuck behind paused (as expected)
    mcc_test.go:50: Getting monitoring token
    mcc_test.go:52: 
        	Error Trace:	mcc_test.go:52
        	Error:      	Expected nil, but got: &errors.errorString{s:"No token found in openshift-monitoring secrets"}
        	Test:       	TestMCCPausedKubeletCAAlert
--- FAIL: TestMCCPausedKubeletCAAlert (20.25s)
FAIL
FAIL	github.com/openshift/machine-config-operator/test/e2e	1258.101s
FAIL

In a pretty consistent fashion, see

https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-machine-config-operator-master-e2e-gcp-op

example: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/3166/pull-ci-openshift-machine-config-operator-master-e2e-gcp-op/1531149248697995264

Comment 1 Yu Qi Zhang 2022-05-31 21:11:03 UTC
Nope this didn't work either

*** This bug has been marked as a duplicate of bug 2091730 ***