23 Jan 2019 |
Bubu | manually running the ndk provisioner seems to work so far. | 10:21:50 |
Bubu | I don't understand :-( | 10:21:56 |
Bubu | uniq: do you think it's feasible instead of extarcting the ndks in the VM to extract them on the outside and mount them ro inside the vm? | 10:26:44 |
Bubu | Finally got the error printed out | 11:05:28 |
Bubu | /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/ui.rb:242:in `initialize': can't create Thread: Resource temporarily unavailable (ThreadError)
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/ui.rb:242:in `new'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/ui.rb:242:in `say'
from (eval):3:in `info'
from (eval):9:in `info'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:43:in `handle_comm'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:91:in `block (3 levels) in provision_ssh'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:226:in `block (2 levels) in execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:521:in `block (3 levels) in shell_execute'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:585:in `do_data'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:593:in `channel_data'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:479:in `dispatch_incoming_packets'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:225:in `preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:206:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:170:in `block in loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:170:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:170:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:269:in `wait'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:614:in `shell_execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:219:in `block in execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:316:in `connect'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/communicators/ssh/communicator.rb:213:in `execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:86:in `block (2 levels) in provision_ssh'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:60:in `tap'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:60:in `block in provision_ssh'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:225:in `with_script_file'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:58:in `provision_ssh'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/provisioners/shell/provisioner.rb:24:in `provision'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/provision.rb:133:in `run_provisioner'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/environment.rb:445:in `hook'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/provision.rb:121:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/provision.rb:121:in `block in call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/provision.rb:103:in `each'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/provision.rb:103:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/call.rb:53:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/call.rb:53:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/warden.rb:34:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/builder.rb:116:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `block in run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/action/runner.rb:66:in `run'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/machine.rb:225:in `action_raw'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/machine.rb:200:in `block in action'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/environment.rb:533:in `lock'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/machine.rb:186:in `call'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/machine.rb:186:in `action'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/commands/provision/command.rb:30:in `block in execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/plugin/v2/command.rb:235:in `block in with_target_vms'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/plugin/v2/command.rb:229:in `each'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/plugin/v2/command.rb:229:in `with_target_vms'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/plugins/commands/provision/command.rb:29:in `execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/cli.rb:42:in `execute'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/lib/vagrant/environment.rb:274:in `cli'
from /usr/share/rubygems-integration/all/gems/vagrant-1.9.1/bin/vagrant:122:in `<top (required)>'
from /usr/bin/vagrant:22:in `load'
from /usr/bin/vagrant:22:in `<main>'
| 11:05:46 |
_hc | Bubu: the makebuildserver process has worked many times, I think the problem is elsewhere | 11:15:43 |
_hc | Bubu: like is your VM running out of RAM? | 11:15:54 |
Bubu | _hc: possibly? | 11:16:09 |
_hc | it hsould be min 8GB ram | 11:16:13 |
Bubu | but this is running the ansible bootstrap process | 11:16:21 |
Bubu | which controls the whole stack | 11:16:25 |
Bubu | so this shouldn;t happen | 11:16:30 |
Bubu | and extarcting a zip archive shouldn;t take 8 GB of ram | 11:16:48 |
_hc | remember, it is a VM in a VM | 11:17:16 |
_hc | your first level VM has too little RAM | 11:18:33 |
_hc | libvirt.memory = 4608
| 11:18:34 |
_hc | thatÅ› the problem | 11:18:34 |
_hc | that needs to be min 8GB | 11:18:35 |
_hc | that is not controlled by the ansible script | 11:18:36 |
_hc | but was manually set | 11:18:36 |
Bubu | I didn't set anything manually | 11:19:00 |
_hc | I guess uniq did then | 11:19:14 |
_hc | compare it to the other running buildserver instances | 11:19:29 |
_hc | e.g. /root/code/fdroid/fdroid-bootstrap-buildserver | 11:20:03 |
_hc | if the nested VM uses more RAM than the base VM, then itll always fail | 11:21:01 |
Bubu | I'll try with more ram later | 11:21:14 |
_hc | the buildserver host VM needs 2GB free on its own | 11:21:15 |
_hc | so 2GB + whatever you set the buildserver guest to | 11:21:32 |
_hc | 8GB for buildserver host and 6GB for buildserver guest works well | 11:21:46 |
_hc | you might as well use like 8-16 CPUs also | 11:22:08 |