[DRE-maint] Bug#868750: ruby-sham-rack FTBFS: test failures

Adrian Bunk bunk at debian.org
Tue Jul 18 09:15:37 UTC 2017


Source: ruby-sham-rack
Version: 1.3.6-6
Severity: serious
Tags: buster sid

Some recent change in usntable makes ruby-sham-rack FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-sham-rack.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-sham-rack.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-sham-rack-1.3.6/debian/ruby-sham-rack/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-sham-rack/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
.............*...................F.*F*.*

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) ShamRack mounted Rack application can be accessed using Patron
     # Temporarily skipped with xit
     # ./spec/sham_rack_spec.rb:60

  2) ShamRack Rack environment supports POST using Patron
     # Temporarily skipped with xit
     # ./spec/sham_rack_spec.rb:316

  3) ShamRack Rack environment supports PUT using Patron
     # Temporarily skipped with xit
     # ./spec/sham_rack_spec.rb:339

  4) ShamRack Rack environment supports DELETE using Patron
     # Temporarily skipped with xit
     # ./spec/sham_rack_spec.rb:359

Failures:

  1) ShamRack Rack environment supports POST
     Failure/Error: expect(env["rack.input"].read).to eq("q=rack")

       expected: "q=rack"
            got: ""

       (compared using ==)
     # ./spec/sham_rack_spec.rb:301:in `block (3 levels) in <top (required)>'

  2) ShamRack Rack environment supports PUT
     Failure/Error: expect(env["rack.input"].read).to eq("stuff")

       expected: "stuff"
            got: ""

       (compared using ==)
     # ./spec/sham_rack_spec.rb:335:in `block (3 levels) in <top (required)>'

Finished in 0.62369 seconds (files took 3.11 seconds to load)
40 examples, 2 failures, 4 pending

Failed examples:

rspec ./spec/sham_rack_spec.rb:295 # ShamRack Rack environment supports POST
rspec ./spec/sham_rack_spec.rb:329 # ShamRack Rack environment supports PUT

/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-sham-rack-1.3.6/debian/ruby-sham-rack returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1


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