crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 242 forks source link

Certificate rotation test failed #4337

Open lilyLuLiu opened 2 months ago

lilyLuLiu commented 2 months ago

CRC 2.41.0 release test, the Certificate rotation test failed. (only tested on RHEL)

level=debug msg="retry loop: attempt 29" 06:17:38.421500 stderr: level=debug msg="Running SSH command: timeout 5s oc get csr --context admin --cluster crc --kubeconfig /opt/kubeconfig" 06:17:38.544459 stderr: level=debug msg="SSH command results: err: Process exited with status 1, output: " 06:17:38.544489 stderr: level=debug msg="E0928 06:17:38.155424 9910 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\nE0928 06:17:38.158515 9910 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\nE0928 06:17:38.161173 9910 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\nE0928 06:17:38.164017 9910 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\nE0928 06:17:38.166502 9910 memcache.go:265] couldn't get current server API group list: Get \"https://api.crc.testing:6443/api?timeout=32s\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\nUnable to connect to the server: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-09-28T06:17:38Z is after 2025-08-19T06:02:04Z\n" 06:17:38.544501 stderr: level=debug msg="error: Temporary error: ssh command error:\ncommand : timeout 5s oc get csr --context admin --cluster crc --kubeconfig /opt/kubeconfig\nerr : Process exited with status 1\n - sleeping 1s"

log link: https://crcqe-asia.s3.ap-south-1.amazonaws.com/release/2.41.0/ocp/rhel-x86-9.4/qe-results/e2e_2024-8-28_05-41-04.log