-
Notifications
You must be signed in to change notification settings - Fork 66
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
Sporadic "Command exited with code -1" on some Visual Studio 2017 builds #1490
Comments
Still failing. I have no idea how to debug this. I've tried enabling RDP access on failure, re-running the build on the exact same appveyor image where it just failed, out of the same build directory, and it succeeds every time. I tried the build in a loop on a local VM (with Windows 10 + VS2017), and 100/100 builds passed. |
(For now, I'm just ignoring the failures and waiting for the next image update). |
Can you do I repro solution in a public repository? I understand it's not happening with any project, but with only specific ones. |
Sorry, I don't follow: "I repro solution" |
More details/investigation/tracking in pybind/pybind11#792. |
Sorry, I meant do you have a public repository/build reproducing the issue. |
Ah, yes, the https://github.com/pybind/pybind11 repository exhibits it. |
Here's an interesting failure that didn't even make it to the pybind code before failing (cmake's initial does-the-compiler-work test failed): https://ci.appveyor.com/project/wjakob/pybind11/build/1.0.1691/job/etguctmxjas78jn2 |
I have this too, for example: https://ci.appveyor.com/project/ThirteenAG/widescreenfixespack/build/218 |
Same thing on https://ci.appveyor.com/project/Neproify/iv-network |
We've deployed Visual Studio 2017 update - version 15.1 (26403.07) to Could you guys please check and let me know how that worked? |
When did the updated version get deployed? The last -1 failure I saw was around 3 hours ago (several builds since haven't had a failure). |
@jagerman about an hour ago. Actually, we were using your project for verifying the fix: https://ci.appveyor.com/project/FeodorFitsner/pybind11/history 😄 |
Cool! :) I'll keep an eye on it and report back if I encounter any more. |
I just encountered another one: https://ci.appveyor.com/project/wjakob/pybind11/build/1.0.1751/job/8ua0rcj9a8ie2ubr This is the first one I've seen, so it seems greatly reduced but perhaps not entirely solved. |
OK. Let's try removing |
Back when this was occurring often—it is very rare now: this was the first failure I've seen since the update 11 days ago—I tried some builds without I also haven't been able to find anything useful in logs; though I admit Windows is a bit foreign to me, so I'm not entirely sure where to look for this (or even which program's logs I should be looking for). Something in the Event Viewer? Is there anything helpful I could add to the build script to grab any sort of system errors? I also don't know what exit code -1 means: is that a process being killed by the system for some reason? Or some internal MSBuild error? (If I try killing MSBuild through task manager, I get a 1 as exit code). And when an individual compilation fails, MSBuild recognizes that and compiler output appears. |
And a couple more: https://ci.appveyor.com/project/wjakob/pybind11/build/1.0.1760/job/bym09yatp2f7xb6e Until today, there hadn't been any such failures since this issue was closed AFAIK. Did something change in the VS 2017? |
Will take a look. This maybe some scheduling task or some built-in check for updates (Windows updates are disabled) interfering with the build process. |
Still happening on https://ci.appveyor.com/project/Neproify/iv-network |
Hopefully, that will be fixed with the next update as we disabled most of VS-related scheduled tasks. |
Seems to be working so far; all builds for the last couple days have been good. |
Cool, thanks for the update! |
Discussion: http://help.appveyor.com/discussions/problems/6465-vs-2017-image-was-building-fine-then-fails-ever-since-2-days-ago
The text was updated successfully, but these errors were encountered: