Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MathOpt: python_math_opt_solver_test timeout on macOS #4209

@Mizux

Description

@Mizux

Branches/Version

On main or v99bugfix (v9.10 branch)

OS

  • Mac Intel/M1,
  • Python [3.8,3.12]

Protocol:

git checkout main
git pull -r
cmake -S. -Bbuild -DBUILD_PYTHON=ON
cmake --build build -j
(cd build && ctest -R "python_math_opt_solver_test")

Expected:

Like on Linux

Test project /usr/local/google/home/corentinl/work/main/build
    Start 20: python_math_opt_solver_test
1/1 Test #20: python_math_opt_solver_test ......   Passed    0.47 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   0.51 sec

Observed:

Test project /usr/local/google/home/corentinl/work/main/build
    Start 20: python_math_opt_solver_test
# blocking...

Hypotheses

The GIL management is not done correctly (contrary to MPSolver or CP-SAT) making the callback test hang forever...

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions