Details
-
Improvement
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
0
Description
Sync Gateway recently upgraded from github.com/couchbase/gocbcore/v10 v10.1.6 to github.com/couchbase/gocbcore/v10 v10.2.3-0.20230404070112-cab6da1895ae to fix the https://issues.couchbase.com/browse/GOCBC-1401
In basic case in our test harness, we are no longer able to make a CCCP connection.
Our test case is
- start up CBS in docker
- run go test in sync gateway
- go test creates a bucket, fails with CCCP polling
- if successful, runs a test (in this case, a simple DCP test)
The interesting logs are from verbose_int.out.raw.
Here's an example from enterprise-7.0.5 (failing)= https://jenkins.sgwdev.com/job/SyncGateway-Integration/1681/artifact/verbose_int.out.raw/*view*/
Here's a passing example:
https://jenkins.sgwdev.com/job/SyncGateway-Integration/1683/
The difference between these two builds is https://github.com/couchbase/sync_gateway/commit/b4dab6117732ba793bb83b9eb1406b7e18e990b1. I've also fixed this so sync gateway go.mod uses gocb v2.6.2 which we probably should have done originally, but I get the same failure: https://jenkins.sgwdev.com/job/SyncGateway-Integration/1684/
The automation code I use for starting CBS is https://github.com/couchbase/sync_gateway/pull/6176/files integration-test/start_server.sh. This code will probably only work on linux right now where Jenkins is running but I expect to be modifying it to work on mac soon.