java: some MathOpt test failed on Alpine

Aperta
#5,429 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Mizux ci sta già lavorando.

Dal 25/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Bug Docker Lang: Java Solver: MathOpt

Few tests are failing on Alpine (JVM crash)

#12 914.9 The following tests FAILED:
#12 914.9 	317 - java_mathopt_JniSolverTest (Failed)
#12 914.9 	331 - java_mathopt_ScopedCppSolveCallbackTest (Failed)
#12 914.9 	336 - java_mathopt_SolveTest (Failed)

ref: https://github.com/google/or-tools/actions/runs/36053947868/job/107816694714

need to investigate the JVM version use, swig version

#12 415.5 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.0:test (default-test) on project solvetest: 
#12 415.5 [ERROR] 
#12 415.5 [ERROR] Please refer to /home/project/build/java/mathopt/SolveTest/target/surefire-reports for the individual test results.
#12 415.5 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
#12 415.5 [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
#12 415.5 [ERROR] Command was /bin/sh -c cd '/home/project/build/java/mathopt/SolveTest' && '/usr/lib/jvm/java-21-openjdk/bin/java' '-jar' '/home/project/build/java/mathopt/SolveTest/target/surefire/surefirebooter-20260924214819816_3.jar' '/home/project/build/java/mathopt/SolveTest/target/surefire' '2026-09-24T21-48-19_709-jvmRun1' 'surefire-20260924214819816_1tmp' 'surefire_0-20260924214819816_2tmp'
#12 415.5 [ERROR] Error occurred in starting fork, check output in log
#12 415.5 [ERROR] Process Exit Code: 134
#12 415.5 [ERROR] Crashed tests:
#12 415.5 [ERROR] com.google.ortools.mathopt.SolveTest
#12 415.5 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
#12 415.5 [ERROR] Command was /bin/sh -c cd '/home/project/build/java/mathopt/SolveTest' && '/usr/lib/jvm/java-21-openjdk/bin/java' '-jar' '/home/project/build/java/mathopt/SolveTest/target/surefire/surefirebooter-20260924214819816_3.jar' '/home/project/build/java/mathopt/SolveTest/target/surefire' '2026-09-24T21-48-19_709-jvmRun1' 'surefire-20260924214819816_1tmp' 'surefire_0-20260924214819816_2tmp'
#12 415.5 [ERROR] Error occurred in starting fork, check output in log
#12 415.5 [ERROR] Process Exit Code: 134
#12 415.5 [ERROR] Crashed tests:
#12 415.5 [ERROR] com.google.ortools.mathopt.SolveTest
Lingua principale
C++
Stelle
14.5k
Fork
2.6k
Merge medio
9h 43m
PR unite (30g)
53

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 google/or-tools

Tutte le issue di google/or-tools

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.