[DRE-maint] Bug#918605: ruby-rspec-rails FTBFS with rails 5.2

Adrian Bunk bunk at debian.org
Mon Jan 7 18:24:10 GMT 2019


Source: ruby-rspec-rails
Version: 3.8.0-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rspec-rails.html

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

RUBYLIB=/build/1st/ruby-rspec-rails-3.8.0/debian/ruby-rspec-rails/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rspec-rails/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/rspec/\*\*/\*_spec.rb --format documentation
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 3554

ActiveJob matchers
  have_been_enqueued
    passes with default jobs count (exactly one)
    counts all enqueued jobs
    fails when job is not enqueued
    passes when negated
  have_enqueued_job
    passes when using alias
    fails when too many jobs enqueued
    passes multiple arguments to with block
    reports correct number in fail error message
    raises ArgumentError when no Proc passed to expect
    generates failure message with at most hint
    passes with :thrice count
    does not have an enqueued job when providing at of :no_wait and there is a wait
    generates failure message with at least hint
    passes with multiple jobs
    passes with provided arguments containing global id object
    fails with with block with incorrect data
    throws descriptive error when no test adapter set
    passes with at_most count when enqueued jobs are under limit
    passes with job name
    passes with at_least count when enqueued jobs are over limit
    passes with default jobs count (exactly one)
    only calls with block if other conditions are met
    passes with :twice count
    generates failure message with all provided options
    has an enqueued job when providing at of :no_wait and there is no wait
    passes with provided queue name
    fails when job is not enqueued
    passes with provided argument matchers
    passes with :once count
    passess deserialized arguments to with block
    passes with provided arguments
    has an enqueued job when not providing at and there is a wait
    passes with provided at date
    passes when negated
    counts only jobs enqueued in block
    fails when negated and job is enqueued

RSpec::Rails::ViewExampleGroup
  routes helpers collides with asset helpers
    uses routes helpers
  #view
    delegates to _view
    is accessible to hooks
  behaves like an rspec-rails example group mixin
    adds does not add `:type` metadata on inclusion
    when `infer_spec_type_from_file_location!` is configured
      includes itself in example groups tagged with `:type => :view`
      for an example group defined in a file in the .\spec\views\ directory
        allows users to override the type
        applies configured `before(:context)` hooks with `:type => :view` metadata
        includes itself in the example group
        tags groups in that directory with `:type => :view`
      for an example group defined in a file in the ./spec/views/ directory
        tags groups in that directory with `:type => :view`
        applies configured `before(:context)` hooks with `:type => :view` metadata
        allows users to override the type
        includes itself in the example group
    when `infer_spec_type_from_file_location!` is not configured
      includes itself in example groups tagged with `:type => :view`
      for an example group defined in a file in the ./spec/views/ directory
        does not tag groups in that directory with `:type => :view`
        does not include itself in the example group
      for an example group defined in a file in the .\spec\views\ directory
        does not include itself in the example group
        does not tag groups in that directory with `:type => :view`
  #render
    given no input
      sends render(:template => (described file)) to the view
      converts the filename components into render options
    given a string
      sends string as the first arg to render
    given a hash
      sends the hash as the first arg to render
  #_controller_path
    with a common _default_file_to_render
      it returns the directory
    with a nested _default_file_to_render
      it returns the directory path
  #params
    delegates to the controller
  automatic inclusion of helpers
    operates normally when the view has no path and there is a Helper class defined
    operates normally when no helper with the same name exists
    includes the namespaced helper with the same name
    includes the helper with the same name
    application helper exists
      includes the application helper
    no application helper exists
      operates normally
  #template
    delegates to #view
    is deprecated
  #stub_template
    caches FixtureResolver instances between example groups
    prepends an ActionView::FixtureResolver to the view path

RSpec::Rails::MinitestLifecycleAdapter
  allows let variables named 'send'
  invokes minitest lifecycle hooks at the appropriate times

RSpec::Rails::SystemExampleGroup
  #method_name
LoadError: cannot load such file -- capybara System test integration requires Rails >= 5.1 and has a hard dependency on a webserver and `capybara`, please add capybara to your Gemfile and configure a webserver (e.g. `Capybara.server = :webrick`) before attempting to use system tests.

Finished in 0.36259 seconds (files took 2.76 seconds to load)
74 examples, 0 failures

Randomized with seed 3554

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/rspec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-rspec-rails-3.8.0/debian/ruby-rspec-rails returned exit code 1
make: *** [debian/rules:6: binary] Error 1


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