Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888435 - dev-ruby/rack-2.2.4 fails tests: "ArgumentError: invalid domain: ".test.com""
Summary: dev-ruby/rack-2.2.4 fails tests: "ArgumentError: invalid domain: ".test.com""
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-12-25 18:08 UTC by Jonathan Lovelace
Modified: 2023-03-18 01:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ruby:rack-2.2.4:20221225-143528.log (dev-ruby:rack-2.2.4:20221225-143528.log,34.24 KB, text/x-log)
2022-12-25 18:08 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.50 KB, text/plain)
2022-12-25 18:08 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-12-25 18:08:18 UTC
Created attachment 844891 [details]
dev-ruby:rack-2.2.4:20221225-143528.log

=dev-ruby/rack-2.2.4 fails its test suite. 27 tests error out with errors and stack traces like this one:

 27) Error:
Rack::MockRequest#test_0010_prepend slash to uri path:
ArgumentError: invalid domain: ".test.com"
    /usr/lib64/ruby/2.7.0/cgi/cookie.rb:128:in `domain='
    /usr/lib64/ruby/2.7.0/cgi/cookie.rb:95:in `initialize'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:239:in `new'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:239:in `block in parse_cookies_from_header'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:236:in `each'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:236:in `parse_cookies_from_header'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:187:in `initialize'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:85:in `new'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:85:in `request'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/lib/rack/mock.rb:57:in `get'
    /var/tmp/portage/dev-ruby/rack-2.2.4/work/ruby27/rack-2.2.4/test/spec_mock.rb:145:in `block (2 levels) in <top (required)>'
Comment 1 Jonathan Lovelace 2022-12-25 18:08:49 UTC
Created attachment 844893 [details]
emerge-info.txt