Hello,
for some reason, this gem started to fail on Jenkins:
gem install linecache19 -v '0.5.12'
Building native extensions. This could take a while…
ERROR: Error installing linecache19:
ERROR: Failed to build gem native extension.
It looks it attempts to download and compile Ruby (!) which is indeed
time consuming and error-prone task. Looks like some miscompatibility
between the gem and old ruby version.
Anyway, it only happens in Smart Proxy Rubucop job AFAIK:
http://ci.theforeman.org/job/test_proxy_develop_pull_request/992/
I realized this is installing all the gem groups, including development
(this gem is actually dep of the debugger gem). This is absolutely not
needed for this kind of Rubocop test.
I changed the job configuration to only install "test" group and the
error is gone. I was expecting it to be faster, but it is not the case.
I was thinking doing the same for Foreman and Katello, but it looks like
Rubocop is part of the development group here. I guess we could move it
to test if there are no objections.