[DRE-maint] Bug#962585: schleuder: build fails on IPv6-only buildds

Adrian Bunk bunk at debian.org
Wed Jun 10 11:01:44 BST 2020


Source: schleuder
Version: 3.5.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=schleuder&arch=all&ver=3.5.2-1&stamp=1591750657&raw=0

...
Failures:

  1) cli #refresh_keys updates keys from the keyserver for only a specific list
     Failure/Error: raise "sks-mock.rb failed to start, cannot continue: #{exc}"

     RuntimeError:
       sks-mock.rb failed to start, cannot continue: Failed to open TCP connection to 127.0.0.1:9999 (Connection refused - connect(2) for "127.0.0.1" port 9999)
     # ./spec/spec_helper.rb:96:in `rescue in with_sks_mock'
     # ./spec/spec_helper.rb:88:in `with_sks_mock'
     # ./spec/schleuder/integration/cli_spec.rb:187:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:47:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:46:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Errno::ECONNREFUSED:
     #   Connection refused - connect(2) for "127.0.0.1" port 9999
     #   ./spec/spec_helper.rb:90:in `with_sks_mock'
...
Finished in 32 minutes 16 seconds (files took 2.5 seconds to load)
431 examples, 14 failures

Failed examples:

rspec ./spec/schleuder/integration/cli_spec.rb:175 # cli #refresh_keys updates keys from the keyserver for only a specific list
rspec ./spec/schleuder/integration/cli_spec.rb:152 # cli #refresh_keys updates keys from the keyserver
rspec ./spec/schleuder/unit/list_spec.rb:536 # Schleuder::List#fetch_keys fetches one key by email address
rspec ./spec/schleuder/unit/list_spec.rb:519 # Schleuder::List#fetch_keys fetches one key by URL
rspec ./spec/schleuder/unit/list_spec.rb:553 # Schleuder::List#fetch_keys does not import non-self-signatures if gpg >= 2.1.15; or else sends a warning
rspec ./spec/schleuder/unit/list_spec.rb:502 # Schleuder::List#fetch_keys fetches one key by fingerprint
rspec ./spec/schleuder/integration/keywords_spec.rb:1678 # user sends keyword x-fetch-key with fingerprint
rspec ./spec/schleuder/integration/keywords_spec.rb:1599 # user sends keyword x-fetch-key with invalid URL
rspec ./spec/schleuder/integration/keywords_spec.rb:1560 # user sends keyword x-fetch-key with URL
rspec ./spec/schleuder/integration/keywords_spec.rb:1482 # user sends keyword x-fetch-key with email address
rspec ./spec/schleuder/integration/keywords_spec.rb:1756 # user sends keyword x-fetch-key without arguments
rspec ./spec/schleuder/integration/keywords_spec.rb:1717 # user sends keyword x-fetch-key with fingerprint of unchanged key
rspec ./spec/schleuder/integration/keywords_spec.rb:1521 # user sends keyword x-fetch-key with unknown email-address
rspec ./spec/schleuder/integration/keywords_spec.rb:1639 # user sends keyword x-fetch-key with unknown fingerprint

Randomized with seed 8043

/usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --format documentation failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/schleuder returned exit code 1
make: *** [debian/rules:7: binary-indep] Error 25


See #962019 for discussion of a similar problem in a different package.



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