Jenkins error - Remote call on xxxxxxxx failed
Check your Java version, as in this ticket:
Seeing the same thing on Mac OS X High Sierra (10.13.1) running Java 1.9 (build 9_181):
$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
This happens whenever the shell is used to execute other processes, such as fastlane to build iOS apps, which in turn calls xcode.
I downgraded Java to 1.8u144 and was able to build.
Java 9 compatibility with Jenkins is followed in JENKINS-40689.
I had the same issue recently. But in my case, I saw that this was happening only in a specific Slave. I only rebooted the slave and it was fixed:
$ sudo reboot