Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LASKER] Manual backport 7740 #7752

Merged
merged 18 commits into from
Jun 2, 2021
Merged

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Jun 2, 2021

Manual backport of #7740 WITHOUT ca4fec8 since ManageIQ/manageiq#21108 was MASTER only and ems_automation_manager_show_list doesn't exist on lasker BUT automation_manager does exist so the existing code is fine and that commit is NOT needed on lasker.

EDIT:

I added 2 simple lasker only test fixes and 1 application_helper fix that makes it so tests don't have to be so strict to creating features they use in the tests.

@Fryguy Fryguy added the bug label Jun 2, 2021
@Fryguy Fryguy self-assigned this Jun 2, 2021
@miq-bot
Copy link
Member

miq-bot commented Jun 2, 2021

Checked commits jrafanie/manageiq-ui-classic@4ee1373~...e765797 with ruby 2.6.3, rubocop 1.13.0, haml-lint 0.35.0, and yamllint
18 files checked, 6 offenses detected

spec/controllers/automation_manager_controller_spec.rb

spec/controllers/ems_storage_controller_spec.rb

spec/controllers/miq_ae_customization_controller_spec.rb

spec/controllers/miq_report_controller/dashboards_spec.rb

spec/controllers/pxe_controller_spec.rb

@jrafanie
Copy link
Member Author

jrafanie commented Jun 2, 2021

I added 2 Lasker commits to fix easy things. See the commit list.
The remaining test failures are "hidden" by the last commit: "Lasker: Loosen requirements to seed features properly in test a backport"

This might be hiding actual bugs in the automation manager/configuration manager screens for non-admins. The reason why it's only in this area is there was a refactoring/renaming of many features and screens and we fixed the renamed/refactored areas on master, but haven't on lasker. Keep this is in mind if you navigate in these pages in the UI with a fully seeded database, there could be some pages that are using the wrong feature identifier.

Anyway, here's the test failures we're hiding by the last commit:

Failures:

  1) AutomationManagerController renders explorer sorted by url
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     ActionView::Template::Error:
       role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/presenters/menu/item.rb:38:in `visible?'
     # ./app/helpers/application_helper/navbar.rb:18:in `select'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:18:in `map'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:5:in `block in menu_to_json'
     # ./app/helpers/application_helper/navbar.rb:4:in `map'
     # ./app/helpers/application_helper/navbar.rb:4:in `menu_to_json'
     # ./app/views/layouts/_header.html.haml:7:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts__header_html_haml__4127172847492559307_70190899206960'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in `render'
     # ./app/views/layouts/application.html.haml:26:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts_application_html_haml__4501948842539325816_70191157773980'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:69:in `render_with_layout'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:13:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:in `block in _render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:116:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/streaming.rb:218:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:103:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:in `render'
     # ./app/controllers/application_controller.rb:222:in `block (2 levels) in render_exception'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
     # ./app/controllers/application_controller.rb:197:in `render_exception'
     # ./app/controllers/application_controller.rb:192:in `error_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `call'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:165:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:25:in `rescue in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:21:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:517:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:395:in `get'
     # ./spec/controllers/automation_manager_controller_spec.rb:64:in `block (2 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # RuntimeError:
     #   role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     #   ./app/helpers/application_helper.rb:114:in `role_allows?'

  2) AutomationManagerController renders explorer
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     ActionView::Template::Error:
       role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/presenters/menu/item.rb:38:in `visible?'
     # ./app/helpers/application_helper/navbar.rb:18:in `select'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:18:in `map'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:5:in `block in menu_to_json'
     # ./app/helpers/application_helper/navbar.rb:4:in `map'
     # ./app/helpers/application_helper/navbar.rb:4:in `menu_to_json'
     # ./app/views/layouts/_header.html.haml:7:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts__header_html_haml__4127172847492559307_70190899206960'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in `render'
     # ./app/views/layouts/application.html.haml:26:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts_application_html_haml__4501948842539325816_70191157773980'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:69:in `render_with_layout'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:13:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:in `block in _render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:116:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/streaming.rb:218:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:103:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:in `render'
     # ./app/controllers/application_controller.rb:222:in `block (2 levels) in render_exception'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
     # ./app/controllers/application_controller.rb:197:in `render_exception'
     # ./app/controllers/application_controller.rb:192:in `error_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `call'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:165:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:25:in `rescue in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:21:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:517:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:395:in `get'
     # ./spec/controllers/automation_manager_controller_spec.rb:50:in `block (2 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # RuntimeError:
     #   role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     #   ./app/helpers/application_helper.rb:114:in `role_allows?'

  3) AutomationManagerController renders the explorer based on RBAC renders explorer based on RBAC access to feature 'automation_manager_add_provider'
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     ActionView::Template::Error:
       role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_admin", "automation_manager_add_provider"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/presenters/menu/item.rb:38:in `visible?'
     # ./app/helpers/application_helper/navbar.rb:18:in `select'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:18:in `map'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:5:in `block in menu_to_json'
     # ./app/helpers/application_helper/navbar.rb:4:in `map'
     # ./app/helpers/application_helper/navbar.rb:4:in `menu_to_json'
     # ./app/views/layouts/_header.html.haml:7:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts__header_html_haml__4127172847492559307_70190899206960'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in `render'
     # ./app/views/layouts/application.html.haml:26:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts_application_html_haml__4501948842539325816_70191157773980'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:69:in `render_with_layout'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:13:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:in `block in _render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:116:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/streaming.rb:218:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:103:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:in `render'
     # ./app/controllers/application_controller.rb:222:in `block (2 levels) in render_exception'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
     # ./app/controllers/application_controller.rb:197:in `render_exception'
     # ./app/controllers/application_controller.rb:192:in `error_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `call'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:165:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:25:in `rescue in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:21:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:517:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:395:in `get'
     # ./spec/controllers/automation_manager_controller_spec.rb:87:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # RuntimeError:
     #   role_allows? no feature was found with identifier: ["automation_manager_configured_system"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_admin", "automation_manager_add_provider"]
     #   ./app/helpers/application_helper.rb:114:in `role_allows?'

  4) AutomationManagerController renders the explorer based on RBAC renders explorer based on RBAC access to feature 'automation_manager_configured_system_tag'
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     ActionView::Template::Error:
       role_allows? no feature was found with identifier: ["configuration_job_show_list"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_configured_system", "automation_manager_configured_system_control", "automation_manager_configured_system_tag"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/presenters/menu/item.rb:38:in `visible?'
     # ./app/helpers/application_helper/navbar.rb:18:in `select'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:18:in `map'
     # ./app/helpers/application_helper/navbar.rb:18:in `item_to_hash'
     # ./app/helpers/application_helper/navbar.rb:5:in `block in menu_to_json'
     # ./app/helpers/application_helper/navbar.rb:4:in `map'
     # ./app/helpers/application_helper/navbar.rb:4:in `menu_to_json'
     # ./app/views/layouts/_header.html.haml:7:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts__header_html_haml__4127172847492559307_70190899206960'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in `render'
     # ./app/views/layouts/application.html.haml:26:in `___sers_joerafaniello__ode_manageiq_ui_classic_app_views_layouts_application_html_haml__4501948842539325816_70191157773980'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:69:in `render_with_layout'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:13:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:in `block in _render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:116:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/streaming.rb:218:in `_render_template'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:103:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:in `render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in `ms'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:in `render'
     # ./app/controllers/application_controller.rb:222:in `block (2 levels) in render_exception'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
     # ./app/controllers/application_controller.rb:197:in `render_exception'
     # ./app/controllers/application_controller.rb:192:in `error_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `call'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:92:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/rescuable.rb:165:in `rescue_with_handler'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:25:in `rescue in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:21:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:517:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb:62:in `process'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/actionpack-6.0.3.7/lib/action_controller/test_case.rb:395:in `get'
     # ./spec/controllers/automation_manager_controller_spec.rb:76:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # RuntimeError:
     #   role_allows? no feature was found with identifier: ["automation_manager_providers"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_configured_system", "automation_manager_configured_system_control", "automation_manager_configured_system_tag"]
     #   ./app/helpers/application_helper.rb:114:in `role_allows?'

  5) AutomationManagerController renders tree_select renders tree_select for ansible tower job templates tree node
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     RuntimeError:
       role_allows? no feature was found with identifier: ["download_text"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:4:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:26:in `role_allows_feature?'
     # ./app/helpers/application_helper/button/basic.rb:79:in `skipped?'
     # ./app/helpers/application_helper/toolbar_builder.rb:73:in `toolbar_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:90:in `block in build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:181:in `build_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:446:in `block (2 levels) in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `block in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:16:in `build_toolbar'
     # ./app/helpers/application_helper.rb:460:in `build_toolbar'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:323:in `rebuild_toolbars'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:166:in `replace_right_cell'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:138:in `accordion_select'
     # ./spec/controllers/automation_manager_controller_spec.rb:284:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

  6) AutomationManagerController renders tree_select calls get_view with the associated dbname for the Configuration Scripts accordion
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     RuntimeError:
       role_allows? no feature was found with identifier: ["download_text"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:4:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:26:in `role_allows_feature?'
     # ./app/helpers/application_helper/button/basic.rb:79:in `skipped?'
     # ./app/helpers/application_helper/toolbar_builder.rb:73:in `toolbar_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:90:in `block in build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:181:in `build_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:446:in `block (2 levels) in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `block in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:16:in `build_toolbar'
     # ./app/helpers/application_helper.rb:460:in `build_toolbar'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:323:in `rebuild_toolbars'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:166:in `replace_right_cell'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:138:in `accordion_select'
     # ./spec/controllers/automation_manager_controller_spec.rb:339:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

  7) AutomationManagerController renders tree_select calls get_view with the associated dbname for the Ansible Tower Providers accordion
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     RuntimeError:
       role_allows? no feature was found with identifier: ["download_text"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:4:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:26:in `role_allows_feature?'
     # ./app/helpers/application_helper/button/basic.rb:79:in `skipped?'
     # ./app/helpers/application_helper/toolbar_builder.rb:73:in `toolbar_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:90:in `block in build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:181:in `build_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:446:in `block (2 levels) in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `block in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:16:in `build_toolbar'
     # ./app/helpers/application_helper.rb:460:in `build_toolbar'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:323:in `rebuild_toolbars'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:166:in `replace_right_cell'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:138:in `accordion_select'
     # ./spec/controllers/automation_manager_controller_spec.rb:320:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

  8) AutomationManagerController renders tree_select renders tree_select for one job template
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     RuntimeError:
       role_allows? no feature was found with identifier: ["vm_download_pdf"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:4:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:28:in `role_allows_feature?'
     # ./app/helpers/application_helper/button/basic.rb:79:in `skipped?'
     # ./app/helpers/application_helper/toolbar_builder.rb:73:in `toolbar_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:148:in `build_normal_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:182:in `build_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:446:in `block (2 levels) in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `block in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:16:in `build_toolbar'
     # ./app/helpers/application_helper.rb:460:in `build_toolbar'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:323:in `rebuild_toolbars'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:166:in `replace_right_cell'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:120:in `tree_select'
     # ./spec/controllers/automation_manager_controller_spec.rb:306:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

  9) AutomationManagerController renders tree_select calls get_view with the associated dbname for the Configured Systems accordion
     Failure/Error: raise("#{message} Note: detected features: #{identifiers.inspect}")

     RuntimeError:
       role_allows? no feature was found with identifier: ["download_text"].  Correct the identifier or add it to miq_product_features.yml. Note: detected features: ["everything", "automation_manager", "automation_manager_providers", "automation_manager_configured_system", "automation_manager_configuration_scripts_accord"]
     # ./app/helpers/application_helper.rb:114:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:4:in `role_allows?'
     # ./app/helpers/application_helper/button/basic.rb:26:in `role_allows_feature?'
     # ./app/helpers/application_helper/button/basic.rb:79:in `skipped?'
     # ./app/helpers/application_helper/toolbar_builder.rb:73:in `toolbar_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:90:in `block in build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:85:in `build_select_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:181:in `build_button'
     # ./app/helpers/application_helper/toolbar_builder.rb:446:in `block (2 levels) in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:445:in `block in build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `each_with_index'
     # ./app/helpers/application_helper/toolbar_builder.rb:440:in `build_toolbar_from_class'
     # ./app/helpers/application_helper/toolbar_builder.rb:16:in `build_toolbar'
     # ./app/helpers/application_helper.rb:460:in `build_toolbar'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:323:in `rebuild_toolbars'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:166:in `replace_right_cell'
     # ./app/controllers/mixins/automation_manager_controller_mixin.rb:138:in `accordion_select'
     # ./spec/controllers/automation_manager_controller_spec.rb:330:in `block (3 levels) in <top (required)>'
     # /Users/joerafaniello/.gem/ruby/2.6.6/gems/webmock-3.13.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

