Closed ccoverstreet closed 3 years ago
Figured out the issue. In subprocess.Start, GetAvailablePort is called which checks for available ports by attempting to listen on the port. The problem occurs when multiple processes are started in quick succession, as each process doesn't have enough time to claim the port before GetAvailablePort scans it. The solution to this was to add a lock protected map containing the ports already reserved by GetAvailablePort.
Describe the bug When builtin/test is crashed out, the dashboard replaces it's card with the another copy of an installed JMOD.
To Reproduce Steps to reproduce the behavior:
Expected behavior No card is displayed if the JMOD is down.