Investigate intermittent CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper failure in CI

Aperta
#1,923 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@dashorst ci sta già lavorando.

Dal 15/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper failed in CI on the wicket-10.x branch for #1917, a Dependabot PR that only bumps build-helper-maven-plugin from 3.7.0 to 3.8.0. The same bump passed on master (#1909) and wicket-11.x (#1919), so the change itself is an unlikely cause.

Failing run: https://github.com/apache/wicket/actions/runs/43666967893 (job build (25); the build (17) and build (21) jobs were cancelled by fail-fast, not failed on their own)

[ERROR] Tests run: 26, Failures: 1, Errors: 0, Skipped: 0 -- in org.apache.wicket.core.request.mapper.CryptoMapperTest
[ERROR] org.apache.wicket.core.request.mapper.CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not <null>
[ERROR]   CryptoMapperTest.pageInstanceDecryptMultipleCryptoMapper:324 expected: not <null>

To investigate:

  • Whether the test is nondeterministic: random keys or salts, ordering between the two CryptoMapper instances, shared or static state, or a dependency on test execution order. Try to reproduce by running it repeatedly on wicket-10.x with Java 25.
  • Whether it also fails on master and wicket-11.x, and how often it has failed in recent CI history.
  • Whether the CI infrastructure contributes: the Java 25 runner/JDK build, the GitHub Actions setup, or the fail-fast matrix cancelling the other jobs and hiding whether they would pass.

The fix goes on master first and is cherry-picked to the maintenance lines where it applies.

Lingua principale
Java
Stelle
800
Fork
437
Merge medio
21h 36m
PR unite (30g)
167

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

  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 apache/wicket

Tutte le issue di apache/wicket

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.