[Bug 1204481] New: [Build 20221019-2] openQA test fails in sample rails
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481 Bug ID: 1204481 Summary: [Build 20221019-2] openQA test fails in sample rails Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other URL: https://openqa.opensuse.org/tests/2814152/modules/rail s/steps/12 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Ruby Assignee: ruby-devel@suse.de Reporter: meissner@suse.com QA Contact: qa-bugs@suse.de Found By: openQA Blocker: Yes ## Observation openQA test in scenario opensuse-15.4-DVD-Updates-x86_64-extra_tests_textmode@64bit fails in [rails](https://openqa.opensuse.org/tests/2814152/modules/rails/steps/12) ## Test suite description Maintainer: slindomansilla@suse.de. Mainly post-installation console extra tests. ## Reproducible Fails since (at least) Build [20220818-1](https://openqa.opensuse.org/tests/2532924) ## Expected result Last good: (unknown) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD-Updates&machine=64bit&test=extra_tests_textmode&version=15.4) -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481#c1
--- Comment #1 from Marcus Meissner
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
Marcus Meissner
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
Marcus Meissner
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
Marcus Meissner
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481#c3
Santiago Zarate
(In reply to Marcus Meissner from comment #1)
testcase is super simple:
zypper -n in --recommends -C "rubygem(rails)" rails new mycoolapp --skip-bundle --skip-test cd mycoolapp (rails server -b 0.0.0.0 &) for i in {1..100} ; do sleep 0.1; curl -s http://localhost:3000 | grep "<title>Ruby on Rails" && break ; done pkill -f "rails server" || pumactl -P tmp/pids/server.pid stop
the rails server start up fails with: (rails server -b 0.0.0.0 &) Could not find gem 'puma (~> 3.11)' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
I have however installed ruby2.5-rubygem-puma-4.3.12-150000.3.9.1.x86_64
and that is issue ~> 3.11 means > 3.11 but < 4.0 so 4.3 is too high to satisfy that dependency - https://thoughtbot.com/blog/rubys-pessimistic-operator
So we're distributing two gems that aren�t compatible? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481
http://bugzilla.opensuse.org/show_bug.cgi?id=1204481#c4
--- Comment #4 from Santiago Zarate
(In reply to Josef Reidinger from comment #2)
(In reply to Marcus Meissner from comment #1)
testcase is super simple:
zypper -n in --recommends -C "rubygem(rails)" rails new mycoolapp --skip-bundle --skip-test cd mycoolapp (rails server -b 0.0.0.0 &) for i in {1..100} ; do sleep 0.1; curl -s http://localhost:3000 | grep "<title>Ruby on Rails" && break ; done pkill -f "rails server" || pumactl -P tmp/pids/server.pid stop
the rails server start up fails with: (rails server -b 0.0.0.0 &) Could not find gem 'puma (~> 3.11)' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
I have however installed ruby2.5-rubygem-puma-4.3.12-150000.3.9.1.x86_64
and that is issue ~> 3.11 means > 3.11 but < 4.0 so 4.3 is too high to satisfy that dependency - https://thoughtbot.com/blog/rubys-pessimistic-operator
So we're distributing two gems that aren�t compatible?
Even if we move the version of puma further, we'll end up in a similar situation with other gems:
247338f6210b:/mycoolapp # rails s Could not find gem 'listen (< 3.2, >= 3.0.5)' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com