Build hangs on gem installs.

byron's Avatar

byron

27 Aug, 2014 02:25 PM

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. Support Staff 1 Posted by Feodor Fitsner on 27 Aug, 2014 03:01 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by byron on 27 Aug, 2014 05:20 PM

    byron's Avatar

    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. Support Staff 3 Posted by Feodor Fitsner on 27 Aug, 2014 05:26 PM

    Feodor Fitsner's Avatar

    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. 4 Posted by byron on 27 Aug, 2014 05:32 PM

    byron's Avatar

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

  5. Support Staff 5 Posted by Feodor Fitsner on 27 Aug, 2014 05:38 PM

    Feodor Fitsner's Avatar

    I will try something and let you know.

    -Feodor

  6. Support Staff 6 Posted by Feodor Fitsner on 27 Aug, 2014 06:00 PM

    Feodor Fitsner's Avatar

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

    -Feodor

  7. 7 Posted by byron on 27 Aug, 2014 07:32 PM

    byron's Avatar

    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. Support Staff 8 Posted by Feodor Fitsner on 27 Aug, 2014 07:33 PM

    Feodor Fitsner's Avatar

    OK, when did you start experiencing this issue?

    -Feodor

  9. 9 Posted by byron on 27 Aug, 2014 07:45 PM

    byron's Avatar

    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. Support Staff 10 Posted by Feodor Fitsner on 27 Aug, 2014 07:51 PM

    Feodor Fitsner's Avatar

    OK, thanks.

    -Feodor

  11. Support Staff 11 Posted by Feodor Fitsner on 27 Aug, 2014 08:09 PM

    Feodor Fitsner's Avatar

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

  12. Support Staff 12 Posted by Feodor Fitsner on 27 Aug, 2014 10:04 PM

    Feodor Fitsner's Avatar

    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. 13 Posted by byron on 02 Sep, 2014 10:14 PM

    byron's Avatar

    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