-
Notifications
You must be signed in to change notification settings - Fork 1k
Integration tests failing? #214
Comments
@jessfraz any ideas here? |
Has the file not been closed?
…On Thu, Feb 2, 2017, 17:31 Peter Bourgon ***@***.***> wrote:
@jessfraz <https://github.com/jessfraz> any ideas here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYNbBo4XaZV_K2n4_Dxl-lqlTGaELgmks5rYoN7gaJpZM4L0B5w>
.
|
FWIW, I have it nailed down to specifically the RemoveTest, lines 90 and/or 114. (Each launch a process/thread that does not terminate, resulting in the "still in use" deletion error.) Both try to "remove" |
The What's path to the tempfile that it's complaining about not being able to remove? @mattn's already been great in help tracking down some of these issues, and I had someone get me access to a windows box recently so that I could work on it more directly, too. Hopefully we can get these all hammered out soon :/ |
The "file in use" is always |
Yes, seems to be running multiple tests. Sometimes running git on the directory when the error occured. |
Okay, I've tracked it down. During the TestRemove test in
This leads to Not sure what to do about it, but that |
Great sleuthing @tro3! (side note, I'm curious what you did to track that down I'm guessing it's not just on Windows where we have an underlying problem with calls hanging on a password request. The only difference on *nix-y platforms is that such hanging calls don't appear to cause the same issues with directory handles, so it doesn't result in test failures. The more general solution to safety in this realm is probably sdboyer/gps#159, or at least sdboyer/gps#84, but there's still a bit of work between here and there. It's also...annoying, as I thought that sdboyer/gps#141 would have taken another step to address this. (Clearly not on Windows, but it's the same general problem) Meanwhile, I'm going to see if just changing around the upstream path of the nonexistent repo can help us out. |
I set up a more direct test case, targeting |
Fix empty out data check
Underlyign issue is worked out |
In trying to move the hard-wired files to a separate directory, I found I could not get the integration tests to pass, even on the current
master
. Before I go digging, is anyone else having this problem? (Trying to rule out my setup.) I am runninggo test github.com/golang/dep/cmd/dep
on go1.7.4 windows/amd64.FWIW, I notice appveyor produced the same error on my PR - it can't remove a temp file because it is in use by another process. Another data point is that on my PC, at least, the process ends thinking it is still running git (asking me for a password) which had clearly been launched during the test. I'd suspect that as being the "other process".
The text was updated successfully, but these errors were encountered: