From: merch-redmine@... Date: 2019-10-11T15:53:32+00:00 Subject: [ruby-core:95303] [Ruby master Bug#16189] Some rubygems tests failed when run across 0:00 UTC Issue #16189 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Closed This appears to be fixed by commit:6f522455bf801acefcd2ade0b2e4a2fef3cb70a4. ---------------------------------------- Bug #16189: Some rubygems tests failed when run across 0:00 UTC https://bugs.ruby-lang.org/issues/16189#change-81987 * Author: znz (Kazuhiro NISHIYAMA) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Some tests failed because https://github.com/ruby/ruby/blob/649a64ae29318501472f74798a12eb60871ab990/lib/rubygems/specification.rb#L106-L107 set TODAY as 2019-09-29, and tests run on 2019-09-30. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190929T232504Z.fail.html.gz ``` 1) Failure: TestGemSpecification#test_to_ruby_for_cache [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2518]: --- expected +++ actual @@ -18,7 +18,7 @@ " + " s.authors = [\"A User\".freeze] " + -" s.date = \"2019-09-29\" +" s.date = \"2019-09-30\" " + " s.description = \"This is a test description\".freeze " + 2) Failure: TestGemSpecification#test_metadata_specs [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:3651]: --- expected +++ actual @@ -20,7 +20,7 @@ " + " s.authors = [\"A User\".freeze] " + -" s.date = \"2019-09-30\" +" s.date = \"2019-09-29\" " + " s.description = \"This is a test description\".freeze " + 3) Failure: TestGemSpecification#test_to_ruby [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2441]: --- expected +++ actual @@ -18,7 +18,7 @@ " + " s.authors = [\"A User\".freeze] " + -" s.date = \"2019-09-29\" +" s.date = \"2019-09-30\" " + " s.description = \"This is a test description\".freeze " + 4) Failure: TestGemSpecification#test_to_ruby_fancy [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2581]: --- expected +++ actual @@ -22,7 +22,7 @@ " + " s.authors = [\"A User\".freeze] " + -" s.date = \"2019-09-29\" +" s.date = \"2019-09-30\" " + " s.description = \"This is a test description\".freeze " + 5) Failure: TestGemSpecification#test_self_load_legacy_ruby [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:1038]: Expected: 2019-09-29 00:00:00 UTC Actual: 2019-09-30 00:00:00 UTC 6) Failure: TestGemSpecification#test_to_ruby_with_rsa_key [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2474]: --- expected +++ actual @@ -18,7 +18,7 @@ " + " s.authors = [\"A User\".freeze] " + -" s.date = \"2019-09-29\" +" s.date = \"2019-09-30\" " + " s.description = \"This is a test description\".freeze " + 7) Failure: TestGemSpecification#test_date [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:1697]: Expected: 2019-09-29 00:00:00 UTC Actual: 2019-09-30 00:00:00 UTC ``` -- https://bugs.ruby-lang.org/ Unsubscribe: