action #20494
closed[openqa] [functional] test fails in openqa_webui due to ruby problems
0%
Description
Observation¶
openQA test in scenario openqa-tw-20170712-dev-x86_64-openqa_from_git@64bit-2G fails in
openqa_webui
The tests fails when trying to install sass with the error message "Failed to get gem native extensions" and beforehand "mkmf cant find header files".
Looks like a dependency issue for me, a quick google research for the messages suggests installing "ruby-dev" first, but I lack the ruby knowledge to be able to confirm this.
Reproducible¶
Fails since (at least) Build :TW.1365
First occurance: https://openqa.opensuse.org/tests/448360#
Expected result¶
Last good: https://openqa.opensuse.org/tests/442917
Further details¶
Always latest result in this scenario: latest
Updated by jorauch over 6 years ago
Instead of gem install try:
zypper install "rubygem(sass)
Updated by jorauch over 6 years ago
The Zypper approach failed due to conflicting files.
The Problem seems to be an old ruby version which does not support the certificates of https://rubygems.org anymore so the installation of sass fails
Possible workaround for installing sass
- git clone git@github.com:ruby/ruby.git ruby
- zypper --non-interactive remove ruby
- cd ruby && ./configure && make && make install
- gem source -r https://rubygems.org && gem source -a http://rubygems.org
- gem install sass
Updated by jorauch over 6 years ago
Problem seems to be related to broken TW Snapshot and missing ruby-devel, zlib-devel packages, relation to https has to be investigated
Updated by jorauch over 6 years ago
- Status changed from New to Feedback
Problem fixed by using current TW build and installing ruby-devel
Created PR: https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/30
Updated by jorauch over 6 years ago
- Status changed from Feedback to Resolved
Did not appear in the last Tests, consider it as resolved