This was likely only noticed now due to issue 863397, where these bots were re-imaged to 10.12.6. Looks like the image that was used didn't have XCode installed.
XCode was installed on these bots as part of https://crbug.com/863397, however, Bev has pointed out that most chromium-swarm bots do not require XCode to be installed anymore. John, do you happen to know if it's possible to just download it during build from some GS bucket if missing?
I'll work on issue 887559 (blocking this issue) to make this easier to setup.
FWIW, https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Mac64%20-%20debug/20267 installed Xcode on build106-m9 and apparently accepted the license:
chrome-bot@build106-m9:(Mac 10.12.6):~$ cat /Library/Preferences/com.apple.dt.Xcode.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDELastGMLicenseAgreedTo</key>
<string>EA1421</string>
<key>IDEXcodeVersionForAgreedToGMLicense</key>
<string>8.3.2</string>
</dict>
</plist>
However, the failed step is still attempting to search for a system Xcode:
ERROR at //build/config/mac/mac_sdk.gni:68:5: Script returned non-zero exit code.
exec_script("//build/mac/find_sdk.py", find_sdk_args, "list lines")
This script should no longer be used. I believe, it will be avoided if the recipe sets DEVELOPER_DIR to the installed Xcode, or runs `xcode-select -s /path/to/Xcode.app`. In other words, the hermetic installation worked, but the subsequent steps didn't know where to look for the installed Xcode.
CL: https://crrev.com/c/1238492
This should switch V8 bots from using system XCode to hermetic XCode and thus making those builds work on machines that do not have XCode pre-installed.
Comment 1 by bugdroid1@chromium.org
, Jul 13