Skip to content

Instantly share code, notes, and snippets.

@christophermancini
Created November 17, 2014 21:53
Show Gist options
  • Save christophermancini/de928a7626795f91f824 to your computer and use it in GitHub Desktop.
Save christophermancini/de928a7626795f91f824 to your computer and use it in GitHub Desktop.
[vagrant@localhost riak-ruby-client]$ bundle exec rake
/usr/bin/ruby -I/home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/lib:/home/vagrant/.gem/ruby/gems/rspec-support-3.1.2/lib /home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --profile
Run options:
include {:focus=>true}
exclude {:yes_security=>true}
All examples were filtered out; ignoring {:focus=>true}
...........FFFFF............................................................................................FFF..............................................................FF................................................................FFFFFFFFFFFFFFFF.........................F.FFFFF.........................................................................................................................................................................................................................FFF....FFF....................................................................FFFF....FFFFFFFFFFFFF............FFFFFFFFFFF........FFFFF..............................
Failures:
1) Yokozuna without any indexes allows index creation
Failure/Error: expect(@client.create_search_index(@index, "_yz_default", 3)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/index_spec.rb:14:in `block (3 levels) in <top (required)>'
2) Yokozuna with an index allows index inspection
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/index_spec.rb:20:in `block (3 levels) in <top (required)>'
3) Yokozuna with an index has an index list
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/index_spec.rb:20:in `block (3 levels) in <top (required)>'
4) Yokozuna with an index associates a bucket with an index
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/index_spec.rb:20:in `block (3 levels) in <top (required)>'
5) Yokozuna with an index associated with a bucket indexes on object writes
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/index_spec.rb:20:in `block (3 levels) in <top (required)>'
6) CRDT map validation deletes counters and increments counters
Failure/Error: let(:map){ Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `new'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/integration/riak/crdt_validation/map_spec.rb:30:in `block (2 levels) in <top (required)>'
7) CRDT map validation deletes sets and re-add entries
Failure/Error: let(:map){ Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `new'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/integration/riak/crdt_validation/map_spec.rb:9:in `block (2 levels) in <top (required)>'
8) CRDT map validation deletes maps containing sets and re-adds the contained sets
Failure/Error: let(:map){ Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `new'
# ./spec/integration/riak/crdt_validation/map_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/integration/riak/crdt_validation/map_spec.rb:47:in `block (2 levels) in <top (required)>'
9) Yokozuna with no schema allows schema creation
Failure/Error: @client.create_search_schema(@schema, SCHEMA_CONTENT)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 60
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:399:in `block in create_search_schema'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:397:in `create_search_schema'
# ./lib/riak/client/yokozuna.rb:40:in `block in create_search_schema'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:39:in `create_search_schema'
# ./spec/integration/yokozuna/schema_spec.rb:14:in `block (3 levels) in <top (required)>'
10) Yokozuna with a schema has a readable schema
Failure/Error: @client.create_search_schema(@schema, SCHEMA_CONTENT)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 60
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:399:in `block in create_search_schema'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:397:in `create_search_schema'
# ./lib/riak/client/yokozuna.rb:40:in `block in create_search_schema'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:39:in `create_search_schema'
# ./spec/integration/yokozuna/schema_spec.rb:21:in `block (3 levels) in <top (required)>'
11) Bucket Types nested bucket types API performing key-value operations lists keys only for the type
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:50:in `block (4 levels) in <top (required)>'
12) Bucket Types nested bucket types API performing key-value operations initializes with a bucket type
Failure/Error: o.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:32:in `block (4 levels) in <top (required)>'
13) Bucket Types nested bucket types API performing key-value operations only retrieves with a bucket type
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:39:in `block (4 levels) in <top (required)>'
14) Bucket Types nested bucket types API performing key-value operations multigets keys
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:76:in `block (4 levels) in <top (required)>'
15) Bucket Types nested bucket types API performing key-value operations reloads with a bucket type
Failure/Error: expect{ object.reload }.to_not raise_error
expected no Exception, got #<Riak::ProtobuffsErrorResponse: Expected success from Riak but received 0. no_type> with backtrace:
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:44:in `block (5 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:44:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:44:in `block (4 levels) in <top (required)>'
16) Bucket Types nested bucket types API performing key-value operations secondary indexes finds the correct object with a SecondaryIndex instance
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:21:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:83:in `block (5 levels) in <top (required)>'
17) Bucket Types nested bucket types API performing key-value operations deletion self-deletes with a bucket type
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:21:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:58:in `block (5 levels) in <top (required)>'
18) Bucket Types nested bucket types API performing key-value operations deletion deletes from the typed bucket
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:21:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:67:in `block (5 levels) in <top (required)>'
19) Bucket Types nested bucket types API performing key-value operations map-reduce map-reduces correctly with a typed bucket
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:100:in `block (5 levels) in <top (required)>'
20) Bucket Types nested bucket types API performing key-value operations map-reduce map-reduces correctly with a robject in a typed bucket
Failure/Error: object.store
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:16:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:111:in `block (5 levels) in <top (required)>'
21) Bucket Types nested bucket types API performing CRDT operations overrides default bucket types for CRDTs
Failure/Error: expect(untyped_counter.value).to eq 0
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"counters">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/counter.rb:29:in `value'
# ./spec/integration/riak/bucket_types_spec.rb:132:in `block (4 levels) in <top (required)>'
22) Bucket Types option-based bucket types API performing key-value operations deletes from the bucket only with a bucket type
Failure/Error: object.store type: bucket_type
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:154:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:164:in `block (4 levels) in <top (required)>'
23) Bucket Types option-based bucket types API performing key-value operations only retrieves with a bucket type
Failure/Error: expect{ bucket.get object.key, type: bucket_type }.to_not raise_error
expected no Exception, got #<Riak::ProtobuffsErrorResponse: Expected success from Riak but received 0. no_type> with backtrace:
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:154:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:159:in `block (5 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:159:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:159:in `block (4 levels) in <top (required)>'
24) Bucket Types option-based bucket types API performing key-value operations self-deletes only with a bucket type
Failure/Error: object.store type: bucket_type
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. no_type
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:137:in `block in store_object'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:135:in `store_object'
# ./lib/riak/client.rb:396:in `block in store_object'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:395:in `store_object'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/robject.rb:138:in `store'
# ./spec/integration/riak/bucket_types_spec.rb:154:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:172:in `block (4 levels) in <top (required)>'
25) Bucket Types option-based bucket types API performing CRDT set operations retrieves the set blob via key-value using a bucket type
Failure/Error: expect{ bucket.get set.key }.to raise_error /not_found/
expected Exception with message matching /not_found/, got #<Riak::ProtobuffsErrorResponse: Expected success from Riak but received 0. Error no bucket type `<<"sets">>`> with backtrace:
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:84:in `add'
# ./spec/integration/riak/bucket_types_spec.rb:184:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:189:in `block (5 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:189:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:189:in `block (4 levels) in <top (required)>'
26) Bucket Types option-based bucket types API performing CRDT set operations deletes the set blob through the bucket type
Failure/Error: set.add random_key
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:84:in `add'
# ./spec/integration/riak/bucket_types_spec.rb:184:in `block (4 levels) in <top (required)>'
# ./spec/integration/riak/bucket_types_spec.rb:194:in `block (4 levels) in <top (required)>'
27) CRDT set validation no-ops adding then removing a duplicate member
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:48:in `block (2 levels) in <top (required)>'
28) CRDT set validation removes non-members with context
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:20:in `block (2 levels) in <top (required)>'
29) CRDT set validation no-ops removing then re-adding a set member
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:68:in `block (2 levels) in <top (required)>'
30) CRDT set validation adds duplicate members
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:34:in `block (2 levels) in <top (required)>'
31) CRDT set validation parallel operations removes with up-to-date context
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:89:in `block (3 levels) in <top (required)>'
32) CRDT set validation parallel operations doesn't remove with outdated context
Failure/Error: set.batch do |s|
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:42:in `batch'
# ./spec/integration/riak/crdt_validation/set_spec.rb:106:in `block (3 levels) in <top (required)>'
33) Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes finds keys for a range query
Failure/Error: expect(@backend.get_index('test', 'index_int', 19..21)).to match_array(["19","20", "21"])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
Shared Example Group: "Unified backend API" called from ./spec/integration/riak/protobuffs_backends_spec.rb:17
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./spec/support/unified_backend_examples.rb:276:in `block (3 levels) in <top (required)>'
34) Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes finds keys for an equality query
Failure/Error: expect(@backend.get_index('test', 'index_int', 20)).to eq(["20"])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
Shared Example Group: "Unified backend API" called from ./spec/integration/riak/protobuffs_backends_spec.rb:17
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./spec/support/unified_backend_examples.rb:272:in `block (3 levels) in <top (required)>'
35) Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes returns an empty array for a query that does not match any keys
Failure/Error: expect(@backend.get_index('test', 'index_int', 10000)).to eq([])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
Shared Example Group: "Unified backend API" called from ./spec/integration/riak/protobuffs_backends_spec.rb:17
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./spec/support/unified_backend_examples.rb:280:in `block (3 levels) in <top (required)>'
36) Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API searching fulltext indexes finds indexed documents, returning ids
Failure/Error: Unable to find matching line from backtrace
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
Shared Example Group: "Unified backend API" called from ./spec/integration/riak/protobuffs_backends_spec.rb:17
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./spec/support/search_corpus_setup.rb:5:in `block (2 levels) in <top (required)>'
37) Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API searching fulltext indexes finds indexed documents, returning documents
Failure/Error: Unable to find matching line from backtrace
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
Shared Example Group: "Unified backend API" called from ./spec/integration/riak/protobuffs_backends_spec.rb:17
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./spec/support/search_corpus_setup.rb:5:in `block (2 levels) in <top (required)>'
38) Protocol Buffers BeefcakeProtobuffsBackend searching yokozuna returns documents with UTF-8 fields (GH #75)
Failure/Error: Unable to find matching line from backtrace
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./spec/support/search_corpus_setup.rb:5:in `block (2 levels) in <top (required)>'
39) CRDTs sets lets Riak silently accept removals after reload
Failure/Error: subject.add addition
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:84:in `add'
# ./spec/integration/riak/crdt_spec.rb:129:in `block (3 levels) in <top (required)>'
40) CRDTs sets allows straightforward set ops
Failure/Error: start = subject.members
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/set.rb:51:in `members'
# ./spec/integration/riak/crdt_spec.rb:114:in `block (3 levels) in <top (required)>'
41) CRDTs sets allows batched set ops
Failure/Error: subject.add 'zero'
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:84:in `add'
# ./spec/integration/riak/crdt_spec.rb:140:in `block (3 levels) in <top (required)>'
42) CRDTs sets asks for and accepts a returned body by default
Failure/Error: expect(subject.include? 'coffee').to_not be
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/set.rb:51:in `members'
# ./lib/riak/crdt/set.rb:76:in `include?'
# ./spec/integration/riak/crdt_spec.rb:154:in `block (3 levels) in <top (required)>'
43) CRDTs Riak-assigned names an anonymous set accepts a Riak-assigned name
Failure/Error: subject.add 'sandwich'
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"sets">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/set.rb:84:in `add'
# ./spec/integration/riak/crdt_spec.rb:53:in `block (4 levels) in <top (required)>'
44) CRDTs Riak-assigned names an anonymous counter accepts a Riak-assigned name
Failure/Error: subject.increment
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"counters">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/base.rb:122:in `block in operate'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/base.rb:121:in `operate'
# ./lib/riak/crdt/counter.rb:38:in `increment'
# ./spec/integration/riak/crdt_spec.rb:44:in `block (4 levels) in <top (required)>'
45) CRDTs Riak-assigned names an anonymous map accepts a Riak-assigned name
Failure/Error: subject.registers['coat_pattern'] = 'tabby'
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_operator.rb:40:in `block in operate'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_operator.rb:38:in `operate'
# ./lib/riak/crdt/map.rb:106:in `block in write_operations'
# ./lib/riak/crdt/base.rb:113:in `block in operator'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:112:in `operator'
# ./lib/riak/crdt/map.rb:105:in `write_operations'
# ./lib/riak/crdt/map.rb:56:in `batch'
# ./lib/riak/crdt/map.rb:64:in `operate'
# ./lib/riak/crdt/typed_collection.rb:116:in `[]='
# ./spec/integration/riak/crdt_spec.rb:62:in `block (4 levels) in <top (required)>'
46) CRDTs maps allows batched map ops
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:202:in `block (3 levels) in <top (required)>'
47) CRDTs maps allows straightforward map ops
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:170:in `block (3 levels) in <top (required)>'
48) CRDTs maps asks for and accepts a returned body by default
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:212:in `block (3 levels) in <top (required)>'
49) CRDTs maps containing a register bubbles straightforward register ops up
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:249:in `block (4 levels) in <top (required)>'
50) CRDTs maps containing a map bubbles straightforward map ops up
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:228:in `block (4 levels) in <top (required)>'
51) CRDTs maps containing a map includes inner-map ops in the outer-map batch
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:237:in `block (4 levels) in <top (required)>'
52) CRDTs maps containing a flag bubbles straightforward flag ops up
Failure/Error: subject { Riak::Crdt::Map.new bucket, random_key }
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"maps">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/map.rb:97:in `initialize_collections'
# ./lib/riak/crdt/map.rb:40:in `initialize'
# ./spec/integration/riak/crdt_spec.rb:167:in `new'
# ./spec/integration/riak/crdt_spec.rb:167:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/crdt_spec.rb:257:in `block (4 levels) in <top (required)>'
53) CRDTs counters allows batched counter ops
Failure/Error: start = subject.value
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"counters">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/counter.rb:29:in `value'
# ./spec/integration/riak/crdt_spec.rb:84:in `block (3 levels) in <top (required)>'
54) CRDTs counters allows straightforward counter ops
Failure/Error: start = subject.value
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"counters">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/counter.rb:29:in `value'
# ./spec/integration/riak/crdt_spec.rb:72:in `block (3 levels) in <top (required)>'
55) CRDTs counters asks for and accepts a returned body by default
Failure/Error: start = subject.value
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Error no bucket type `<<"counters">>`
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake/crdt_loader.rb:40:in `block in load'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake/crdt_loader.rb:38:in `load'
# ./lib/riak/crdt/base.rb:57:in `block in reload'
# ./lib/riak/crdt/base.rb:107:in `block in loader'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/crdt/base.rb:102:in `backend'
# ./lib/riak/crdt/base.rb:106:in `loader'
# ./lib/riak/crdt/base.rb:56:in `reload'
# ./lib/riak/crdt/counter.rb:29:in `value'
# ./spec/integration/riak/crdt_spec.rb:97:in `block (3 levels) in <top (required)>'
56) Yokozuna queries with a schema and indexes produces results on single term queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
57) Yokozuna queries with a schema and indexes produces results on multiple term queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
58) Yokozuna queries with a schema and indexes produces results on queries with boolean logic
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
59) Yokozuna queries with a schema and indexes produces results on range queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
60) Yokozuna queries with a schema and indexes produces results on phrase queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
61) Yokozuna queries with a schema and indexes produces results on wildcard queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
62) Yokozuna queries with a schema and indexes produces results on regexp queries
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
63) Yokozuna queries with a schema and indexes supports utf8
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
64) Yokozuna queries with a schema and indexes using parameters searches one row
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
65) Yokozuna queries with a schema and indexes using parameters searches with df
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
66) Yokozuna queries with a schema and indexes using parameters produces top result on sort
Failure/Error: expect(@client.create_search_index(@index)).to eq(true)
Riak::ProtobuffsErrorResponse:
Expected success from Riak but received 0. Unknown message code: 56
# ./lib/riak/client/beefcake/protocol.rb:79:in `expect'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:362:in `block in create_search_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:360:in `create_search_index'
# ./lib/riak/client/yokozuna.rb:6:in `block in create_search_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client/yokozuna.rb:5:in `create_search_index'
# ./spec/integration/yokozuna/queries_spec.rb:15:in `block (3 levels) in <top (required)>'
67) Secondary indexes returns terms
Failure/Error: expect do
expected no Exception, got #<Riak::ProtobuffsFailedRequest: Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.> with backtrace:
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./lib/riak/client.rb:236:in `block in get_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:235:in `get_index'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/bucket.rb:179:in `get_index'
# ./spec/integration/riak/secondary_index_spec.rb:31:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/secondary_index_spec.rb:30:in `block (2 levels) in <top (required)>'
# ./spec/integration/riak/secondary_index_spec.rb:30:in `block (2 levels) in <top (required)>'
68) Secondary indexes finds keys for an equality query
Failure/Error: expect(bucket.get_index('index_int', 20)).to eq(["20"])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./lib/riak/client.rb:236:in `block in get_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:235:in `get_index'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/bucket.rb:179:in `get_index'
# ./spec/integration/riak/secondary_index_spec.rb:17:in `block (2 levels) in <top (required)>'
69) Secondary indexes finds keys for a range query
Failure/Error: expect(bucket.get_index('index_int', 19..21)).to match_array(["19","20", "21"])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./lib/riak/client.rb:236:in `block in get_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:235:in `get_index'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/bucket.rb:179:in `get_index'
# ./spec/integration/riak/secondary_index_spec.rb:21:in `block (2 levels) in <top (required)>'
70) Secondary indexes returns terms matching a term_regex
Failure/Error: expect do
expected no Exception, got #<Riak::ProtobuffsFailedRequest: Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.> with backtrace:
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./lib/riak/client.rb:236:in `block in get_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:235:in `get_index'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/bucket.rb:179:in `get_index'
# ./spec/integration/riak/secondary_index_spec.rb:43:in `block (3 levels) in <top (required)>'
# ./spec/integration/riak/secondary_index_spec.rb:42:in `block (2 levels) in <top (required)>'
# ./spec/integration/riak/secondary_index_spec.rb:42:in `block (2 levels) in <top (required)>'
71) Secondary indexes returns an empty array for a query that does not match any keys
Failure/Error: expect(bucket.get_index('index_int', 10000)).to eq([])
Riak::ProtobuffsFailedRequest:
Expected success from Riak but received indexes_not_supported. Secondary indexes aren't supported on the riak_kv_bitcask_backend backend.
# ./lib/riak/client/beefcake_protobuffs_backend.rb:498:in `rescue in decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:473:in `decode_index_response'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:333:in `block in get_index'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:32:in `protocol'
# ./lib/riak/client/beefcake_protobuffs_backend.rb:331:in `get_index'
# ./lib/riak/client.rb:236:in `block in get_index'
# ./lib/riak/client.rb:341:in `block in recover_from'
# /home/vagrant/.gem/ruby/gems/innertube-1.0.2/lib/innertube.rb:127:in `take'
# ./lib/riak/client.rb:339:in `recover_from'
# ./lib/riak/client.rb:311:in `protobuffs'
# ./lib/riak/client.rb:235:in `get_index'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:85:in `block (2 levels) in begin'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `block in instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/vagrant/.gem/ruby/gems/activesupport-4.1.7/lib/active_support/notifications.rb:159:in `instrument'
# /home/vagrant/.gem/ruby/gems/instrumentable-1.1.0/lib/instrumentable.rb:84:in `block in begin'
# ./lib/riak/bucket.rb:179:in `get_index'
# ./spec/integration/riak/secondary_index_spec.rb:25:in `block (2 levels) in <top (required)>'
Finished in 6.09 seconds (files took 1.59 seconds to load)
669 examples, 71 failures
Failed examples:
rspec ./spec/integration/yokozuna/index_spec.rb:13 # Yokozuna without any indexes allows index creation
rspec ./spec/integration/yokozuna/index_spec.rb:24 # Yokozuna with an index allows index inspection
rspec ./spec/integration/yokozuna/index_spec.rb:29 # Yokozuna with an index has an index list
rspec ./spec/integration/yokozuna/index_spec.rb:33 # Yokozuna with an index associates a bucket with an index
rspec ./spec/integration/yokozuna/index_spec.rb:48 # Yokozuna with an index associated with a bucket indexes on object writes
rspec ./spec/integration/riak/crdt_validation/map_spec.rb:29 # CRDT map validation deletes counters and increments counters
rspec ./spec/integration/riak/crdt_validation/map_spec.rb:8 # CRDT map validation deletes sets and re-add entries
rspec ./spec/integration/riak/crdt_validation/map_spec.rb:46 # CRDT map validation deletes maps containing sets and re-adds the contained sets
rspec ./spec/integration/yokozuna/schema_spec.rb:13 # Yokozuna with no schema allows schema creation
rspec ./spec/integration/yokozuna/schema_spec.rb:20 # Yokozuna with a schema has a readable schema
rspec ./spec/integration/riak/bucket_types_spec.rb:48 # Bucket Types nested bucket types API performing key-value operations lists keys only for the type
rspec ./spec/integration/riak/bucket_types_spec.rb:28 # Bucket Types nested bucket types API performing key-value operations initializes with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:38 # Bucket Types nested bucket types API performing key-value operations only retrieves with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:75 # Bucket Types nested bucket types API performing key-value operations multigets keys
rspec ./spec/integration/riak/bucket_types_spec.rb:43 # Bucket Types nested bucket types API performing key-value operations reloads with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:82 # Bucket Types nested bucket types API performing key-value operations secondary indexes finds the correct object with a SecondaryIndex instance
rspec ./spec/integration/riak/bucket_types_spec.rb:57 # Bucket Types nested bucket types API performing key-value operations deletion self-deletes with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:66 # Bucket Types nested bucket types API performing key-value operations deletion deletes from the typed bucket
rspec ./spec/integration/riak/bucket_types_spec.rb:99 # Bucket Types nested bucket types API performing key-value operations map-reduce map-reduces correctly with a typed bucket
rspec ./spec/integration/riak/bucket_types_spec.rb:110 # Bucket Types nested bucket types API performing key-value operations map-reduce map-reduces correctly with a robject in a typed bucket
rspec ./spec/integration/riak/bucket_types_spec.rb:131 # Bucket Types nested bucket types API performing CRDT operations overrides default bucket types for CRDTs
rspec ./spec/integration/riak/bucket_types_spec.rb:163 # Bucket Types option-based bucket types API performing key-value operations deletes from the bucket only with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:158 # Bucket Types option-based bucket types API performing key-value operations only retrieves with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:171 # Bucket Types option-based bucket types API performing key-value operations self-deletes only with a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:188 # Bucket Types option-based bucket types API performing CRDT set operations retrieves the set blob via key-value using a bucket type
rspec ./spec/integration/riak/bucket_types_spec.rb:193 # Bucket Types option-based bucket types API performing CRDT set operations deletes the set blob through the bucket type
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:47 # CRDT set validation no-ops adding then removing a duplicate member
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:19 # CRDT set validation removes non-members with context
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:67 # CRDT set validation no-ops removing then re-adding a set member
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:33 # CRDT set validation adds duplicate members
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:88 # CRDT set validation parallel operations removes with up-to-date context
rspec ./spec/integration/riak/crdt_validation/set_spec.rb:105 # CRDT set validation parallel operations doesn't remove with outdated context
rspec ./spec/support/unified_backend_examples.rb:275 # Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes finds keys for a range query
rspec ./spec/support/unified_backend_examples.rb:271 # Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes finds keys for an equality query
rspec ./spec/support/unified_backend_examples.rb:279 # Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes returns an empty array for a query that does not match any keys
rspec ./spec/support/unified_backend_examples.rb:353 # Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API searching fulltext indexes finds indexed documents, returning ids
rspec ./spec/support/unified_backend_examples.rb:366 # Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API searching fulltext indexes finds indexed documents, returning documents
rspec ./spec/integration/riak/protobuffs_backends_spec.rb:22 # Protocol Buffers BeefcakeProtobuffsBackend searching yokozuna returns documents with UTF-8 fields (GH #75)
rspec ./spec/integration/riak/crdt_spec.rb:127 # CRDTs sets lets Riak silently accept removals after reload
rspec ./spec/integration/riak/crdt_spec.rb:113 # CRDTs sets allows straightforward set ops
rspec ./spec/integration/riak/crdt_spec.rb:139 # CRDTs sets allows batched set ops
rspec ./spec/integration/riak/crdt_spec.rb:151 # CRDTs sets asks for and accepts a returned body by default
rspec ./spec/integration/riak/crdt_spec.rb:52 # CRDTs Riak-assigned names an anonymous set accepts a Riak-assigned name
rspec ./spec/integration/riak/crdt_spec.rb:43 # CRDTs Riak-assigned names an anonymous counter accepts a Riak-assigned name
rspec ./spec/integration/riak/crdt_spec.rb:61 # CRDTs Riak-assigned names an anonymous map accepts a Riak-assigned name
rspec ./spec/integration/riak/crdt_spec.rb:201 # CRDTs maps allows batched map ops
rspec ./spec/integration/riak/crdt_spec.rb:169 # CRDTs maps allows straightforward map ops
rspec ./spec/integration/riak/crdt_spec.rb:211 # CRDTs maps asks for and accepts a returned body by default
rspec ./spec/integration/riak/crdt_spec.rb:248 # CRDTs maps containing a register bubbles straightforward register ops up
rspec ./spec/integration/riak/crdt_spec.rb:227 # CRDTs maps containing a map bubbles straightforward map ops up
rspec ./spec/integration/riak/crdt_spec.rb:236 # CRDTs maps containing a map includes inner-map ops in the outer-map batch
rspec ./spec/integration/riak/crdt_spec.rb:256 # CRDTs maps containing a flag bubbles straightforward flag ops up
rspec ./spec/integration/riak/crdt_spec.rb:83 # CRDTs counters allows batched counter ops
rspec ./spec/integration/riak/crdt_spec.rb:71 # CRDTs counters allows straightforward counter ops
rspec ./spec/integration/riak/crdt_spec.rb:94 # CRDTs counters asks for and accepts a returned body by default
rspec ./spec/integration/yokozuna/queries_spec.rb:34 # Yokozuna queries with a schema and indexes produces results on single term queries
rspec ./spec/integration/yokozuna/queries_spec.rb:40 # Yokozuna queries with a schema and indexes produces results on multiple term queries
rspec ./spec/integration/yokozuna/queries_spec.rb:46 # Yokozuna queries with a schema and indexes produces results on queries with boolean logic
rspec ./spec/integration/yokozuna/queries_spec.rb:52 # Yokozuna queries with a schema and indexes produces results on range queries
rspec ./spec/integration/yokozuna/queries_spec.rb:58 # Yokozuna queries with a schema and indexes produces results on phrase queries
rspec ./spec/integration/yokozuna/queries_spec.rb:64 # Yokozuna queries with a schema and indexes produces results on wildcard queries
rspec ./spec/integration/yokozuna/queries_spec.rb:70 # Yokozuna queries with a schema and indexes produces results on regexp queries
rspec ./spec/integration/yokozuna/queries_spec.rb:76 # Yokozuna queries with a schema and indexes supports utf8
rspec ./spec/integration/yokozuna/queries_spec.rb:85 # Yokozuna queries with a schema and indexes using parameters searches one row
rspec ./spec/integration/yokozuna/queries_spec.rb:91 # Yokozuna queries with a schema and indexes using parameters searches with df
rspec ./spec/integration/yokozuna/queries_spec.rb:98 # Yokozuna queries with a schema and indexes using parameters produces top result on sort
rspec ./spec/integration/riak/secondary_index_spec.rb:28 # Secondary indexes returns terms
rspec ./spec/integration/riak/secondary_index_spec.rb:16 # Secondary indexes finds keys for an equality query
rspec ./spec/integration/riak/secondary_index_spec.rb:20 # Secondary indexes finds keys for a range query
rspec ./spec/integration/riak/secondary_index_spec.rb:40 # Secondary indexes returns terms matching a term_regex
rspec ./spec/integration/riak/secondary_index_spec.rb:24 # Secondary indexes returns an empty array for a query that does not match any keys
Top 10 slowest examples (3.77 seconds, 61.9% of total time):
Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API listing keys in a bucket streaming through a block handles a large number of keys
1.34 seconds ./spec/support/unified_backend_examples.rb:208
Protocol Buffers interrupted requests fails out when a request is interrupted, and never returns the wrong payload
1.01 seconds ./spec/integration/riak/protobuffs/interrupted_request_spec.rb:21
Multithreaded client {:protobuffs_backend=>:Beefcake} lists-keys and gets in parallel
0.4666 seconds ./spec/integration/riak/threading_spec.rb:126
Riak::Counter reads and updates
0.16539 seconds ./spec/integration/riak/counters_spec.rb:12
Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API performing MapReduce performs a simple MapReduce request
0.15559 seconds ./spec/support/unified_backend_examples.rb:302
Secondary indexes returns terms matching a term_regex
0.13068 seconds ./spec/integration/riak/secondary_index_spec.rb:40
Protocol Buffers BeefcakeProtobuffsBackend it should behave like Unified backend API querying secondary indexes finds keys for a range query
0.12859 seconds ./spec/support/unified_backend_examples.rb:275
Secondary indexes returns an empty array for a query that does not match any keys
0.1248 seconds ./spec/integration/riak/secondary_index_spec.rb:24
Secondary indexes finds keys for an equality query
0.12286 seconds ./spec/integration/riak/secondary_index_spec.rb:16
Secondary indexes finds keys for a range query
0.12204 seconds ./spec/integration/riak/secondary_index_spec.rb:20
Top 10 slowest example groups:
Protocol Buffers
1.01 seconds average (1.01 seconds / 1 example) ./spec/integration/riak/protobuffs/interrupted_request_spec.rb:4
Riak::Counter
0.16539 seconds average (0.16539 seconds / 1 example) ./spec/integration/riak/counters_spec.rb:4
Multithreaded client
0.14471 seconds average (0.57884 seconds / 4 examples) ./spec/integration/riak/threading_spec.rb:3
Secondary indexes
0.12425 seconds average (0.62127 seconds / 5 examples) ./spec/integration/riak/secondary_index_spec.rb:3
Conflict resolution
0.06567 seconds average (0.19702 seconds / 3 examples) ./spec/integration/riak/conflict_resolution_spec.rb:4
Riak::Stamp
0.04926 seconds average (0.24632 seconds / 5 examples) ./spec/riak/stamp_spec.rb:4
Protocol Buffers
0.03158 seconds average (2.75 seconds / 87 examples) ./spec/integration/riak/protobuffs_backends_spec.rb:3
CRDT map validation
0.00476 seconds average (0.01428 seconds / 3 examples) ./spec/integration/riak/crdt_validation/map_spec.rb:4
Riak::MapReduce::FilterBuilder
0.0036 seconds average (0.018 seconds / 5 examples) ./spec/riak/map_reduce/filter_builder_spec.rb:3
Bucket Types
0.0028 seconds average (0.04479 seconds / 16 examples) ./spec/integration/riak/bucket_types_spec.rb:4
Randomized with seed 15421
/usr/bin/ruby -I/home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/lib:/home/vagrant/.gem/ruby/gems/rspec-support-3.1.2/lib /home/vagrant/.gem/ruby/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --profile failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment