Package: ruby-sentry-raven
Version: 2.13.0-1
Severity: important
User: pkg-ruby-extras-maintain...@lists.alioth.debian.org
Usertags: rails6-transition
Control: forwarded -1 https://github.com/getsentry/raven-ruby/issues/966

Hi,

This package's autopkgtest and rebuilds failed with rails 6 currently in
experimental. rails 6 will be uploaded to unstable in two weeks, so
please make sure this package is ready for rails 6. The severity of
this bug will be raised to serious after rails 6 is uploaded to
unstable.


Relevant errors,

Failures:

 1) Rails Integration doesn't do anything on a normal route
    Failure/Error: expect(response.status).to eq(200)

      expected: 200
           got: 403

      (compared using ==)
# ./spec/raven/integrations/rails_spec.rb:19:in `block (2 levels) in <top (required)>'

 2) Rails Integration should capture exceptions in production
    Failure/Error: expect(response.status).to eq(500)

      expected: 500
           got: 403

      (compared using ==)
# ./spec/raven/integrations/rails_spec.rb:26:in `block (2 levels) in <top (required)>'

 3) Rails Integration should properly set the exception's URL
Failure/Error: event = JSON.parse!(Raven.client.transport.events.first[1])

    NoMethodError:
      undefined method `[]' for nil:NilClass
# ./spec/raven/integrations/rails_spec.rb:35:in `block (2 levels) in <top (required)>'

 4) Rails Integration sets transaction to ControllerName#method
Failure/Error: event = JSON.parse!(Raven.client.transport.events.first[1])

    NoMethodError:
      undefined method `[]' for nil:NilClass
# ./spec/raven/integrations/rails_spec.rb:42:in `block (2 levels) in <top (required)>'

Finished in 1.48 seconds (files took 2.82 seconds to load)
289 examples, 4 failures, 2 pending

Failed examples:

rspec ./spec/raven/integrations/rails_spec.rb:16 # Rails Integration doesn't do anything on a normal route rspec ./spec/raven/integrations/rails_spec.rb:23 # Rails Integration should capture exceptions in production rspec ./spec/raven/integrations/rails_spec.rb:32 # Rails Integration should properly set the exception's URL rspec ./spec/raven/integrations/rails_spec.rb:39 # Rails Integration sets transaction to ControllerName#method

This is also reported upstream at https://github.com/getsentry/raven-ruby/issues/966

Reply via email to