You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests / device mocks are currently little tricky to run due to the dependence or Orchestrator. These should be integrated into something that Travis can work with.
It should be possible to get this up an running with the aca0/engine container, but there's a dependency on it talking to couchbase during the spin up.
$ docker run aca0/engine rake module:test['../aca-device-modules/modules/extron/switcher/dxp_spec.rb']
rake aborted!
Libcouchbase::Error::Invalid: failed to create instance
/usr/local/bundle/gems/libcouchbase-1.0.4/lib/libcouchbase/bucket.rb:24:in `initialize'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/connection.rb:13:in `new'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/connection.rb:13:in `bucket'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/base.rb:52:in `bucket'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/views.rb:119:in `ensure_design_document!'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/railtie.rb:89:in `block (2 levels) in <class:Railtie>'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/railtie.rb:88:in `each'
/usr/local/bundle/gems/couchbase-orm-1.0.0/lib/couchbase-orm/railtie.rb:88:in `block in <class:Railtie>'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `each'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
/home/aca-apps/ruby-engine-app/config/environment.rb:5:in `<top (required)>'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/application.rb:329:in `require'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/application.rb:329:in `require_environment!'
/usr/local/bundle/gems/railties-5.1.4/lib/rails/application.rb:445:in `block in run_tasks_blocks'
/usr/local/bundle/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
---- continuation ----
/usr/local/bundle/gems/libuv-3.2.2/lib/libuv/reactor.rb:174:in `block in run'
/usr/local/bundle/gems/libuv-3.2.2/lib/libuv/fiber_pool.rb:19:in `block in exec'
/usr/local/bundle/gems/libuv-3.2.2/lib/libuv/fiber_pool.rb:76:in `block (2 levels) in new_fiber'
/usr/local/bundle/gems/libuv-3.2.2/lib/libuv/fiber_pool.rb:73:in `loop'
/usr/local/bundle/gems/libuv-3.2.2/lib/libuv/fiber_pool.rb:73:in `block in new_fiber'
Tasks: TOP => module:test => environment
(See full trace by running task with --trace)
ENGINE_NODE_ID env var not set
Need to look into a way of running these with the smallest amount of overhead.
The text was updated successfully, but these errors were encountered:
Tests / device mocks are currently little tricky to run due to the dependence or Orchestrator. These should be integrated into something that Travis can work with.
It should be possible to get this up an running with the aca0/engine container, but there's a dependency on it talking to couchbase during the spin up.
$ docker run aca0/engine rake module:test['../aca-device-modules/modules/extron/switcher/dxp_spec.rb']
Need to look into a way of running these with the smallest amount of overhead.
The text was updated successfully, but these errors were encountered: