Actions
Bug #27088
closedTest fail locally: Error details for private method `select' called for nil:NilClass:
Difficulty:
easy
Triaged:
Yes
Pull request:
Description
I am seeing this test to fail locally:
/home/lzap/work/smart-proxy/test/bmc/integration_test.rb:19:in `test_features' /home/lzap/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/json-2.2.0/lib/json/common.rb:156:in `parse' /home/lzap/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/json-2.2.0/lib/json/common.rb:156:in `parse' Error: test_features(BmcApiFeaturesTest): JSON::ParserError: 785: unexpected token at 'private method `select' called for nil:NilClass'
In logs I can see
2019-06-20T14:36:24 [E] private method `select' called for nil:NilClass 2019-06-20T14:36:24 [W] Error details for private method `select' called for nil:NilClass: <NoMethodError>: private method `select' called for nil:NilClass /home/lzap/work/smart-proxy/modules/root/root_v2_api.rb:31:in `process_capabilities' /home/lzap/work/smart-proxy/modules/root/root_v2_api.rb:19:in `block (2 levels) in <class:RootV2Api>' /home/lzap/work/smart-proxy/modules/root/root_v2_api.rb:17:in `each' /home/lzap/work/smart-proxy/modules/root/root_v2_api.rb:17:in `inject' /home/lzap/work/smart-proxy/modules/root/root_v2_api.rb:17:in `block in <class:RootV2Api>'
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/661 added
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c0980f971a44824903c679ee0238f59d1930fe55.
Actions