Bug 1449430

Summary: rubygem-minitest-5.10.2 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: rubygem-minitestAssignee: Mo Morsi <mmorsi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmorsi, mtasaka, pvalena, vondruch
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-minitest-5.10.2-100.fc26 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 18:56:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[patch] Update to 5.10.2 (#1449430) none

Description Upstream Release Monitoring 2017-05-10 00:16:31 UTC
Latest upstream release: 5.10.2
Current version/release in rawhide: 5.10.1-100.fc27
URL: http://rubygems.org/gems/minitest

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/4371/

Comment 1 Upstream Release Monitoring 2017-05-10 00:16:37 UTC
Created attachment 1277475 [details]
[patch] Update to 5.10.2 (#1449430)

Comment 2 Upstream Release Monitoring 2017-05-10 00:18:10 UTC
hotness's scratch build of rubygem-minitest-5.10.2-1.el7.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=19481602

Comment 3 Vít Ondruch 2017-05-10 12:09:26 UTC
This breaks Rails:

https://github.com/rails/rails/pull/29022

Comment 4 Upstream Release Monitoring 2017-05-12 09:14:25 UTC
mtasaka's rubygem-minitest-5.10.2-100.fc27 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=889799

Comment 5 Mamoru TASAKA 2017-05-12 09:18:55 UTC
Pushed, seems that new rails is to be released:
https://github.com/rails/rails/issues/29038

Comment 6 Vít Ondruch 2017-05-12 11:40:51 UTC
Are you planning to update F26 as well? My concern is Ruby on Rails 5.1 change proposal, which is pvalena about to propose any moment ...

Comment 7 Pavel Valena 2017-05-12 11:55:53 UTC
I can simply backport the fix to both F26 and F27, as those branches are identical atm.

Comment 8 Mamoru TASAKA 2017-05-12 12:06:42 UTC
(In reply to Vít Ondruch from comment #6)
> Are you planning to update F26 as well? My concern is Ruby on Rails 5.1
> change proposal, which is pvalena about to propose any moment ...

Most probably. If rails is to be upgraded to 5.1 "soon" on F-26, perhaps it is better that minitest is updated to 5.10.2 on F-26 _before_ rails 5.1 build comes on F-26 (to make F-26/27 rubygem-rails tree identical)?

Comment 9 Vít Ondruch 2017-05-12 12:16:31 UTC
The plan is currently to push Rails 5.1 to F27 only. I don't think we should update rails in F26. Neither I think we want to update F27 to the latest 5.0.x ATM, since it would be wasted time IMO. So the process should be:

1. Patch rubygem-railties in F27 (and F26 if you are going to update minitest there).
2. Go ahead with the change proposal and update Rails in F27 to 5.1 (this might take like 3 weeks or so?)
3. Update F26 to the latest Rails 5.0.x

Comment 10 Mamoru TASAKA 2017-05-12 16:25:30 UTC
Umm.... it seems with minitest 5.10.2, railties 5.0.2 with https://github.com/rails/rails/pull/29022 patched fails at the different places as below:

[mockbuild@8b717e463bbf40a09684018a9c73f597 railties]$ ruby -Itest test/application/test_runner_test.rb
Run options: --seed 11621

# Running:

...F...../builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:5: warning: already initialized constant LoadError::REGEXPS
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:5: warning: previous definition of REGEXPS was here
/builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:31: warning: already initialized constant MissingSourceFile
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:31: warning: previous definition of MissingSourceFile was here
...S...S/builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:5: warning: already initialized constant LoadError::REGEXPS
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:5: warning: previous definition of REGEXPS was here
/builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:31: warning: already initialized constant MissingSourceFile
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:31: warning: previous definition of MissingSourceFile was here
....S..............S....../builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:5: warning: already initialized constant LoadError::REGEXPS
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:5: warning: previous definition of REGEXPS was here
/builddir/build/BUILD/rubygem-railties-5.0.2/usr/share/gems/gems/activesupport/lib/active_support/core_ext/load_error.rb:31: warning: already initialized constant MissingSourceFile
/usr/share/gems/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb:31: warning: previous definition of MissingSourceFile was here
...

Finished in 49.139878s, 0.9361 runs/s, 3.6020 assertions/s.

  1) Failure:
ApplicationTests::TestRunnerTest#test_only_inline_failure_output [test/application/test_runner_test.rb:488]:
Expected /Finished in.*\n\n1 runs, 1 assertions/ to match "Run options: --seed 45149\n\n# Running:\n\nPostTest\nF\n\nFailure:\nPostTest#test_truth [/tmp/d20170513-6514-1mkcggi/app/test/models/post_test.rb:6]:\nwups!\n\nbin/rails test test/models/post_test.rb:4\n\n\n\nFinished in 0.002132s, 468.9343 runs/s, 468.9343 assertions/s.\n1 runs, 1 assertions, 1 failures, 0 errors, 0 skips\n".

46 runs, 177 assertions, 1 failures, 0 errors, 4 skips

Comment 11 Mamoru TASAKA 2017-05-12 17:02:58 UTC
Yet another:

DEBUG: * Test file: test/generators/plugin_test_runner_test.rb
DEBUG: Run options: --seed 52506
DEBUG: # Running:
DEBUG: .F.......
DEBUG: Finished in 20.520469s, 0.4386 runs/s, 1.1208 assertions/s.
DEBUG:   1) Failure:
DEBUG: PluginTestRunnerTest#test_only_inline_failure_output [test/generators/plugin_test_runner_test.rb:74]:
DEBUG: Expected /Finished in.*\n\n1 runs, 1 assertions/ to match "Run options: --seed 40737\n\n# Running:\n\nPostTest\nF\n\nFailure:\nPostTest#test_truth [/tmp/bukkits20170513-3920-jnnl43/bukkits/test/post_test.rb:6]:\nwups!\n\nbin/test /tmp/bukkits20170513-3920-jnnl43/bukkits/test/post_test.rb:4\n\n\n\nFinished in 0.002230s, 448.4631 runs/s, 448.4631 assertions/s.\n1 runs, 1 assertions, 1 failures, 0 errors, 0 skips\n".
DEBUG: 9 runs, 23 assertions, 1 failures, 0 errors, 0 skips
DEBUG: xargs: sh: exited with status 255; aborting

Looks like minitest 5.10.2 removes one extra newline, so regex does not match. Maybe before upstream releases rails 5.1.1, perhaps some extra work is required?

Comment 12 Fedora Update System 2017-05-13 14:18:04 UTC
rubygem-railties-5.0.2-3.fc26 rubygem-minitest-5.10.2-100.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-43c73485df

Comment 13 Pavel Valena 2017-05-15 10:09:10 UTC
Pity I've missed BZs email somehow. I have tried to send a build few hours after yours. I have also created PR for the Rails tests:

https://github.com/rails/rails/pull/29065

Comment 14 Fedora Update System 2017-05-15 10:20:18 UTC
rubygem-minitest-5.10.2-100.fc26, rubygem-railties-5.0.2-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-43c73485df

Comment 15 Fedora Update System 2017-06-09 18:56:52 UTC
rubygem-minitest-5.10.2-100.fc26, rubygem-railties-5.0.2-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.