java: some MathOpt test failed on Alpine
Maintainers usually reply within 1 day
@Mizux is already working on this.
Since Sep 25, 2026.
Assessment
This issue has not been assessed yet.
Description
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
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 2.6k
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 53
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/or-tools
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
CP-SAT: TimeTableEdgeFinding can report false INFEASIBLE for large cumulative scheduling modelsPossibly taken @lperron claimed this today. OpenBug Solver: CP-SAT Solver
google/or-tools#5672 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Python (v10.0-rc.1): Model.restore_assignment() and Assignment.objective() take ownership of C++-owned objects (segfault)Possibly taken @Mizux claimed this today. OpenLang: Python Solver: Routing & CP Solver
google/or-tools#5670 · 1 assignee ·
Maintainers usually reply within 1 day
-
[CP-SAT] Duplicate timer registration in StartDirectSolver when UserTimer aliases WallTimerPossibly taken @lperron claimed this 1 day ago. OpenSolver: CP-SAT Solver
Difficulty 3/5 Half a day Newbie friendliness 85/100
google/or-tools#5659 · 5 comments · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ionut-mihalache/aqua#31 · 1 comment ·
-
LWG
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
needs-kind
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
villagesql/villagesql-server#1702 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/vcpkg-tool#2191 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
harfbuzz/harfbuzz#6966 · 1 comment ·
Maintainers usually reply within 1 day