Project

General

Profile

Actions

action #20494

closed

[openqa] [functional] test fails in openqa_webui due to ruby problems

Added by jorauch over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2017-07-17
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

Actions #1

Updated by jorauch over 6 years ago

Instead of gem install try:
zypper install "rubygem(sass)

Actions #2

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

  1. git clone git@github.com:ruby/ruby.git ruby
  2. zypper --non-interactive remove ruby
  3. cd ruby && ./configure && make && make install
  4. gem source -r https://rubygems.org && gem source -a http://rubygems.org
  5. gem install sass
Actions #3

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

Actions #4

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

Actions #5

Updated by jorauch over 6 years ago

  • Status changed from Feedback to Resolved

Did not appear in the last Tests, consider it as resolved

Actions

Also available in: Atom PDF