[Bug]: FAIL: TestClient_GetServerTLSConfig_renew
I maintainer di solito rispondono entro 1 giorno
@hslatman ci sta già lavorando.
Dal 28/10/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Steps to Reproduce
Hi! We got this self-check error when building on a riscv64 machine. I think this is not related to the arch but that this host is a bit slower, causing the time comparisons of cert validity to take longer time... Any ideas how to solve this?
https://ci.debian.net/packages/g/golang-github-smallstep-certificates/testing/riscv64/65382505/
Your Environment
- OS - Debian
step-caVersion - 0.28.4
Expected Behavior
PASS
Actual Behavior
2624s === RUN TestClient_GetServerTLSConfig_renew
2624s 2025/10/22 09:34:10 Building new tls configuration using step-ca x509 Signer Interface
2624s === RUN TestClient_GetServerTLSConfig_renew/with_transport
2624s === RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:38487
2624s === RUN TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:41513
2624s === RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig
2624s === RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:38487
2624s === RUN TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:41513
2624s === RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert
2624s === RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:38487/no-cert
2624s === RUN TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:41513/no-cert
2624s 2025/10/22 09:34:16 http: TLS handshake error from 127.0.0.1:44032: tls: client didn't provide a certificate
2624s === RUN TestClient_GetServerTLSConfig_renew/fail_with_default
2624s === RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:38487/no-cert
2624s 2025/10/22 09:34:16 http: TLS handshake error from 127.0.0.1:60472: remote error: tls: bad certificate
2624s === RUN TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:41513/no-cert
2624s 2025/10/22 09:34:16 http: TLS handshake error from 127.0.0.1:44040: remote error: tls: bad certificate
2624s 2025/10/22 09:34:16 Sleeping for 5s ...
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:38487
2624s 2025/10/22 09:34:21 http: TLS handshake error from 127.0.0.1:60480: remote error: tls: bad certificate
2624s tls_test.go:362: http.Client.Get() error = Get "https://127.0.0.1:38487": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-10-22T09:34:21Z is after 2025-10-22T09:34:21Z
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:41513
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:38487
2624s 2025/10/22 09:34:21 http: TLS handshake error from 127.0.0.1:60492: remote error: tls: bad certificate
2624s tls_test.go:362: http.Client.Get() error = Get "https://127.0.0.1:38487": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-10-22T09:34:21Z is after 2025-10-22T09:34:21Z
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:41513
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:38487/no-cert
2624s tls_test.go:362: http.Client.Get() error = Get "https://127.0.0.1:38487/no-cert": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-10-22T09:34:22Z is after 2025-10-22T09:34:21Z
2624s 2025/10/22 09:34:22 http: TLS handshake error from 127.0.0.1:60502: remote error: tls: bad certificate
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:41513/no-cert
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:38487/no-cert
2624s 2025/10/22 09:34:22 http: TLS handshake error from 127.0.0.1:44066: remote error: tls: bad certificate
2624s === RUN TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:41513/no-cert
2624s 2025/10/22 09:34:22 http: TLS handshake error from 127.0.0.1:60512: remote error: tls: bad certificate
2624s 2025/10/22 09:34:22 http: TLS handshake error from 127.0.0.1:44074: read tcp 127.0.0.1:41513->127.0.0.1:44074: use of closed network connection
2624s --- FAIL: TestClient_GetServerTLSConfig_renew (11.53s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_transport (0.14s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:38487 (0.08s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_transport/https://127.0.0.1:41513 (0.06s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig (0.18s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:38487 (0.08s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_tlsConfig/https://127.0.0.1:41513 (0.10s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert (0.14s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:38487/no-cert (0.08s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/with_no_ClientCert/https://127.0.0.1:41513/no-cert (0.06s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default (0.09s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:38487/no-cert (0.03s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/fail_with_default/https://127.0.0.1:41513/no-cert (0.05s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_transport (0.18s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:38487 (0.04s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_transport/https://127.0.0.1:41513 (0.14s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig (0.13s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:38487 (0.03s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_tlsConfig/https://127.0.0.1:41513 (0.10s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert (0.08s)
2624s --- FAIL: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:38487/no-cert (0.04s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_with_no_ClientCert/https://127.0.0.1:41513/no-cert (0.03s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default (0.12s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:38487/no-cert (0.04s)
2624s --- PASS: TestClient_GetServerTLSConfig_renew/renewed_fail_with_default/https://127.0.0.1:41513/no-cert (0.08s)
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
- Lingua principale
- Go
- Stelle
- 8.9k
- Fork
- 599
- Merge medio
- 21h 20m
- PR unite (30g)
- 15
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di smallstep/certificates
-
bug needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
smallstep/certificates#2863 ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
smallstep/certificates#2788 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
smallstep/certificates#2730 · 1 commento · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
smallstep/certificates#2860 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Tokens fail validation after the identity provider rotates its signing key until the JWKS cache expiresForse già presa @APWHY l’ha presa 100 giorni fa. Apertabug needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
smallstep/certificates#2831 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di smallstep/certificates
Issue simili
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Windows系统上,希望复制路径增加 Unix 格式Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
go good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Azure/prometheus-collector#1828 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni