{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/2666","repository_url":"https://api.github.com/repos/couchbase/sync_gateway","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/2666/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/2666/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/2666/events","html_url":"https://github.com/couchbase/sync_gateway/issues/2666","id":237946274,"number":2666,"title":"TestChangesLoopingWhenLowSequence: Sequence 6 never showed up! (unit tests against couchbase bucket)","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars2.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[{"id":110668780,"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/P1:%20high","name":"P1: high","color":"b60205","default":false},{"id":479307913,"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/ready","name":"ready","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"tleyden","id":296876,"avatar_url":"https://avatars2.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"assignees":[{"login":"tleyden","id":296876,"avatar_url":"https://avatars2.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/24","html_url":"https://github.com/couchbase/sync_gateway/milestone/24","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/24/labels","id":2420585,"number":24,"title":"1.5.0","description":"","creator":{"login":"djpongh","id":21346920,"avatar_url":"https://avatars0.githubusercontent.com/u/21346920?v=3","gravatar_id":"","url":"https://api.github.com/users/djpongh","html_url":"https://github.com/djpongh","followers_url":"https://api.github.com/users/djpongh/followers","following_url":"https://api.github.com/users/djpongh/following{/other_user}","gists_url":"https://api.github.com/users/djpongh/gists{/gist_id}","starred_url":"https://api.github.com/users/djpongh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djpongh/subscriptions","organizations_url":"https://api.github.com/users/djpongh/orgs","repos_url":"https://api.github.com/users/djpongh/repos","events_url":"https://api.github.com/users/djpongh/events{/privacy}","received_events_url":"https://api.github.com/users/djpongh/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":38,"state":"open","created_at":"2017-03-29T22:31:04Z","updated_at":"2017-06-24T00:18:59Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-06-22T19:17:18Z","updated_at":"2017-06-24T01:14:26Z","closed_at":null,"body":"\r\n\r\n### Sync Gateway version\r\nSg commit: f37de25ce1b0cc8bc9646d6266bb965d6ca88190 (equivalent to master commit: https://github.com/couchbase/sync_gateway/commit/a1cc33c0e4f56875d36580d895e7939b04bc89bf)\r\n\r\n### Log output\r\n```\r\n2017-06-22T11:57:15.395-07:00 Changes+: Notifying that \"test_data_bucket\" changed (keys=\"{_sync:user:}\") count=2\r\n2017-06-22T11:57:16.187-07:00 Changes+: Notifying that \"test_data_bucket\" changed (keys=\"{_sync:user:bernard}\") count=3\r\n2017-06-22T11:57:16.187-07:00 Changes+: Notifying that \"test_data_bucket\" changed (keys=\"{*}\") count=4\r\n2017-06-22T11:57:16.188-07:00 Debug: Waiting for sequence: 6\r\n--- FAIL: TestChangesLoopingWhenLowSequence (8.92s)\r\npanic: changeCache: Sequence 6 never showed up! [recovered]\r\n\tpanic: changeCache: Sequence 6 never showed up!\r\n\r\ngoroutine 6 [running]:\r\npanic(0xb13d60, 0xc420456a90)\r\n\t/usr/local/go/src/runtime/panic.go:500 +0x1a1\r\ntesting.tRunner.func1(0xc42008a780)\r\n\t/usr/local/go/src/testing/testing.go:579 +0x25d\r\npanic(0xb13d60, 0xc420456a90)\r\n\t/usr/local/go/src/runtime/panic.go:458 +0x243\r\ngithub.com/couchbase/sync_gateway/db.(*changeCache).waitForSequenceWithMissing(0xc42020e5a0, 0x6)\r\n\t/var/jenkins/workspace/build-sync-gateway/godeps/src/github.com/couchbase/sync_gateway/db/change_cache.go:316 +0x19e\r\ngithub.com/couchbase/sync_gateway/db.(*DatabaseContext).WaitForSequenceWithMissing(0xc420098500, 0x6, 0x1, 0x1)\r\n\t/var/jenkins/workspace/build-sync-gateway/godeps/src/github.com/couchbase/sync_gateway/db/changes.go:727 +0xe8\r\ngithub.com/couchbase/sync_gateway/rest.TestChangesLoopingWhenLowSequence(0xc42008a780)\r\n\t/var/jenkins/workspace/build-sync-gateway/godeps/src/github.com/couchbase/sync_gateway/rest/changes_api_test.go:560 +0x470\r\n```\r\n\r\n### Steps to reproduce\r\n1. Run this jenkins job: http://uberjenkins.sc.couchbase.com/view/Build/job/build-sync-gateway/103/parameters/  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/310804063","html_url":"https://github.com/couchbase/sync_gateway/issues/2666#issuecomment-310804063","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/2666","id":310804063,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars2.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2017-06-24T01:14:26Z","updated_at":"2017-06-24T01:14:26Z","body":"After [debugging pretty deep into this](https://gist.github.com/tleyden/cb970ad4a3f8c39b7e4daf48acba6503), I just realized I'm testing against 5.0.0-2958, whereas the functional tests are currently running against 5.0.0-3158\r\n\r\nAs a first step I will try to repro against 5.0.0-3158 to see if it's still an issue there.\r\n\r\n"}}
{"actor":{"display_login":"tleyden"}}