appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 65 forks source link

appveyor hangs after running 'Restart-Computer' & 'Start-Sleep' #2456

Open m-tmatma opened 6 years ago

m-tmatma commented 6 years ago

We reboot appveyor instance to switch locale. But builds stop after 'Restart computer'

https://github.com/sakura-editor/sakura/blob/44999a5e6b385226d176ebd3be9c66e01bd52489/appveyor.yml#L4-L7

https://ci.appveyor.com/project/sakuraeditor/sakura/build/1.0.200/job/bdvf8n5xt0d8hcc3/messages https://ci.appveyor.com/project/sakuraeditor/sakura/build/1.0.200/job/bdvf8n5xt0d8hcc3

OwenMcDonnell commented 6 years ago

For now try switching the problematic sequence to install: instead of init:.

You can follow the issue created to investigate this.

m-tmatma commented 6 years ago

I tried your suggestion. It worked. https://github.com/sakura-editor/sakura/pull/156/files

IlyaFinkelshteyn commented 6 years ago

@m-tmatma We will close this issue then. Please watch https://github.com/appveyor/ci/issues/2459 if you need to move it back to the init stage. It should not take too long to fix it. Sorry for the trouble.

m-tmatma commented 6 years ago

please reopen this.

It happened again at https://ci.appveyor.com/project/m-tmatma/sakura/build/1.0.301 with https://github.com/m-tmatma/sakura/blob/d887997da1054ee637b762c6825f6bd34850167a/appveyor.yml#L3

OwenMcDonnell commented 6 years ago

What happens if you extend the sleep time (i.e. Start-Sleep -s 10)?

IlyaFinkelshteyn commented 6 years ago

Let us keep it it open until we have a permanent solution.

m-tmatma commented 6 years ago

What happens if you extend the sleep time (i.e. Start-Sleep -s 10)?

I applied that at the following PR, and monitor whether the problem will happen or not. https://github.com/sakura-editor/sakura/pull/241

m-tmatma commented 6 years ago

What happens if you extend the sleep time (i.e. Start-Sleep -s 10)?

I applied that at the following PR, and monitor whether the problem will happen or not. sakura-editor/sakura#241

It happended again for Start-Sleep -s 10 https://ci.appveyor.com/project/sakuraeditor/sakura/build/1.0.776