CI: nokogiri Windows precompiled leg fails on main: libiconv download mirror has an expired TLS certificate

Aperta
#2,268 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
ci-cd, devtools

Direzione di ricerca

Start with the nokogiri patch compatibility workflow and inspect the Windows precompiled job, especially how it fetches or caches libiconv-1.18.tar.gz for the patched gem rebuild. Re-run the failing job to check whether the TLS failure persists; if it does, make the leg use a reliable archive source or cache. Done when the Windows leg passes without skipping the rebuild.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

agent:triaged ci-janitor priority:p1

[agent] PR shepherd: the nokogiri patch compatibility workflow is red on main at cfc870f5 (run 45714112131, attempt 1). It passed on the previous main commit e98feb78, and the one commit between them (#2252, vex --grype-config) does not touch the gem path.

Failing job: 3.4 / nokogiri 1.18.10 precompiled / windows-latest, step "apply applies it".

Cause (external): the precompiled-gem leg rebuilds the native extension from the patched sources, and nokogiri's extconf.rb downloads libiconv-1.18.tar.gz through mini_portile2. All three download attempts failed TLS verification:

SSL_connect returned=1 errno=0 peeraddr=67.215.246.122:443 state=error: certificate verify failed (certificate has expired)
*** extconf.rb failed ***

so apply reported native_extension_build_failed and exited 1. socket-patch behaved as designed (nothing of the installed gem changed, and the error names what failed).

What to decide:

  • Re-run the job once to see whether the mirror's certificate is fixed or the failure was one bad mirror in the rotation.
  • If it persists, make the leg independent of that mirror: cache or pre-seed ports/archives/libiconv-1.18.tar.gz for the Windows leg, or point the build at a mirror with a valid certificate. Don't drop or skip the leg.

The workflow is not a required check (ci-ok and clippy are), so it doesn't block the merge queue, but it hides real regressions in the precompiled-gem rebuild path while it is red.


Generated by Claude Code

Lingua principale
Rust
Stelle
9
Fork
2
Merge medio
1g 8h
PR unite (30g)
313

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SocketDev/socket-patch

Tutte le issue di SocketDev/socket-patch

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.