sous-chefs / sc-mongodb

Development repository for the sc-mongodb cookbook
https://supermarket.chef.io/cookbooks/sc-mongodb
Apache License 2.0
75 stars 91 forks source link

Failing Test: mongos-ubuntu-1004 #61

Closed zarry closed 7 years ago

zarry commented 9 years ago
I, [2015-07-15T21:54:30.679368 #39876]  INFO -- mongos-ubuntu-1004: -----> Cleaning up any prior instances of <mongos-ubuntu-1004>
I, [2015-07-15T21:54:30.679792 #39876]  INFO -- mongos-ubuntu-1004: -----> Destroying <mongos-ubuntu-1004>...
I, [2015-07-15T21:54:30.680594 #39876]  INFO -- mongos-ubuntu-1004: Finished destroying <mongos-ubuntu-1004> (0m0.00s).
I, [2015-07-15T21:54:30.680889 #39876]  INFO -- mongos-ubuntu-1004: -----> Testing <mongos-ubuntu-1004>
I, [2015-07-15T21:54:30.680971 #39876]  INFO -- mongos-ubuntu-1004: -----> Creating <mongos-ubuntu-1004>...
I, [2015-07-15T21:54:32.837738 #39876]  INFO -- mongos-ubuntu-1004: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T21:54:33.138693 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Importing base box 'opscode-ubuntu-10.04'...
I, [2015-07-15T21:54:41.167878 #39876]  INFO -- mongos-ubuntu-1004: 
Progress: 10%
Progress: 30%
Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
==> default: Matching MAC address for NAT networking...
I, [2015-07-15T21:54:42.194082 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
I, [2015-07-15T21:54:44.610655 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Fixed port collision for 22 => 2222. Now on port 2215.
I, [2015-07-15T21:54:44.674193 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T21:54:44.727682 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T21:54:44.727980 #39876]  INFO -- mongos-ubuntu-1004:     default: Adapter 1: nat
I, [2015-07-15T21:54:44.779411 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Forwarding ports...
I, [2015-07-15T21:54:44.862807 #39876]  INFO -- mongos-ubuntu-1004:     default: 22 => 2215 (adapter 1)
I, [2015-07-15T21:54:45.039465 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T21:54:45.084401 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Booting VM...
I, [2015-07-15T21:54:45.419972 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T21:54:45.820289 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH address: 127.0.0.1:2215
I, [2015-07-15T21:54:45.820497 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH username: vagrant
I, [2015-07-15T21:54:45.820521 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH auth method: private key
I, [2015-07-15T21:55:00.984978 #39876]  INFO -- mongos-ubuntu-1004:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T21:55:01.780278 #39876]  INFO -- mongos-ubuntu-1004:     default: 
I, [2015-07-15T21:55:01.780425 #39876]  INFO -- mongos-ubuntu-1004:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T21:55:01.780494 #39876]  INFO -- mongos-ubuntu-1004:     default: this with a newly generated keypair for better security.
I, [2015-07-15T21:55:02.216184 #39876]  INFO -- mongos-ubuntu-1004:     default: 
I, [2015-07-15T21:55:02.216241 #39876]  INFO -- mongos-ubuntu-1004:     default: Inserting generated public key within guest...
I, [2015-07-15T21:55:02.389373 #39876]  INFO -- mongos-ubuntu-1004:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T21:55:02.467255 #39876]  INFO -- mongos-ubuntu-1004:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T21:55:03.515694 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Machine booted and ready!
I, [2015-07-15T21:55:03.516133 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Checking for guest additions in VM...
I, [2015-07-15T21:55:03.580503 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Setting hostname...
I, [2015-07-15T21:55:03.853084 #39876]  INFO -- mongos-ubuntu-1004: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T21:55:03.853156 #39876]  INFO -- mongos-ubuntu-1004: Vagrant assumes that this means the command failed!
I, [2015-07-15T21:55:03.853178 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853194 #39876]  INFO -- mongos-ubuntu-1004: hostnamectl set-hostname 'mongos-ubuntu-1004'
I, [2015-07-15T21:55:03.853208 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853221 #39876]  INFO -- mongos-ubuntu-1004: Stdout from the command:
I, [2015-07-15T21:55:03.853234 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853247 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853260 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853273 #39876]  INFO -- mongos-ubuntu-1004: Stderr from the command:
I, [2015-07-15T21:55:03.853367 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853398 #39876]  INFO -- mongos-ubuntu-1004: stdin: is not a tty
I, [2015-07-15T21:55:03.853413 #39876]  INFO -- mongos-ubuntu-1004: bash: line 2: hostnamectl: command not found
E, [2015-07-15T21:55:03.903576 #39876] ERROR -- mongos-ubuntu-1004: Create failed on instance <mongos-ubuntu-1004>.
E, [2015-07-15T21:55:03.903817 #39876] ERROR -- mongos-ubuntu-1004: ------Exception-------
E, [2015-07-15T21:55:03.903984 #39876] ERROR -- mongos-ubuntu-1004: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T21:55:03.904002 #39876] ERROR -- mongos-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

Progress: 10%
Progress: 30%
Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
==> default: Fixed port collision for 22 => 2222. Now on port 2215.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2215 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2215
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1004'

Stdout from the command:

Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:55:03.904042 #39876] ERROR -- mongos-ubuntu-1004: ---Nested Exception---
E, [2015-07-15T21:55:03.904056 #39876] ERROR -- mongos-ubuntu-1004: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T21:55:03.904070 #39876] ERROR -- mongos-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

Progress: 10%
Progress: 30%
Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
==> default: Fixed port collision for 22 => 2222. Now on port 2215.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2215 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2215
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1004'

Stdout from the command:

Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:55:03.904113 #39876] ERROR -- mongos-ubuntu-1004: ------Backtrace-------
E, [2015-07-15T21:55:03.904127 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T21:55:03.904140 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T21:55:03.904152 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T21:55:03.904171 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T21:55:03.904185 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T21:55:03.904197 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T21:55:03.904208 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T21:55:03.904220 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T21:55:03.904233 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T21:55:03.904267 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T21:55:03.904280 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T21:55:03.904292 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T21:55:03.904303 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T21:55:03.904315 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:55:03.904333 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T21:55:03.904357 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T21:55:03.904381 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T21:55:03.904546 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T21:55:03.904573 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T21:55:03.904600 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T21:55:03.904615 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T21:55:03.904629 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T21:55:03.904644 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:55:03.904656 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T21:55:03.904671 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T21:55:03.904688 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T21:55:03.904700 #39876] ERROR -- mongos-ubuntu-1004: ----------------------
rex commented 9 years ago

hostnamectl not found.

stdin: is not a tty
bash: line 2: hostnamectl: command not found
shortdudey123 commented 7 years ago

Ubuntu 10.04 has long since been EOL'd

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.