tag:help.appveyor.com,2012-11-13:/discussions/problems/19657-successful-builds-failing-with-code-259AppVeyor: Discussion 2019-03-31T21:58:58Ztag:help.appveyor.com,2012-11-13:Comment/468724952019-03-08T00:05:17Z2019-03-08T00:06:28ZSuccessful builds failing with code 259<div><p>PowerShell-based test did not return this error. However similar internal test based on <code>cmd</code> (not <code>sh</code>) returned 259. So we are convinced that it is an issue on our side, in the way we treat process external to the PowerShell. We will deploy a fix today later.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/468724952019-03-08T02:20:19Z2019-03-08T02:20:19ZSuccessful builds failing with code 259<div><p>Fix has been deployed. You can re-run your 200-minutes-sleep repro, or simple restore your <code>appveyor.yml</code> and <code>build.sh</code>.</p>
<p>Sorry it took so long to realize the bug -- thanks to your repro.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/468724952019-03-08T06:53:02Z2019-03-08T06:53:03ZSuccessful builds failing with code 259<div><p>Thank you! I reopened our queue so a PR is now testing, I'll let you know of the results.</p>
<p>Pietro.</p></div>pietroalbinitag:help.appveyor.com,2012-11-13:Comment/468724952019-03-08T16:00:34Z2019-03-08T16:00:36ZSuccessful builds failing with code 259<div><p>Yep, we had a build going over 3 hours and it didn't fail \o/</p>
<p><a href="https://ci.appveyor.com/project/rust-lang/rust/builds/22921540">https://ci.appveyor.com/project/rust-lang/rust/builds/22921540</a></p>
<p>Thanks!<br>
Pietro.</p></div>pietroalbinitag:help.appveyor.com,2012-11-13:Comment/468724952019-03-08T18:14:18Z2019-03-08T18:14:18ZSuccessful builds failing with code 259<div><p>Thanks so much for your persistence, and sorry once again it took this long to check some specific place in our system. Please feel free to ping anytime :)</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/468724952019-03-11T20:15:08Z2019-03-11T20:15:08ZSuccessful builds failing with code 259<div><p>I don't believe we've seen this in the past few days, so I'm gonna go ahead and close this from our end.</p></div>acrichtontag:help.appveyor.com,2012-11-13:Comment/468724952019-03-29T18:20:32Z2019-03-29T18:20:34ZSuccessful builds failing with code 259<div><p>We just had another build failing with the 259 error code.</p>
<p><a href="https://ci.appveyor.com/project/rust-lang/rust/builds/23456316/job/8jm7me4fhgcks5pi">https://ci.appveyor.com/project/rust-lang/rust/builds/23456316/job/...</a></p>
<p>The symptoms are the same as the previous failures, as this happened after 3 hours and the build otherwise passed, so I guess the repro would also be the same. We don't have the spare capacity on our account to run it though.</p></div>pietroalbinitag:help.appveyor.com,2012-11-13:Comment/468724952019-03-29T19:28:50Z2019-03-29T19:28:50ZSuccessful builds failing with code 259<div><p>Hmm... Let me please explain how we apply hotfixes to build workers. Each build image update we bake latest build agent bits into VHD. However updating image for quick fixes is too hard way to go. So we have a code which check if newer build agent available and replace it during VM start. If it cannot be downloaded, default one (baked in the image) works. I afraid this happens here -- non-patched agent run this specific build. If I am right, this is unlikely to happen again. And in any case we will release new image with this fix baked in a week or so. Sorry for the trouble.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/468724952019-03-29T20:01:45Z2019-03-29T20:01:46ZSuccessful builds failing with code 259<div><p>That's reassuring, thanks for the clarification!</p>
<p>Pietro.</p></div>pietroalbinitag:help.appveyor.com,2012-11-13:Comment/468724952019-03-31T21:52:27Z2019-03-31T21:52:27ZSuccessful builds failing with code 259<div><p>Pietro: can you please add <code>appveyor version</code> command sometime in the beginning of the build (say <code>init</code> or <code>install</code>) so in case it happen again (hope not) we check the agent version?</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/468724952019-03-31T21:58:55Z2019-03-31T21:58:58ZSuccessful builds failing with code 259<div><p>Sure! <a href="https://github.com/rust-lang/rust/pull/59593">Sent a PR</a> to add it, it will land in a few days max.</p>
<p>Pietro.</p></div>pietroalbini