Problems with BuildAgents running MacOS 10.13.2 and automation tests using OpenGL windows
Hi,
following situation that we have on our CI system. We have a Teamcity server running on windows with attached build agents running windows, macOS and Linux. The project, that is being build as a c++ project with several automated tests in it. Some of these tests are creating a window with OpenGL context to run some rendering tests. The whole setup was running fine for some time while MacOS was running on 10.11 and 10.12. (mixed setup of 4 Agents). Now, I updated the macOS to the latest High Sierra release (10.13.2). After this update, I experienced that the UnitTests are stuck at the first test case which creates a OpenGL window. During further investigation I found out what the problem is and reproduce the issue. As long, as someone is logged in via a vnc remote session, the tests are not getting stuck and running fine. But, when I lock the buildagent and disconnect the VNC session, the test get stuck again. And even if the test is currently stuck, it starts processing again when I log in via VNC (I don't have to unlock it)
The only workaround that is working right now, is to deactivate the automated locking of the system which makes the system invulnerable (even more than it is with all the password leaks in the latest macOS, but nevertheless ;)).
I played around with almost all settings related to locking and sleeps, but nothing really helped except deactivating the auto lock.
Does anyone experienced a similar problem and have any clue how to solve this issue?
Cheers
Frank
Please sign in to leave a comment.
Hi Frank,
trying to understand the extent of the issue here. If instead of trying to open an OpenGL window you run window-less tests, do they work? Are the tests only being blocked when trying to run window-based code?
Hi Denis,
yes, there is one unit test before which runs without any window-based-code and does not need to initialize a openGL-Context at all. This unit test is working fine.