Created
June 30, 2015 14:08
-
-
Save tamird/d7701197a226eef3d8b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make PKG=./storage TESTS=TestStoreStatus | |
go build -tags '' -ldflags '-X github.com/cockroachdb/cockroach/util.buildTag "alpha-3342-g1bcabfc-dirty" -X github.com/cockroachdb/cockroach/util.buildTime "2015/06/30 14:07:41" -X github.com/cockroachdb/cockroach/util.buildDeps "github.com/biogo/store:e1f74b3c58befe661feed7fa4cf52436de753128 github.com/cockroachdb/c-lz4:6e71f140a365017bbe0904710007f8725fd3f809 github.com/cockroachdb/c-protobuf:0f9ab7b988ca7474cf76b9a961ab03c0552abcb3 github.com/cockroachdb/c-rocksdb:e120ce0fb32f86b94188928743270ea11ff016b3 github.com/cockroachdb/c-snappy:618733f9e5bab8463b9049117a335a7a1bfc9fd5 github.com/cockroachdb/cockroach:1bcabfce8f9958bff376c0ab952ca6eef96d6e6f github.com/coreos/etcd:3e455ed1049ab4a6152d8df32e58f014abafbc7f github.com/elazarl/go-bindata-assetfs:3dcc96556217539f50599357fb481ac0dc7439b9 github.com/gogo/protobuf:64f27bf06efee53589314a6e5a4af34cdd85adf6 github.com/google/btree:cc6329d4279e3f025a53a83c397d2339b5705c45 github.com/inconshreveable/mousetrap:76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 github.com/julienschmidt/httprouter:70708e46004c7bcb09b70e685a8b74a690135387 github.com/montanaflynn/stats:44fb56da2a2a67d394dec0e18a82dd316f192529 github.com/spf13/cobra:66816bcd0378e248c613e3c443c020f544c28804 github.com/spf13/pflag:67cbc198fd11dab704b214c1e629a97af392c085 golang.org/x/crypto:cc04154d65fb9296747569b107cfd05380b1ea3e golang.org/x/net:8bfde94a845cb31000de3266ac83edbda58dab09 gopkg.in/yaml.v1:9f9df34309c04878acc86042b16630b0f696e1de"' -v -i -o cockroach | |
github.com/cockroachdb/cockroach | |
go test -tags '' -i ./storage | |
go test -tags '' -run TestStoreStatus -cpu 1 ./storage -timeout 30s | |
I0630 10:07:47.777020 20673 rocksdb.go:88] opening in-memory rocksdb instance | |
I0630 10:07:47.783867 20673 range.go:980] gossiping cluster id from store 1, range 1 | |
I0630 10:07:47.786792 20673 range_command.go:774] range 1: new leader lease replica 1:1 19:00:00.000 +1.000s | |
I0630 10:07:47.786907 20673 range.go:1041] gossiping accounting config from store 1, range 1 | |
I0630 10:07:47.786958 20673 range.go:1041] gossiping permissions config from store 1, range 1 | |
I0630 10:07:47.786993 20673 range.go:1041] gossiping user config from store 1, range 1 | |
I0630 10:07:47.787025 20673 range.go:1041] gossiping zones config from store 1, range 1 | |
I0630 10:07:47.787112 20673 range.go:988] gossiping sentinel from store 1, range 1 | |
I0630 10:07:47.787131 20673 range.go:992] gossiping first range from store 1, range 1 | |
E0630 10:07:47.798206 20673 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.810687 20673 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.821167 20673 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
I0630 10:07:47.834908 20673 range_command.go:837] initiating a split of range=1 ["" - "\xff\xff") at key "b" | |
E0630 10:07:47.836455 20673 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
I0630 10:07:47.840104 20673 range_command.go:774] range 2: new leader lease replica 1:1 19:00:00.000 +1.000s | |
E0630 10:07:47.845639 20673 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.856416 20673 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.856946 20673 queue.go:266] failure processing range range=2 ["b" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.867576 20673 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.867955 20673 queue.go:266] failure processing range range=2 ["b" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:47.878538 20673 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
--- FAIL: TestStoreStatus (0.10s) | |
client_status_test.go:70: 1: actual node ID does not match expected. | |
expected: 2 | |
actual: 1 | |
client_status_test.go:73: 1: actual RangeCount does not match expected. | |
expected: 2 | |
actual: 1 | |
client_status_test.go:76: 1: actual ReplicatedRangeCount does not match expected. | |
expected: 1 | |
actual: 0 | |
FAIL | |
FAIL github.com/cockroachdb/cockroach/storage 0.168s | |
make: *** [test] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make PKG=./storage TESTS=TestStoreStatus | |
go build -tags '' -ldflags '-X github.com/cockroachdb/cockroach/util.buildTag "alpha-3341-g7564326-dirty" -X github.com/cockroachdb/cockroach/util.buildTime "2015/06/30 14:07:01" -X github.com/cockroachdb/cockroach/util.buildDeps "github.com/biogo/store:e1f74b3c58befe661feed7fa4cf52436de753128 github.com/cockroachdb/c-lz4:6e71f140a365017bbe0904710007f8725fd3f809 github.com/cockroachdb/c-protobuf:0f9ab7b988ca7474cf76b9a961ab03c0552abcb3 github.com/cockroachdb/c-rocksdb:e120ce0fb32f86b94188928743270ea11ff016b3 github.com/cockroachdb/c-snappy:618733f9e5bab8463b9049117a335a7a1bfc9fd5 github.com/cockroachdb/cockroach:7564326e172d4385455100b020722f3285da9282 github.com/coreos/etcd:3e455ed1049ab4a6152d8df32e58f014abafbc7f github.com/elazarl/go-bindata-assetfs:3dcc96556217539f50599357fb481ac0dc7439b9 github.com/gogo/protobuf:64f27bf06efee53589314a6e5a4af34cdd85adf6 github.com/google/btree:cc6329d4279e3f025a53a83c397d2339b5705c45 github.com/inconshreveable/mousetrap:76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 github.com/julienschmidt/httprouter:70708e46004c7bcb09b70e685a8b74a690135387 github.com/montanaflynn/stats:44fb56da2a2a67d394dec0e18a82dd316f192529 github.com/spf13/cobra:66816bcd0378e248c613e3c443c020f544c28804 github.com/spf13/pflag:67cbc198fd11dab704b214c1e629a97af392c085 golang.org/x/crypto:cc04154d65fb9296747569b107cfd05380b1ea3e golang.org/x/net:8bfde94a845cb31000de3266ac83edbda58dab09 gopkg.in/yaml.v1:9f9df34309c04878acc86042b16630b0f696e1de"' -v -i -o cockroach | |
github.com/cockroachdb/cockroach | |
go test -tags '' -i ./storage | |
go test -tags '' -run TestStoreStatus -cpu 1 ./storage -timeout 30s | |
I0630 10:07:09.502735 20090 rocksdb.go:88] opening in-memory rocksdb instance | |
I0630 10:07:09.509238 20090 range.go:980] gossiping cluster id from store 1, range 1 | |
I0630 10:07:09.511220 20090 range_command.go:774] range 1: new leader lease replica 1:1 19:00:00.000 +1.000s | |
I0630 10:07:09.511295 20090 range.go:1041] gossiping accounting config from store 1, range 1 | |
I0630 10:07:09.511331 20090 range.go:1041] gossiping permissions config from store 1, range 1 | |
I0630 10:07:09.511366 20090 range.go:1041] gossiping user config from store 1, range 1 | |
I0630 10:07:09.511394 20090 range.go:1041] gossiping zones config from store 1, range 1 | |
I0630 10:07:09.511450 20090 range.go:988] gossiping sentinel from store 1, range 1 | |
I0630 10:07:09.511460 20090 range.go:992] gossiping first range from store 1, range 1 | |
E0630 10:07:09.523156 20090 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.533712 20090 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.544324 20090 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
I0630 10:07:09.558070 20090 range_command.go:837] initiating a split of range=1 ["" - "\xff\xff") at key "b" | |
E0630 10:07:09.558477 20090 queue.go:266] failure processing range range=1 ["" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
I0630 10:07:09.562851 20090 range_command.go:774] range 2: new leader lease replica 1:1 19:00:00.000 +1.000s | |
E0630 10:07:09.567388 20090 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.579068 20090 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.579588 20090 queue.go:266] failure processing range range=2 ["b" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.590267 20090 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.590478 20090 queue.go:266] failure processing range range=2 ["b" - "\xff\xff") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
E0630 10:07:09.602603 20090 queue.go:266] failure processing range range=1 ["" - "b") from replicate queue: allocator.go:204: unable to allocate a target store; no candidates available | |
--- FAIL: TestStoreStatus (0.10s) | |
client_status_test.go:70: 1: actual node ID does not match expected | |
expected: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:2 range_count:2 started_at:0 updated_at:0 stats:<live_bytes:2 key_bytes:2 val_bytes:2 intent_bytes:0 live_count:10 key_count:10 val_count:10 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:0 sys_count:0 last_update_nanos:0 > leader_range_count:2 replicated_range_count:1 available_range_count:2 | |
actual: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:1 range_count:1 started_at:0 updated_at:0 stats:<live_bytes:614 key_bytes:246 val_bytes:580 intent_bytes:0 live_count:10 key_count:10 val_count:12 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:258 sys_count:5 last_update_nanos:0 > leader_range_count:1 replicated_range_count:0 available_range_count:1 | |
client_status_test.go:73: 1: actual RangeCount does not match expected | |
expected: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:2 range_count:2 started_at:0 updated_at:0 stats:<live_bytes:2 key_bytes:2 val_bytes:2 intent_bytes:0 live_count:10 key_count:10 val_count:10 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:0 sys_count:0 last_update_nanos:0 > leader_range_count:2 replicated_range_count:1 available_range_count:2 | |
actual: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:1 range_count:1 started_at:0 updated_at:0 stats:<live_bytes:614 key_bytes:246 val_bytes:580 intent_bytes:0 live_count:10 key_count:10 val_count:12 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:258 sys_count:5 last_update_nanos:0 > leader_range_count:1 replicated_range_count:0 available_range_count:1 | |
client_status_test.go:76: 1: actual ReplicatedRangeCount does not match expected | |
expected: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:2 range_count:2 started_at:0 updated_at:0 stats:<live_bytes:2 key_bytes:2 val_bytes:2 intent_bytes:0 live_count:10 key_count:10 val_count:10 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:0 sys_count:0 last_update_nanos:0 > leader_range_count:2 replicated_range_count:1 available_range_count:2 | |
actual: desc:<store_id:1 attrs:<> node:<node_id:1 address:<network:"" address:"" > attrs:<> > capacity:<Capacity:249779191808 Available:134459916288 RangeCount:1 > > node_id:1 range_count:1 started_at:0 updated_at:0 stats:<live_bytes:614 key_bytes:246 val_bytes:580 intent_bytes:0 live_count:10 key_count:10 val_count:12 intent_count:0 intent_age:0 gc_bytes_age:0 sys_bytes:258 sys_count:5 last_update_nanos:0 > leader_range_count:1 replicated_range_count:0 available_range_count:1 | |
FAIL | |
FAIL github.com/cockroachdb/cockroach/storage 0.162s | |
make: *** [test] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment