[DRE-maint] Bug#1030442: ruby-rack: FTBFS: ERROR: Test "ruby3.1" failed: ArgumentError: invalid domain: ".test.com"

Lucas Nussbaum lucas at debian.org
Sat Feb 4 07:28:01 GMT 2023


Source: ruby-rack
Version: 2.2.4-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230203 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> ArgumentError: invalid domain: ".test.com"
>     /usr/lib/ruby/3.1.0/cgi/cookie.rb:128:in `domain='
>     /usr/lib/ruby/3.1.0/cgi/cookie.rb:95:in `initialize'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:239:in `new'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:239:in `block in parse_cookies_from_header'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:236:in `each'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:236:in `parse_cookies_from_header'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:187:in `initialize'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:85:in `new'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:85:in `request'
>     /<<PKGBUILDDIR>>/lib/rack/mock.rb:57:in `get'
>     /<<PKGBUILDDIR>>/test/spec_mock.rb:365:in `block (2 levels) in <top (required)>'
> 
> 1152 runs, 3990 assertions, 0 failures, 27 errors, 3 skips
> 
> You have skipped tests. Run with --verbose for details.
> rake aborted!
> Command failed with status (1): [ruby -I"lib:test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/spec_auth_basic.rb" "test/spec_auth_digest.rb" "test/spec_body_proxy.rb" "test/spec_builder.rb" "test/spec_cascade.rb" "test/spec_chunked.rb" "test/spec_common_logger.rb" "test/spec_conditional_get.rb" "test/spec_config.rb" "test/spec_content_length.rb" "test/spec_content_type.rb" "test/spec_deflater.rb" "test/spec_directory.rb" "test/spec_etag.rb" "test/spec_events.rb" "test/spec_files.rb" "test/spec_handler.rb" "test/spec_head.rb" "test/spec_lint.rb" "test/spec_lobster.rb" "test/spec_lock.rb" "test/spec_logger.rb" "test/spec_media_type.rb" "test/spec_method_override.rb" "test/spec_mime.rb" "test/spec_mock.rb" "test/spec_multipart.rb" "test/spec_null_logger.rb" "test/spec_recursive.rb" "test/spec_request.rb" "test/spec_response.rb" "test/spec_rewindable_input.rb" "test/spec_runtime.rb" "test/spec_sendfile.rb" "test/spec_server.rb" "test/spec_session_abstract_id.rb" "test/spec_session_abstract_persisted.rb" "test/spec_session_abstract_persisted_secure_secure_session_hash.rb" "test/spec_session_abstract_session_hash.rb" "test/spec_session_cookie.rb" "test/spec_session_pool.rb" "test/spec_show_exceptions.rb" "test/spec_show_status.rb" "test/spec_static.rb" "test/spec_tempfile_reaper.rb" "test/spec_thin.rb" "test/spec_urlmap.rb" "test/spec_utils.rb" "test/spec_version.rb" "test/spec_webrick.rb" "test/gemloader.rb" ]
> 
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2023/02/03/ruby-rack_2.2.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ruby-extras-maintainers mailing list