[DRE-maint] Bug#972701: nanoc FTBFS on IPV6-only buildds

Adrian Bunk bunk at debian.org
Thu Oct 22 19:13:10 BST 2020


Source: nanoc
Version: 4.11.14-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=nanoc&arch=all&ver=4.11.14-3&stamp=1602601516&raw=0

...
Failures:

  1) Nanoc::Live::Commands::Live watches
     Failure/Error: sleep_until { File.file?('output/lol.html') }

     RuntimeError:
       Waited for 3.006656316s for condition to become true, but it never did
     # ./common/spec/spec_helper_foot_core.rb:34:in `block in sleep_until'
     # ./common/spec/spec_helper_foot_core.rb:31:in `loop'
     # ./common/spec/spec_helper_foot_core.rb:31:in `sleep_until'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:37:in `block (3 levels) in <top (required)>'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:35:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in <top (required)>'

  2) Nanoc::Live::Commands::Live listens
     Failure/Error: sleep_until { File.file?('output/lol.html') }

     RuntimeError:
       Waited for 3.006771s for condition to become true, but it never did
     # ./common/spec/spec_helper_foot_core.rb:34:in `block in sleep_until'
     # ./common/spec/spec_helper_foot_core.rb:31:in `loop'
     # ./common/spec/spec_helper_foot_core.rb:31:in `sleep_until'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:49:in `block (3 levels) in <top (required)>'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:47:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in <top (required)>'

  3) Nanoc::Live::Commands::Live listens for websocket connections
     Failure/Error: socket = TCPSocket.new('localhost', 35_729)

     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "localhost" port 35729
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `initialize'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `new'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `block (3 levels) in <top (required)>'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
     # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:59:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
     # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in <top (required)>'
     # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in <top (required)>'

Finished in 17.56 seconds (files took 3.14 seconds to load)
10 examples, 3 failures, 1 pending

Failed examples:

rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:34 # Nanoc::Live::Commands::Live watches
rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:46 # Nanoc::Live::Commands::Live listens
rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:58 # Nanoc::Live::Commands::Live listens for websocket connections

/usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./nanoc-live/spec/\*\*/\*_spec.rb -r ./nanoc-live/spec/spec_helper.rb --color failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp returned exit code 1
make: *** [debian/rules:8: binary-indep] Error 25



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