Actions
Bug #25824
closedTest failure with latest Sinatra: can't dup NilClass (TypeError)
Difficulty:
easy
Triaged:
Yes
Description
Recent change in Sinatra codebase fails one of our tests:
https://github.com/sinatra/sinatra/pull/1479#issuecomment-453034886
can't dup NilClass (TypeError) /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `dup' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `block in dispatch!' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `each' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `dispatch!' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:924:in `block in call!' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `block in invoke' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `catch' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `invoke' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:924:in `call!' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:913:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/xss_header.rb:18:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/path_traversal.rb:16:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/json_csrf.rb:26:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/base.rb:50:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/base.rb:50:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-protection-2.0.5/lib/rack/protection/frame_options.rb:31:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-2.0.6/lib/rack/null_logger.rb:9:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-2.0.6/lib/rack/head.rb:12:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:194:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/sinatra-2.0.5/lib/sinatra/base.rb:1957:in `call' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-test-1.1.0/lib/rack/mock_session.rb:29:in `request' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-test-1.1.0/lib/rack/test.rb:266:in `process_request' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-test-1.1.0/lib/rack/test.rb:129:in `custom_request' /usr/local/rvm/gems/ruby-2.3.5@test_proxy_develop_pr_core-1/gems/rack-test-1.1.0/lib/rack/test.rb:58:in `get' /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/forwardable.rb:204:in `get' /var/lib/workspace/workspace/test_proxy_develop_pr_core/puppet/4.10.0/ruby/2.3/test/bmc/bmc_api_test.rb:179:in `test_api_recovers_from_nil_provider'
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/628 added
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/629 added
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/630 added
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/631 added
Updated by Anonymous almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 515a57ce728a6ea66db0f579b33a91f40f79b883.
Updated by Tomer Brisker almost 6 years ago
- Fixed in Releases deleted (
)
With 1.21 due soon, there will likely not be a 1.19.2 release. Removing.
Actions