[Bug 1174315] New: openQA test fails in rails since rubygem-puma update
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 Bug ID: 1174315 Summary: openQA test fails in rails since rubygem-puma update Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other URL: https://openqa.opensuse.org/tests/1337086/modules/rail s/steps/12 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Ruby Assignee: ruby-devel@suse.de Reporter: guillaume.gardet@arm.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- openQA test fails [0] in 'rails' since rubygem-puma update [1] for x86_64 and for aarch64 architectures. [0]: https://openqa.opensuse.org/tests/1337086/modules/rails/steps/12 [1]: https://build.opensuse.org/package/show/openSUSE:Leap:15.2:Update/rubygem-pu... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lubos.kocman@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c1 Dario Maiocchi <dmaiocchi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmaiocchi@suse.com --- Comment #1 from Dario Maiocchi <dmaiocchi@suse.com> --- Hi the test rail is failing because your gemfile you require a puma version puma ~> 3.11 . You should update the gemfile of the test to require puma ~> 4.3.5 so it can work again the test. So the issue is more on test environment/setup rather then other things. Hope it helps! best -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c2 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@suse.com --- Comment #2 from Marcus Rückert <mrueckert@suse.com> --- Dario: it is *not* a test environment/setup problem. rather you upgraded puma to a version which does *not* work with the defaults in the rails version that comes with 15.2. the rails version that your package also relies on. you would need to update the default gemfile template in rubygem-rails/rubygem- railties. and then verify that the rails version actually works with puma 4.3.5. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c3 --- Comment #3 from Marcus Rückert <mrueckert@suse.com> --- Thinking about it ... even if we did everything in comment #2 ... it would still break existing (user) rails apps -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c4 --- Comment #4 from Dario Maiocchi <dmaiocchi@suse.com> --- indeed . I guess we need to just drop the "~" for major version -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c5 --- Comment #5 from Marcus Rückert <mrueckert@suse.com> --- and how do you fix all existing apps that people created? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c6 Xabier Arbulu <xarbulu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xarbulu@suse.com --- Comment #6 from Xabier Arbulu <xarbulu@suse.com> --- Hi Markus, Dario, This bug doesn't look like has an easy solution. `puma` package upgrade was needed to fix multiple CVEs in any case. I have checked and the new `puma` version we released (`4.3.5`) doesn't look like has any non backward compatibility (according the changelog). In the case we patch `railties` to allow the usage of this version, only this change, would this break already existing apps as you say Markus? Actually, I see that we have two rails versions packaged: 5.1 and 5.2, and this issue is affecting both I guess. We can maybe some tests around this: 1. Create app with current rails version (and using old puma too). Upgrade rails with this small patch, update puma and see what happens 2. Test the new patch creating new apps and see if the new puma version is compatible Markus, if you already did these tests let us know, but I cannot think on anything better (I guess thinking on upgrading rails to version 6 is not a good idea at this point) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c7 --- Comment #7 from Marcus Rückert <mrueckert@suse.com> --- I did not do that test yet. but it would be the proper procedure to do it. But it will not fix existing apps from other users out there. Fixing the CVEs could also have been done with backports of the needed fixes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174315 http://bugzilla.opensuse.org/show_bug.cgi?id=1174315#c8 --- Comment #8 from Guillaume GARDET <guillaume.gardet@arm.com> --- Also happens on Leap 15.1. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com