Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting timeouts under 10.15 on Travis CI when installing CLI tools #61

Open
geerlingguy opened this issue Jun 15, 2020 · 2 comments
Open

Comments

@geerlingguy
Copy link
Contributor

In one of my playbook's builds on Travis CI, I started getting build errors due to timeouts:

TASK [elliotweiser.osx-command-line-tools : Install Command Line Tools] ********


No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
903Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

This only happens in the xcode11.4 Travis CI build environment (10.15), and doesn't seem to happen on the 10.14 environment.

Could this be a Travis CI misconfiguration, or could it really be taking that long?

@geerlingguy
Copy link
Contributor Author

@elliotweiser
Copy link
Owner

elliotweiser commented Jun 18, 2020

Sometimes it just takes that long. We're at the mercy of the softwareupdate servers.

Considering that the command line tools should already be installed on the Travis CI OS X images, there should be no need to go through these steps. It looks like one of the idempotence checks is failing:

TASK [elliotweiser.osx-command-line-tools : Check the Command Line Tools package metadata] ***
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["pkgutil", "--pkg-info=com.apple.pkg.CLTools_Executables"], "delta": "0:00:00.265464", "end": "2020-06-15 16:06:32.697657", "msg": "non-zero return code", "rc": 1, "start": "2020-06-15 16:06:32.432193", "stderr": "No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.", "stderr_lines": ["No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'."], "stdout": "", "stdout_lines": []}
...ignoring

To me this looks like the main problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants