-
Notifications
You must be signed in to change notification settings - Fork 1k
Tests on macOS timeout on 10.12+ #1428
Comments
So, after digging into today I have some insight (but not much). Here are some of my attempts to understand this problem with Travis:
So, in Travis, the issue is TestUnreachableSource locking. But locally, I have a completely separate (but similar) locking issue when I've uploaded the stack traces for both the local and Travis panic here: https://gist.github.com/arbourd/e0d585d997c2a42358cb5a61f73feb14 Both panics have a similar call stack:
So, looks like the Cmd waits forever in |
Okay, I think I understand why the commands are hanging. My local issue appears to be attempting to call:
On Travis its similar: |
Looks like we missed a spot on our latest passthrough to turn off interactive prompts: #1357. |
p.s. Nice sleuthing! 👍 |
The |
TravisCI recently updated their default image for macOS, which causes the build to hang and time out.
The source of the timeout is coming from gps and it is most likely related to handling external VCS. My initial tests suggest either
gps/source_manager_test.go
orgps/vcs_source_test.go
are responsible when unable to call a VCS. Could be that we're not using requireBins() everywhere we might need it.I was able to recreate a similar timeout by removing
hg
from my Mac running 10.13.1 (although this can't be the direct cause in Travis, as the image has bothhg
andbzr
).The text was updated successfully, but these errors were encountered: