Build hangs on gem installs.

I thought before that a long gem install was because of the aws-sdk gem that I was installing during the pre-build stage. I started an issue here and Feodor made the aws.sdk gem part of the build VM image. For awhile, I thought the problem was solved. But now, even though I have removed the gem install aws-sdk from the pre-build stage, it is NOW hanging on another, much smaller gem. So, now it seems like there's a systemic problem with gem installs. Here's a build that had this very problem: https://ci.appveyor.com/project/bsommardahl/split-secnd/build/1.0.152

  1. Have you noticed when it started?

    It seems there is a problem indeed as we heard about it from another customers too. I'm going to look into it.

    -Feodor

  2. Feodor, do you have an eta on this fix? I'm not normally pressed like this, but I've got a team waiting on this fix to make progress. (QA is blocked)

  3. I don't have an ETA, but I'm investigating the issue. Last update of build worker image related to Ruby was on August 20th when we installed bundler gem. But I suspect problems with installing gems started after recent Azure maintenance - may be it's just coincidence.

  4. Can you advise me of any possible work-arounds so that I can continue using the gems?

  5. I will try something and let you know.

    -Feodor

  6. While working on that I can increase builds timeout for your account. Whould that work?

    -Feodor

  7. Not sure. I mean the RubyZip gem that it is supposedly installing is really small. The fact that it takes more than 5 seconds is remarkable. If it times out at 30 minutes, I don't imagine more time will help.

  8. OK, when did you start experiencing this issue?

    -Feodor

  9. I just checked the history. Looks like the first time it happened was 6 days ago: https://ci.appveyor.com/project/bsommardahl/split-secnd/build/1.0.134.

    It worked a few times after 134, for example https://ci.appveyor.com/project/bsommardahl/split-secnd/build/1.0.139. Over the following days, it worked and failed intermittently. Today, it has not worked even once.

  10. OK, thanks.

    -Feodor

  11. I'll start from re-installing Ruby on build workers.

  12. Build worker image has been fixed. Now installing rubyzip gem takes seconds: https://ci.appveyor.com/project/appvyr/appveyor-bot-test/build/1.0.9

    Apparently, for some reason gem update --system entirely screwed gem install. Re-installing Ruby fixed the issue.

    In addition to Ruby 1.9.3 we installed Ruby 2.0.0 and 2.0.0 x64 in C:\Ruby200 and C:\Ruby200-x64 folders respectively - both with DevKit applied.

    Let me know how it works for your builds.

  13. This seems to be behaving at the moment. Thanks!

  14. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac