Skip to content
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

Restart-computer command can indefinitely stall build in init stage #2459

Closed
OwenMcDonnell opened this issue Jun 21, 2018 · 3 comments
Closed
Assignees
Labels

Comments

@OwenMcDonnell
Copy link

Compare build with command in init stage to build with command in install stage.

@IlyaFinkelshteyn
Copy link
Contributor

This should be fixed now

@FeodorFitsner FeodorFitsner removed this from the next-images-update milestone Sep 25, 2018
@trexinc
Copy link

trexinc commented Jan 21, 2019

This just happened to me here:
https://ci.appveyor.com/project/FarGroup/farmanager/builds/21769530/job/2q9dpfr5p7qyuahx

it was:
init:

  • ps: Set-WinSystemLocale -SystemLocale ru-RU
  • ps: Start-Sleep -s 5
  • ps: Restart-Computer

I moved this to install:, seems to work but some logs from the beginning of the build_script: are lost

@IlyaFinkelshteyn
Copy link
Contributor

@trexinc there is a race condition, which is specific to the init step. If you set sleep value to 10 seconds, it would be more than enough to eliminate its possibility and continue to restart at init step. Let us know if this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants