You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky: OpenStudioCLI.test_measure_manager and its Classic variant race for the same port #5701
OpenStudioCLI.test_measure_manager and OpenStudioCLI.Classic.test_measure_manager (src/cli/CMakeLists.txt) each start a measure-manager server. get_open_port_for_serving() in src/cli/test/test_measure_manager.py checks that a port is free, closes the socket, then launches the server. When CTest runs both tests in parallel, both can pick the same port, and one test then talks to the other's server.
Seen in Full Build run 42922295432 (Ubuntu 24.04 x64, PR #5700): both tests failed, the log shows port=8090 is already in use, and the assertions got the other CLI's responses (a 200 where the C++ CLI returns 400, and a different error body).
Fix: give both tests a shared RESOURCE_LOCK so CTest never runs them at the same time, the same way the file already locks the compact_osw tests.
Activity