[DRE-maint] Bug#1064720: ruby-capybara: FTBFS: ERROR: Test "ruby3.1" failed: NoMethodError:

Lucas Nussbaum lucas at debian.org
Sun Feb 25 19:30:44 GMT 2024


Source: ruby-capybara
Version: 3.36.0+ds-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>       NoMethodError:
>         undefined method `stdio' for Puma::Events:Class
> 
>           events = conf.options[:Silent] ? ::Puma::Events.strings : ::Puma::Events.stdio
>                                                                                   ^^^^^^
>       # /<<PKGBUILDDIR>>/lib/capybara/registrations/servers.rb:32:in `block in <top (required)>'
>       # /<<PKGBUILDDIR>>/lib/capybara.rb:252:in `run_default_server'
>       # /<<PKGBUILDDIR>>/lib/capybara/registrations/servers.rb:4:in `block in <top (required)>'
>       # /<<PKGBUILDDIR>>/lib/capybara/server.rb:77:in `block in boot'
> 
> Finished in 52.8 seconds (files took 1.06 seconds to load)
> 2512 examples, 36 failures, 6 pending
> 
> Failed examples:
> 
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:1]' # Capybara::Session DSL #current_url, #current_path, #current_host is affected by visiting a page directly
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:2]' # Capybara::Session DSL #current_url, #current_path, #current_host returns to the app host when visiting a relative url
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:3]' # Capybara::Session DSL #current_url, #current_path, #current_host is affected by setting Capybara.app_host
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:4]' # Capybara::Session DSL #current_url, #current_path, #current_host is unaffected by following a relative link
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:5]' # Capybara::Session DSL #current_url, #current_path, #current_host is affected by following an absolute link
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:6]' # Capybara::Session DSL #current_url, #current_path, #current_host is unaffected by posting through a relative form
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:7]' # Capybara::Session DSL #current_url, #current_path, #current_host is affected by posting through an absolute form
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:8]' # Capybara::Session DSL #current_url, #current_path, #current_host is affected by following a redirect
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:9]' # Capybara::Session DSL #current_url, #current_path, #current_host maintains fragment
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[1:27:10]' # Capybara::Session DSL #current_url, #current_path, #current_host redirects to a fragment
> rspec /<<PKGBUILDDIR>>/spec/dsl_spec.rb:165 # Capybara::DSL#current_session should change with the current driver
> rspec /<<PKGBUILDDIR>>/spec/dsl_spec.rb:171 # Capybara::DSL#current_session should be persistent even across driver changes
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:1]' # Capybara::Session RackTest #current_url, #current_path, #current_host is affected by visiting a page directly
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:2]' # Capybara::Session RackTest #current_url, #current_path, #current_host returns to the app host when visiting a relative url
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:3]' # Capybara::Session RackTest #current_url, #current_path, #current_host is affected by setting Capybara.app_host
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:4]' # Capybara::Session RackTest #current_url, #current_path, #current_host is unaffected by following a relative link
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:5]' # Capybara::Session RackTest #current_url, #current_path, #current_host is affected by following an absolute link
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:6]' # Capybara::Session RackTest #current_url, #current_path, #current_host is unaffected by posting through a relative form
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:7]' # Capybara::Session RackTest #current_url, #current_path, #current_host is affected by posting through an absolute form
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:8]' # Capybara::Session RackTest #current_url, #current_path, #current_host is affected by following a redirect
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:9]' # Capybara::Session RackTest #current_url, #current_path, #current_host maintains fragment
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:10]' # Capybara::Session RackTest #current_url, #current_path, #current_host redirects to a fragment
> rspec '/<<PKGBUILDDIR>>/lib/capybara/spec/spec_helper.rb[2:27:13]' # Capybara::Session RackTest #current_url, #current_path, #current_host doesn't raise exception on a nil current_url
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:6 # Capybara::Server should spool up a rack server
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:15 # Capybara::Server should do nothing when no server given
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:21 # Capybara::Server should bind to the specified host
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:42 # Capybara::Server should use specified port
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:54 # Capybara::Server should use given port
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:64 # Capybara::Server should find an available port
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:95 # Capybara::Server should return its #base_url
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:102 # Capybara::Server should call #clamp on the puma configuration to ensure that environment is a string
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:253 # Capybara::Server should raise an error when there are pending requests
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:156 # Capybara::Server When Capybara.reuse_server is true should use the existing server if it already running
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:169 # Capybara::Server When Capybara.reuse_server is true detects and waits for all reused server sessions pending requests
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:201 # Capybara::Server When Capybara.reuse_server is false should not reuse an already running server
> rspec /<<PKGBUILDDIR>>/spec/server_spec.rb:214 # Capybara::Server When Capybara.reuse_server is false detects and waits for only one sessions pending requests
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/ruby-capybara_3.36.0+ds-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&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