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

Host-Agent bootstrap flow tests are flaky #553

Closed
dharmjit opened this issue May 20, 2022 · 0 comments · Fixed by #554
Closed

Host-Agent bootstrap flow tests are flaky #553

dharmjit opened this issue May 20, 2022 · 0 comments · Fixed by #554
Milestone

Comments

@dharmjit
Copy link
Contributor

One of the Host-Agent tests is flaky. It seems like CSRs are not getting cleaned up.

Failure [17.727 seconds]
Agent When the host agent is executed with SecureAccess feature flag [It] should create kubeconfig if the csr is approved 
/home/kokoni/forks/cluster-api-provider-bringyourownhost/agent/host_agent_test.go:688

  Timed out after 4.000s.
  Expected
      <bool>: false
  to be true

Host-Agent Logs

######################Start: Content of /tmp/agent-integration.log##################
\I0520 04:20:28.761840      56 feature_gate.go:245] feature gates: &{map[SecureAccess:true]}
I0520 04:20:29.368064      56 main.go:108]  "msg"="secure access enabled, waiting for host to be registered by ByoAdmission Controller"  
I0520 04:20:29.972169      56 logr.go:249] controller-runtime/metrics "msg"="Metrics server is starting to listen"  "addr"=":8080"
`I0520 04:20:30.047663      56 installer.go:129]  "msg"="Detected"  "OS"="Ubuntu_20.04.4_x86-64"
]I0520 04:20:30.047909      56 main.go:252]  "msg"="creating host csr"  "name"="byoh-csr-rat"
SI0520 04:20:30.053919      56 csr.go:77] csr for this node already exists, reusing
E0520 04:20:30.058766      56 main.go:237]  "msg"="kubeconfig creation failed" "error"="retrieved csr is not compatible: error validating signature new CSR against old key: x509: ECDSA verification failure"
@dharmjit dharmjit changed the title Host-Agent Bootstrap flow tests are flaky Host-Agent bootstrap flow tests are flaky May 20, 2022
@anusha94 anusha94 added this to the v0.3.0 milestone Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants