-
Notifications
You must be signed in to change notification settings - Fork 27
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
Test ManageIQ w/Rails 6 #179
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NickLaMuro
force-pushed
the
rails-6
branch
2 times, most recently
from
September 28, 2020 23:31
1222a73
to
8e41be7
Compare
Previous Error$ bundle exec rspec
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<Hamlit::RailsTemplate:0x00007f8ed68b2bc8>.call(template)
To:
>> #<Hamlit::RailsTemplate:0x00007f8ed68b2bc8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** Using session_store: ActionDispatch::Session::MemoryStore
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<ActionView::Template::Handlers::RJS:0x00007f8ecf616cb8>.call(template)
To:
>> #<ActionView::Template::Handlers::RJS:0x00007f8ecf616cb8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** ManageIQ master, codename: Kasparov
An error occurred while loading spec_helper.
Failure/Error: require 'rspec/rails'
TypeError:
superclass mismatch for class TestSession
# ~/.gem/ruby/2.6.3/gems/actionpack-6.0.3.3/lib/action_controller/test_case.rb:179:in `<module:ActionController>'
# ~/.gem/ruby/2.6.3/gems/actionpack-6.0.3.3/lib/action_controller/test_case.rb:13:in `<top (required)>'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ./spec/spec_helper.rb:11:in `<top (required)>'
No examples found.
Finished in 0.00005 seconds (files took 8.53 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples Previous Error$ bundle exec rspec
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<Hamlit::RailsTemplate:0x00007fbbc73f65d0>.call(template)
To:
>> #<Hamlit::RailsTemplate:0x00007fbbc73f65d0>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** Using session_store: ActionDispatch::Session::MemoryStore
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<ActionView::Template::Handlers::RJS:0x00007fbbc2b8bae8>.call(template)
To:
>> #<ActionView::Template::Handlers::RJS:0x00007fbbc2b8bae8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** ManageIQ master, codename: Kasparov
An error occurred while loading spec_helper.
Failure/Error: extend RSpec::Mocks::ExampleMethods
NameError:
uninitialized constant RSpec::Mocks::ExampleMethods
# ./spec/support/evm_spec_helper.rb:13:in `<module:EvmSpecHelper>'
# ./spec/support/evm_spec_helper.rb:12:in `<top (required)>'
# ./spec/spec_helper.rb:21:in `block in <top (required)>'
# ./spec/spec_helper.rb:21:in `each'
# ./spec/spec_helper.rb:21:in `<top (required)>'
No examples found.
Finished in 0.00004 seconds (files took 8.12 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples Previous Error$ bundle exec rspec
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<Hamlit::RailsTemplate:0x00007fbbc73f65d0>.call(template)
To:
>> #<Hamlit::RailsTemplate:0x00007fbbc73f65d0>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** Using session_store: ActionDispatch::Session::MemoryStore
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<ActionView::Template::Handlers::RJS:0x00007fbbc2b8bae8>.call(template)
To:
>> #<ActionView::Template::Handlers::RJS:0x00007fbbc2b8bae8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** ManageIQ master, codename: Kasparov
An error occurred while loading spec_helper.
Failure/Error: extend RSpec::Mocks::ExampleMethods
NameError:
uninitialized constant RSpec::Mocks::ExampleMethods
# ./spec/support/evm_spec_helper.rb:13:in `<module:EvmSpecHelper>'
# ./spec/support/evm_spec_helper.rb:12:in `<top (required)>'
# ./spec/spec_helper.rb:21:in `block in <top (required)>'
# ./spec/spec_helper.rb:21:in `each'
# ./spec/spec_helper.rb:21:in `<top (required)>'
No examples found.
Finished in 0.00004 seconds (files took 8.12 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples Current Error$ bundle exec rspec
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<Hamlit::RailsTemplate:0x00007fcc104cf5e8>.call(template)
To:
>> #<Hamlit::RailsTemplate:0x00007fcc104cf5e8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** Using session_store: ActionDispatch::Session::MemoryStore
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
>> #<ActionView::Template::Handlers::RJS:0x00007fcc10b7d9a8>.call(template)
To:
>> #<ActionView::Template::Handlers::RJS:0x00007fcc10b7d9a8>.call(template, source)
(called from <top (required)> at ~/code/redhat/manageiq/config/environment.rb:5)
** ManageIQ master, codename: Kasparov
DEPRECATION WARNING: `Module#parent` has been renamed to `module_parent`. `parent` is deprecated and will be removed in Rails 6.1. (called from <module:ComponentAnsibleSender> at ~/.gem/ruby/2.6.3/bundler/gems/manageiq-providers-lenovo-74eba67225f5/app/models/manageiq/providers/lenovo/physical_infra_manager/operations/component_ansible_sender.rb:7)
An error occurred while loading ./spec/tools/radar/rollup_radar_mixin_spec.rb. - Did you mean?
rspec ./spec/models/metric/ci_mixin/rollup_spec.rb
Failure/Error: require './tools/radar/rollup_radar_mixin.rb'
LoadError:
Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-1.3.13. Make sure all dependencies are added to Gemfile.
# ~/.gem/ruby/2.6.3/gems/activerecord-6.0.3.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:13:in `<top (required)>'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activerecord-6.0.3.3/lib/active_record/connection_adapters/connection_specification.rb:169:in `spec'
# ~/.gem/ruby/2.6.3/gems/activerecord-6.0.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:1052:in `establish_connection'
# ~/.gem/ruby/2.6.3/gems/activerecord-6.0.3.3/lib/active_record/connection_handling.rb:51:in `establish_connection'
# ./tools/radar/rollup_radar_mixin.rb:16:in `<class:MaxByLabel>'
# ./tools/radar/rollup_radar_mixin.rb:15:in `<module:RollupRadarMixin>'
# ./tools/radar/rollup_radar_mixin.rb:11:in `<top (required)>'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
# ./spec/tools/radar/rollup_radar_mixin_spec.rb:1:in `<top (required)>'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:318:in `load'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:318:in `block in load'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
# ~/.gem/ruby/2.6.3/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:318:in `load'
# ------------------
# --- Caused by: ---
# Gem::LoadError:
# can't activate sqlite3 (~> 1.4), already activated sqlite3-1.3.13. Make sure all dependencies are added to Gemfile.
# ~/.gem/ruby/2.6.3/gems/activerecord-6.0.3.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:13:in `<top (required)>'
Finished in 0.00006 seconds (files took 42.06 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples |
39 tasks
NickLaMuro
force-pushed
the
rails-6
branch
9 times, most recently
from
October 28, 2020 18:22
6e28426
to
346c567
Compare
NickLaMuro
force-pushed
the
rails-6
branch
3 times, most recently
from
October 28, 2020 23:33
0f74f15
to
dd35934
Compare
This was referenced Nov 4, 2020
NickLaMuro
force-pushed
the
rails-6
branch
9 times, most recently
from
December 9, 2020 18:55
d2d4ca7
to
0f1c6ce
Compare
NickLaMuro
force-pushed
the
rails-6
branch
10 times, most recently
from
December 15, 2020 21:40
a23be3d
to
f1fd4ad
Compare
NickLaMuro
force-pushed
the
rails-6
branch
2 times, most recently
from
December 21, 2020 21:48
a37921c
to
f2733df
Compare
NickLaMuro
force-pushed
the
rails-6
branch
4 times, most recently
from
January 5, 2021 19:43
9324414
to
4c8cf2a
Compare
This has been merged. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently only updates the
Gemfile
. The PR will most likely be part of a long running effort, and can be used to track all of the necessary changes for the Rails 6 effort.Rails 6 PRs