Skip to content

Instantly share code, notes, and snippets.

@tleyden
Created September 28, 2017 21:11
Show Gist options
  • Save tleyden/5a0c69da17e4641927fc4d81f2a7d431 to your computer and use it in GitHub Desktop.
Save tleyden/5a0c69da17e4641927fc4d81f2a7d431 to your computer and use it in GitHub Desktop.
GOROOT=/usr/local/go
GOPATH=/Users/tleyden/Development/sync_gateway/godeps
/usr/local/go/bin/go test -c -i -o /private/var/folders/l7/hr7n2gb52nz0vn9lq_x2prcr0000gn/T/TestContinuousChangesBackfill_in_change_cache_test_gogo github.com/couchbase/sync_gateway/db
/private/var/folders/l7/hr7n2gb52nz0vn9lq_x2prcr0000gn/T/TestContinuousChangesBackfill_in_change_cache_test_gogo -test.v -test.run ^TestContinuousChangesBackfill$
2017-09-28 14:11:06.926886 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:06.927070 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:06.927080 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:06.927085 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28T14:11:11.151-07:00 WARNING: TestBucketManager.EmptyBucket(): still 2 items in bucket after flush, waiting for no items. Will retry. -- base.(*TestBucketManager).EmptyTestBucket() at util_testing.go:309
2017-09-28T14:11:11.666-07:00 WARNING: TestBucketManager.EmptyBucket(): still 2 items in bucket after flush, waiting for no items. Will retry. -- base.(*TestBucketManager).EmptyTestBucket() at util_testing.go:309
2017-09-28 14:11:12.174722 I | workerReadOwnWrites completed without errors
2017-09-28T14:11:12.174-07:00 GoCBCustomSGTranscoder Opening Couchbase database test_data_bucket on <http://localhost:8091> as user "test_data_bucket"
2017-09-28T14:11:12.559-07:00 DCP: Using DCP Logging Receiver
2017-09-28T14:11:12.559-07:00 DCP: SetBucketNotifyFn()
2017-09-28T14:11:12.574-07:00 DCP: SeedSeqnos:map[115:121680647526136], map[115:2]
2017-09-28 14:11:13.341818 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:13.342520 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:13.343008 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:13.343505 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28T14:11:13.344-07:00 Changes+: Int sequence multi changes feed...
2017-09-28 14:11:13.344467 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28 14:11:13.345121 I | NOT Using xattrs: strings.ToLower(useXattrs) != strings.ToLower(TestEnvSyncGatewayTrue). |false| != |true|
2017-09-28T14:11:13.345-07:00 Changes+: MultiChangesFeed: channels expand to "!:1,ABC:1,CBS:1,NBC:1,PBS:1" ... (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: Grant for channel [!] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: Grant for channel [ABC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: Grant for channel [CBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: Grant for channel [NBC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: Grant for channel [PBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:13.345-07:00 Changes+: MultiChangesFeed waiting... (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: MultiChangesFeed: channels expand to "!:1,ABC:1,CBS:1,NBC:1,PBS:1" ... (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: Grant for channel [CBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: Grant for channel [NBC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: Grant for channel [PBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: Grant for channel [!] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: Grant for channel [ABC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:18.459-07:00 Changes+: MultiChangesFeed waiting... (to naomi)
2017-09-28T14:11:23.576-07:00 Changes+: MultiChangesFeed: channels expand to "!:1,ABC:1,CBS:1,NBC:1,PBS:1" ... (to naomi)
2017-09-28T14:11:23.576-07:00 Changes+: Grant for channel [CBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:23.577-07:00 Changes+: Grant for channel [NBC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:23.577-07:00 Changes+: Grant for channel [PBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:23.577-07:00 Changes+: Grant for channel [!] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:23.577-07:00 Changes+: Grant for channel [ABC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:23.577-07:00 Changes+: MultiChangesFeed waiting... (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: MultiChangesFeed: channels expand to "!:1,ABC:1,CBS:1,NBC:1,PBS:1" ... (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: Grant for channel [!] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: Grant for channel [ABC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: Grant for channel [CBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: Grant for channel [NBC] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: Grant for channel [PBS] is after the current sequence - skipped for this iteration. Grant:[1] Current:[0] (to naomi)
2017-09-28T14:11:28.691-07:00 Changes+: MultiChangesFeed waiting... (to naomi)
panic: changeCache: Sequence 12 never showed up! [recovered]
panic: changeCache: Sequence 12 never showed up!
goroutine 20 [running]:
panic(0x55e9e0, 0xc42047a020)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
testing.tRunner.func1(0xc42009e780)
/usr/local/go/src/testing/testing.go:579 +0x25d
panic(0x55e9e0, 0xc42047a020)
/usr/local/go/src/runtime/panic.go:458 +0x243
github.com/couchbase/sync_gateway/db.(*changeCache).waitForSequence(0xc4200ee960, 0xc)
/Users/tleyden/Development/sync_gateway/godeps/src/github.com/couchbase/sync_gateway/db/change_cache.go:289 +0x196
github.com/couchbase/sync_gateway/db.(*changeCache).waitForSequenceID(0xc4200ee960, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/tleyden/Development/sync_gateway/godeps/src/github.com/couchbase/sync_gateway/db/change_cache.go:274 +0x35
github.com/couchbase/sync_gateway/db.TestContinuousChangesBackfill(0xc42009e780)
/Users/tleyden/Development/sync_gateway/godeps/src/github.com/couchbase/sync_gateway/db/change_cache_test.go:424 +0x715
testing.tRunner(0xc42009e780, 0x6d91b0)
/usr/local/go/src/testing/testing.go:610 +0x81
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2ec
Process finished with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment