Open WilliamFoster opened 7 years ago
@WilliamFoster : Have you added hive-runner-android gem in Gemfile?
If not, add gem 'hive-runner-android'
in Gemfile and do bundle install
and try again.
@Asimk21 : that step has already been done and nothing has changed :(
cannot load such file -- hive/controller/android (LoadError)
looks like it couldn't find 'hive-runner-android' gem. Can you please check the hive-runner-android
version please?
bundle show hive-runner-android
@Asimk21 :
bundle show hive-runner-android /var/lib/gems/2.3.0/gems/hive-runner-android-1.2.14
bundle show hive-runner /var/lib/gems/2.3.0/gems/hive-runner-2.1.2
there you go
Can you please paste the top (controllers) section of your settings file.
@jrmhaig
controllers:
shell:
# Number of shell workers to allocate
workers: 5
# Queue for each shell worker
queues:
- bash
# Number of ports to allocate to each shell worker
port_range_size: 50
name_stub: SHELL_WORKER
android:
port_range_size: 10
name_stub: ANDROID_WORKER
That looks OK. Do you want to join the Gitter channel - https://gitter.im/bbc/hive-ci
Hi,
I cannot seem to understand what is happening there it happens after i add in the settings.yml the android workers. Everything else is running fine. Here are the logs you seem to need in order to help me after checking some questions that were already asked.
start_hive: process with pid 8541 started. Starting Hive at 2017-02-13 17:16:23 +0100 NOTE: Specification.all called from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/bin/start_hive:27:in'
<top (required)>' /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/lib/hive/register.rb:36:in
require': cannot load such file -- hive/controller/android (LoadError) from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/lib/hive/register.rb:36:inblock in instantiate_controllers' from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/lib/hive/register.rb:34:in
each' from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/lib/hive/register.rb:34:ininstantiate_controllers' from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/bin/start_hive:122:in
<top (required)>' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons/application.rb:219:inload' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons/application.rb:219:in
start_load' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons/application.rb:298:instart' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons/controller.rb:56:in
run' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons.rb:148:inblock in run' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons/cmdline.rb:92:in
catch_exceptions' from /var/lib/gems/2.3.0/gems/daemons-1.2.4/lib/daemons.rb:147:inrun' from /var/lib/gems/2.3.0/gems/hive-runner-2.1.21/bin/hived:31:in
<top (required)>' from /usr/local/bin/hived:22:inload' from /usr/local/bin/hived:22:in
bundle list daemons /var/lib/gems/2.3.0/gems/daemons-1.2.4