Xcode (8.3+) CI server unresponsive, multiple 100% CPU node processes

Originator:kevin
Number:rdar://31792343 Date Originated:2017-04-24
Status:Closed Resolved:(duplicate)
Product:Server Product Version:5.3
Classification: Reproducible:Always
 
Summary:
Xcode 8.3+ Continuous Integration on macOS Server (5.3) has become all but unusable. Within a few minutes of a restart, there are 1-2 100% node processes owned by the _xcsd user.

Remote connections via the built-in Xcode bot views rarely succeed, and even then they take a long time and show out-of-date or incomplete data about bots and integrations. Remote and local instances of Server.app also rarely successfully load the Xcode service panel.

Steps to Reproduce:
Enable Xcode service with Xcode 8.3.2 on Server.app 5.3.

Expected Results:
Integrations should succeed, Server.app and Xcode should be able to interact with the continuous integration functionality. No excessive CPU use while idle.

Actual Results:
Integrations rarely succeed, Server.app and Xcode cannot interact with the continuous integration functionality. Multiple cores are completely used by _xcsd processes to the point of thermal throttling in system console logs.

Version:
Server.app 5.3, Xcode 8.3.2

Notes:


Configuration:
Late 2014 Mac Mini, macOS Sierra 10.12.4 (system report attached)

Attachments:
'd20170424-78884-1u2xguh.xcsdiagnose.tgz' and 'Mac mini.spx' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!