Project

General

Profile

Actions

Bug #27088

closed

Test fail locally: Error details for private method `select' called for nil:NilClass:

Added by Lukas Zapletal over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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>'
Actions

Also available in: Atom PDF