Finished in 11.98 seconds (files took 15.11 seconds to load)
43 examples, 9 failures

Failed examples:

rspec ./spec/controllers/automation_manager_controller_spec.rb:59 # AutomationManagerController renders explorer sorted by url
rspec ./spec/controllers/automation_manager_controller_spec.rb:47 # AutomationManagerController renders explorer
rspec ./spec/controllers/automation_manager_controller_spec.rb:84 # AutomationManagerController renders the explorer based on RBAC renders explorer based on RBAC access to feature 'automation_manager_add_provider'
rspec ./spec/controllers/automation_manager_controller_spec.rb:73 # AutomationManagerController renders the explorer based on RBAC renders explorer based on RBAC access to feature 'automation_manager_configured_system_tag'
rspec ./spec/controllers/automation_manager_controller_spec.rb:280 # AutomationManagerController renders tree_select renders tree_select for ansible tower job templates tree node
rspec ./spec/controllers/automation_manager_controller_spec.rb:333 # AutomationManagerController renders tree_select calls get_view with the associated dbname for the Configuration Scripts accordion
rspec ./spec/controllers/automation_manager_controller_spec.rb:313 # AutomationManagerController renders tree_select calls get_view with the associated dbname for the Ansible Tower Providers accordion
rspec ./spec/controllers/automation_manager_controller_spec.rb:297 # AutomationManagerController renders tree_select renders tree_select for one job template
rspec ./spec/controllers/automation_manager_controller_spec.rb:323 # AutomationManagerController renders tree_select calls get_view with the associated dbname for the Configured Systems accordion

Randomized with seed 6425

@Fryguy Fryguy merged commit dc4ab9d into ManageIQ:lasker Jun 2, 2021
@jrafanie jrafanie deleted the manual_backport_7740 branch June 16, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants