Started by upstream project "mongo-ruby-driver-1.x-stable" build number 16 originally caused by: Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on jsl3 in workspace /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set Checkout:replica-set / /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set - hudson.remoting.Channel@6cf5b81a:jsl3 Using strategy: Default Last Built Revision: Revision 0c6243f3308311d2b098778a70f3f79b868c04c6 (origin/1.x-stable) Fetching changes from 1 remote Git repository Fetching upstream changes from origin Commencing build of Revision e79164f3118120c08b54594d9676837186210523 (origin/1.x-stable) Checking out Revision e79164f3118120c08b54594d9676837186210523 (origin/1.x-stable) [replica-set] $ /bin/sh -xe /tmp/hudson7110257104271514745.sh + rm -rf /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/data executing script 'Ruby - Start Mongod' [replica-set] $ /bin/sh /tmp/build_step_template5250615342679321140.sh unstable-release replica-set *** Killing any existing MongoDB Processes which may not have shut down on a prior job. Found existing mongod Processes: ruby: no process killed *** Using Ruby Driver Cluster Manager *** executing script 'Ruby - Run Tests' [replica-set] $ /bin/sh /tmp/build_step_template3921301963649312201.sh 1.8.7-p374 unstable-release replica-set CWD: /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set Using rake (10.1.0) Using i18n (0.6.4) Using multi_json (1.7.8) Using activesupport (3.2.14) Using metaclass (0.0.1) Using mocha (0.14.0) Using bourne (1.5.0) Using json (1.8.0) Using rake-compiler (0.9.1) Using sfl (2.2) Using shoulda-context (1.1.4) Using shoulda-matchers (1.5.6) Using shoulda (3.5.0) Using simplecov-html (0.7.1) Using simplecov (0.7.1) Using test-unit (2.5.5) Using bundler (1.3.5) Your bundle is complete! Gems in the groups deploy and development were not installed. Use `bundle show [gemname]` to see where a bundled gem is installed. Loaded suite /mnt/jenkins/.rvm/gems/ruby-1.8.7-p374@global/gems/rake-10.1.0/lib/rake/rake_test_loader Started .............................................................E =============================================================================== Error: test_add_user(ReplicaSetAuthenticationTest) Mongo::OperationFailure: 13: not authorized for insert on ruby-test-db.system.users ./lib/mongo/networking.rb:103:in `send_message_with_gle' ./lib/mongo/collection.rb:1122:in `send_insert_message' ./lib/mongo/util/logging.rb:55:in `instrument' ./lib/mongo/util/logging.rb:20:in `instrument' ./lib/mongo/util/logging.rb:54:in `instrument' ./lib/mongo/collection.rb:1120:in `send_insert_message' ./lib/mongo/collection.rb:1111:in `insert_batch' ./lib/mongo/collection.rb:1170:in `insert_documents' ./lib/mongo/collection.rb:389:in `insert' ./lib/mongo/collection.rb:345:in `save' ./lib/mongo/db.rb:233:in `add_user' ./test/shared/authentication.rb:34:in `test_add_user' 31: end 32: 33: def test_add_user => 34: @db.add_user('bob','user') 35: assert @db['system.users'].find_one({:user => 'bob'}) 36: end 37: =============================================================================== E =============================================================================== Error: test_add_user(ReplicaSetAuthenticationTest) Mongo::OperationFailure: 13: not authorized to remove from admin.system.users ./lib/mongo/networking.rb:103:in `send_message_with_gle' ./lib/mongo/collection.rb:431:in `remove' ./lib/mongo/util/logging.rb:55:in `instrument' ./lib/mongo/util/logging.rb:20:in `instrument' ./lib/mongo/util/logging.rb:54:in `instrument' ./lib/mongo/collection.rb:429:in `remove' ./test/shared/authentication.rb:27:in `teardown' =============================================================================== E =============================================================================== Error: test_authenticate(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:36:35 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:36:35 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:36:35 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_authenticate(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_authenticate_non_existent_user(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:37:37 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:37:37 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:37:37 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_authenticate_non_existent_user(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_authenticate_read_only(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:38:39 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:38:39 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:38:39 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_authenticate_read_only(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_authenticate_with_connection_uri(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:39:41 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:39:42 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:39:42 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_authenticate_with_connection_uri(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_authenticate_with_special_characters(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:40:44 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:40:44 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:40:44 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_authenticate_with_special_characters(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_delegated_authentication(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:41:46 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:41:46 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:41:46 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_delegated_authentication(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_logout(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:42:48 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:42:48 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:42:48 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_logout(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_remove_non_existent_user(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:43:50 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:43:50 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:43:50 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_remove_non_existent_user(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== E =============================================================================== Error: test_remove_user(ReplicaSetAuthenticationTest) Mongo::OperationFailure: replSet startup failed - status: [[#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3000", "localhost:3002", "localhost:3001"], "primary"=>"localhost:3002", "tags"=>#"0"}>, "me"=>"localhost:3000", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:44:52 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>false, "secondary"=>true, "hosts"=>["localhost:3001", "localhost:3002", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"1"}>, "me"=>"localhost:3001", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:44:52 UTC 2013, "ok"=>1.0}>], [#0.0, "errmsg"=>"not authorized on admin to execute command { replSetGetStatus: 1 }", "code"=>13}>, #"ruby-driver-test", "setVersion"=>1, "ismaster"=>true, "secondary"=>false, "hosts"=>["localhost:3002", "localhost:3001", "localhost:3000"], "primary"=>"localhost:3002", "tags"=>#"2"}>, "me"=>"localhost:3002", "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "localTime"=>Tue Aug 06 20:44:52 UTC 2013, "ok"=>1.0}>]] ./test/tools/mongo_config.rb:406:in `repl_set_startup' ./test/tools/mongo_config.rb:562:in `start' ./test/test_helper.rb:75:in `ensure_cluster' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/test/replica_set/authentication_test.rb:23:in `setup' =============================================================================== E =============================================================================== Error: test_remove_user(ReplicaSetAuthenticationTest) NoMethodError: undefined method `logout' for nil:NilClass ./test/shared/authentication.rb:25:in `teardown' =============================================================================== Finished in 742.464309 seconds. 71 tests, 2731 assertions, 0 failures, 20 errors, 0 pendings, 0 omissions, 0 notifications 85.9155% passed 0.10 tests/s, 3.68 assertions/s rake aborted! Command failed with status (1): [ruby -I"lib:test" -I"/mnt/jenkins/.rvm/gems/ruby-1.8.7-p374@global/gems/rake-10.1.0/lib" "/mnt/jenkins/.rvm/gems/ruby-1.8.7-p374@global/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/replica_set/authentication_test.rb" "test/replica_set/basic_test.rb" "test/replica_set/client_test.rb" "test/replica_set/connection_test.rb" "test/replica_set/cursor_test.rb" "test/replica_set/insert_test.rb" "test/replica_set/max_values_test.rb" "test/replica_set/pinning_test.rb" "test/replica_set/query_test.rb" "test/replica_set/refresh_test.rb" "test/replica_set/replication_ack_test.rb" ] /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/tasks/testing.rake:28:in `call' /mnt/jenkins/workspace/mongo-ruby-driver-1.x-stable/mongodb_server/unstable-release/os_arch/linux64/ruby_language_version/1.8.7-p374/test_type/replica-set/tasks/testing.rake:28:in `enhance' /mnt/jenkins/.rvm/gems/ruby-1.8.7-p374@global/bin/ruby_noexec_wrapper:14 Tasks: TOP => test:replica_set (See full trace by running task with --trace) Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Build step 'Execute managed script' marked build as failure Notifying upstream projects of job completion Finished: FAILURE