Denis Magda created IGNITE-1386: ----------------------------------- Summary: IPC semaphores are not released on server endpoint abrupt stop Key: IGNITE-1386 URL: https://issues.apache.org/jira/browse/IGNITE-1386 Project: Ignite Issue Type: Bug Components: general Reporter: Denis Magda Priority: Critical Fix For: ignite-1.5
{{IpcSharedMemoryCrashDetectionSelfTest.testIgfsClientServerInteractionsUponServerKilling}} stops a server endpoint abruptly with 'kill' command and right after that start a new endpoint. The test expects that such a flow will release all previously allocated memory segments and semaphores. In fact, only memory segments are released while semaphores stay in the system. However, the test successfully ends. Steps to reproduce: - check existing semaphores with {{ipcs -s}}; - start the test on Linux or Mac OS; - call {{ipcs -s}} and you will see that semaphores hasn't been released. In addition, TeamCity agents fail a test suite because of this reason from time to time {noformat} [16:14:03][Step 7/7] Failing build because of remaining IPC resources. [16:14:03][Step 7/7] Process exited with code 1 [16:14:03][Step 7/7] Step Check IPC / Clean up (Command Line) failed {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)