CBG-4267 implement LWW conflict resolution for blip tester #14844
Annotations
4 errors
Annotate Failures:
topologytest/peer_test.go#L311
peer_test.go:311: TopologyTest: created peer cbl1 (sourceid:cbl1)
peer_test.go:311: TopologyTest: created peer cbl2 (sourceid:cbl2)
peer_test.go:311: TopologyTest: created peer cbs1 (bucket:rosmar1,sourceid:rosmar1)
peer_test.go:311: TopologyTest: created peer cbs2 (bucket:rosmar2,sourceid:rosmar2)
2025-08-06T16:56:34.640Z [INF] t:TestMultiActorUpdate/2x_CBL<->SG<->CBS_XDCR_only_1.3 Logging stats with frequency: &{1m0s}
2025-08-06T16:56:34.640Z [INF] t:TestMultiActorUpdate/2x_CBL<->SG<->CBS_XDCR_only_1.3 Initializing bootstrap connection..
2025-08-06T16:56:34.640Z [WRN] t:TestMultiActorUpdate/2x_CBL<->SG<->CBS_XDCR_only_1.3 Config: No database configs for group "e1e3ffdd-bd5e-4542-ad27-f0972f44e1af". Continuing startup to allow REST API database creation -- rest.(*ServerContext).initializeBootstrapConnection() at server_context.go:2142
2025-08-06T16:56:34.640Z [INF] t:TestMultiActorUpdate/2x_CBL<->SG<->CBS_XDCR_only_1.3 Finished initializing bootstrap connection
2025-08-06T16:56:34.642Z [INF] db:sg1 delta_sync enabled=false with rev_max_age_seconds=86400 for database sg1
2025-08-06T16:56:34.642Z [WRN] db:sg1 Deprecation notice: setting database configuration option "disable_public_all_docs" to false is deprecated. In the future, public access to the all_docs API will be disabled by default. -- rest.dbcOptionsFromConfig() at server_context.go:1384
2025-08-06T16:56:34.642Z [INF] db:sg1 Opening db /sg1 as bucket "rosmar1", pool "default", server <rosmar:/?mode=memory>
2025-08-06T16:56:34.642Z [INF] db:sg1 Opening rosmar database rosmar1 on <rosmar:/?mode=memory>
2025-08-06T16:56:34.642Z [WRN] db:sg1 Using GSI is not supported when using a walrus bucket - switching to use views. Set 'use_views':true in Sync Gateway's database config to avoid this warning. -- rest.(*ServerContext)._getOrAddDatabaseFromConfig() at server_context.go:726
2025-08-06T16:56:34.642Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-08-06T16:56:34.642Z [INF] db:sg1 Verifying view availability for bucket
2025-08-06T16:56:34.642Z [INF] db:sg1 Views ready for bucket
2025-08-06T16:56:34.643Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-08-06T16:56:34.643Z [INF] db:sg1 Verifying view availability for bucket
2025-08-06T16:56:34.643Z [INF] db:sg1 Views ready for bucket
2025-08-06T16:56:34.643Z [INF] c:CleanAgedItems db:sg1 Created background task: "CleanAgedItems" with interval 1m0s
2025-08-06T16:56:34.643Z [INF] db:sg1 col:sg_test_0 Using default sync function "function(doc){channel(\"sg_test_0\");}" for database sg1.sg_test_0.sg_test_0
2025-08-06T16:56:34.644Z [INF] db:sg1 Waiting for database init to complete...
2025-08-06T16:56:34.644Z [INF] db:sg1 Database init completed, starting online processes
2025-08-06T16:56:34.644Z [INF] c:InsertPendingEntries db:sg1 Created background task: "InsertPendingEntries" with interval 2.5s
2025-08-06T16:56:34.644Z [INF] c:CleanSkippedSequenceQueue db:sg1 Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
2025-08-06T16:56:34.644Z [INF] CRUD: db:sg1 Database has _sync:seq value on startup of 0
2025-08-06T16:56:34.644Z [WRN] db:sg1 destKey sg1_import_b166ad8b9260289a9e3debfd12f153e5c681a63e55d8136d36aae427c2bd3cf3 already exists in cbgtDestFactories - new value will replace the existing dest -- base.StoreDestFactory() at dcp_sharded.go:643
2025-08-06T16:56:34.644Z [INF] Import: db:sg1 Starting DCP import feed for bucket: "<ud>rosmar1</ud>"
2025-08-06T16:56:34.644Z [INF] db:sg1 Using metadata purge interval of 30.00 days for tombstone compaction.
2025-08-06T16:56:34.644Z [INF] c:Compact db:sg1 Created background task: "Compact" with interval 24h0m0s
2025-08-06T16:56:34.644Z [INF] c:TotalSyncTimeStat db:sg1 Created background task: "TotalSyncTimeStat" with interval 1s
peer_test.go:311: TopologyTest: created peer sg1 (bucket:rosmar1,sourceid:rosmar1)
2025-08-06T16:56:34.645Z [INF] t:TestMultiActorUpdate/2x_CBL<->SG<->CBS_XDCR_only_1.3 Logging stats with frequency: &{1m0s}
2025-08-06T16:56:34.645Z [INF] t:TestMultiActorUpdate/2x_CBL<->S
|
Annotate Failures:
topologytest/peer_test.go#L311
peer_test.go:311: TopologyTest: created peer sg1 (bucket:rosmar1,sourceid:rosmar1)
peer_test.go:311: TopologyTest: created peer cbs1 (bucket:rosmar1,sourceid:rosmar1)
peer_test.go:311: TopologyTest: created peer cbs2 (bucket:rosmar2,sourceid:rosmar2)
peer_test.go:311: TopologyTest: created peer cbl1 (sourceid:cbl1)
2025/08/06 16:56:31 Creating user: {"name":"user","collection_access":{"sg_test_0":{"sg_test_0":{"admin_channels":["*"]}}},"password":"letmein"}
2025/08/06 16:56:31 Creating user: {"name":"user","collection_access":{"sg_test_0":{"sg_test_0":{"admin_channels":["*"]}}},"password":"letmein"}
couchbase_server_peer_test.go:64: starting XDCR replication cbs1 (bucket:rosmar1,sourceid:rosmar1)->cbs2 (bucket:rosmar2,sourceid:rosmar2)
couchbase_server_peer_test.go:64: starting XDCR replication cbs2 (bucket:rosmar2,sourceid:rosmar2)->cbs1 (bucket:rosmar1,sourceid:rosmar1)
couchbase_lite_mock_peer_test.go:258: starting CBL replication: cbl1 (sourceid:cbl1)<-sg1 (bucket:rosmar1,sourceid:rosmar1)
2025-08-06T16:56:31.516Z [INF] Sync: c:[6c6df3a9] db:sg1 col:sg_test_0 Sending changes since 0
couchbase_lite_mock_peer_test.go:258: starting CBL replication: cbl1 (sourceid:cbl1)->sg1 (bucket:rosmar1,sourceid:rosmar1)
couchbase_lite_mock_peer_test.go:89: cbl1 (sourceid:cbl1): Created document doc_MultiActorUpdate_CBL<->SG<->CBS1_CBS1<->CBS2_1.2_create=cbl1,update=sg1 with DocMetadata{
DocID:doc_MultiActorUpdate_CBL<->SG<->CBS1_CBS1<->CBS2_1.2_create=cbl1,update=sg1
RevTreeID:
HLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
Mou:<nil>
Cas:0
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
}
hlv_test.go:54: waiting for doc version on all peers, written from cbl1: DocMetadata{
DocID:doc_MultiActorUpdate_CBL<->SG<->CBS1_CBS1<->CBS2_1.2_create=cbl1,update=sg1
RevTreeID:
HLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
Mou:<nil>
Cas:0
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
} body:{"activePeer": "cbl1", "createPeer": "cbl1", "updatePeer": "sg1 (bucket:rosmar1,sourceid:rosmar1)", "topology": "CBL<->SG<->CBS1 CBS1<->CBS2 1.2", "action": "create"}, updatePeer:cbl1
hlv_test.go:56: waiting for doc version on peer cbl1 (sourceid:cbl1), written from cbl1: DocMetadata{
DocID:doc_MultiActorUpdate_CBL<->SG<->CBS1_CBS1<->CBS2_1.2_create=cbl1,update=sg1
RevTreeID:
HLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
Mou:<nil>
Cas:0
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
} body:{"activePeer": "cbl1", "createPeer": "cbl1", "updatePeer": "sg1 (bucket:rosmar1,sourceid:rosmar1)", "topology": "CBL<->SG<->CBS1 CBS1<->CBS2 1.2", "action": "create"}, updatePeer:cbl1
hlv_test.go:56: waiting for doc version on peer cbs1 (bucket:rosmar1,sourceid:rosmar1), written from cbl1: DocMetadata{
DocID:doc_MultiActorUpdate_CBL<->SG<->CBS1_CBS1<->CBS2_1.2_create=cbl1,update=sg1
RevTreeID:
HLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
Mou:<nil>
Cas:0
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:cbl1 Version:1754499391516442624 MergeVersions:map[] PreviousVersions:map[]}
} body:{"activePeer": "cbl1", "createPeer": "cbl1", "updatePeer": "sg1 (bucket:rosmar1,sourceid:rosmar1)", "topology": "CBL<->SG<->CBS1 CBS1<->CBS2 1.2", "action": "create"}, updatePeer:cbl1
2025-08-06T16:56:31.524Z [DBG] Sync+: c:[6c6df3a9] db:sg1 col:sg_test_0 Sending 1 changes
2025-08-06T16:56:31.524Z [DBG] Sync+: c:[6c6df3a9] db:sg1 col:sg_
|
Annotate Failures:
topologytest/peer_test.go#L311
peer_test.go:311: TopologyTest: created peer cbs1 (bucket:rosmar1,sourceid:rosmar1)
2025-08-06T16:56:28.327Z [INF] t:TestMultiActorUpdate/CBL<->SG<->CBS_1.1 Logging stats with frequency: &{1m0s}
2025-08-06T16:56:28.327Z [INF] t:TestMultiActorUpdate/CBL<->SG<->CBS_1.1 Initializing bootstrap connection..
2025-08-06T16:56:28.328Z [WRN] t:TestMultiActorUpdate/CBL<->SG<->CBS_1.1 Config: No database configs for group "5ec97466-02e5-4d5a-b418-f6879219931e". Continuing startup to allow REST API database creation -- rest.(*ServerContext).initializeBootstrapConnection() at server_context.go:2142
2025-08-06T16:56:28.328Z [INF] t:TestMultiActorUpdate/CBL<->SG<->CBS_1.1 Finished initializing bootstrap connection
2025-08-06T16:56:28.331Z [INF] db:sg1 delta_sync enabled=false with rev_max_age_seconds=86400 for database sg1
2025-08-06T16:56:28.331Z [WRN] db:sg1 Deprecation notice: setting database configuration option "disable_public_all_docs" to false is deprecated. In the future, public access to the all_docs API will be disabled by default. -- rest.dbcOptionsFromConfig() at server_context.go:1384
2025-08-06T16:56:28.331Z [INF] db:sg1 Opening db /sg1 as bucket "rosmar1", pool "default", server <rosmar:/?mode=memory>
2025-08-06T16:56:28.331Z [INF] db:sg1 Opening rosmar database rosmar1 on <rosmar:/?mode=memory>
2025-08-06T16:56:28.331Z [WRN] db:sg1 Using GSI is not supported when using a walrus bucket - switching to use views. Set 'use_views':true in Sync Gateway's database config to avoid this warning. -- rest.(*ServerContext)._getOrAddDatabaseFromConfig() at server_context.go:726
2025-08-06T16:56:28.332Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-08-06T16:56:28.332Z [INF] db:sg1 Verifying view availability for bucket
2025-08-06T16:56:28.332Z [INF] db:sg1 Views ready for bucket
2025-08-06T16:56:28.332Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-08-06T16:56:28.332Z [INF] db:sg1 Verifying view availability for bucket
2025-08-06T16:56:28.333Z [INF] db:sg1 Views ready for bucket
2025-08-06T16:56:28.333Z [INF] c:CleanAgedItems db:sg1 Created background task: "CleanAgedItems" with interval 1m0s
2025-08-06T16:56:28.333Z [INF] db:sg1 col:sg_test_0 Using default sync function "function(doc){channel(\"sg_test_0\");}" for database sg1.sg_test_0.sg_test_0
2025-08-06T16:56:28.333Z [INF] db:sg1 Waiting for database init to complete...
2025-08-06T16:56:28.333Z [INF] db:sg1 Database init completed, starting online processes
2025-08-06T16:56:28.333Z [INF] c:InsertPendingEntries db:sg1 Created background task: "InsertPendingEntries" with interval 2.5s
2025-08-06T16:56:28.333Z [INF] c:CleanSkippedSequenceQueue db:sg1 Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
2025-08-06T16:56:28.333Z [INF] CRUD: db:sg1 Database has _sync:seq value on startup of 0
2025-08-06T16:56:28.333Z [WRN] db:sg1 destKey sg1_import_b166ad8b9260289a9e3debfd12f153e5c681a63e55d8136d36aae427c2bd3cf3 already exists in cbgtDestFactories - new value will replace the existing dest -- base.StoreDestFactory() at dcp_sharded.go:643
2025-08-06T16:56:28.333Z [INF] Import: db:sg1 Starting DCP import feed for bucket: "<ud>rosmar1</ud>"
2025-08-06T16:56:28.333Z [INF] db:sg1 Using metadata purge interval of 30.00 days for tombstone compaction.
2025-08-06T16:56:28.333Z [INF] c:Compact db:sg1 Created background task: "Compact" with interval 24h0m0s
2025-08-06T16:56:28.333Z [INF] c:TotalSyncTimeStat db:sg1 Created background task: "TotalSyncTimeStat" with interval 1s
peer_test.go:311: TopologyTest: created peer sg1 (bucket:rosmar1,sourceid:rosmar1)
peer_test.go:311: TopologyTest: created peer cbl1 (sourceid:cbl1)
2025/08/06 16:56:28 Creating user: {"name":"user","collection_access":{"sg_test_0":{"sg_test_0":{"admin_channels":["*"]}}},"password":"letmein"}
2025/08/06 16:56:28 Creating user: {"name":"user","collection_access":{"sg_test_0":{"sg_test_0":{"admin_channels":["*"]}}},"password":"letmein"}
couchbase_lite_mock_peer_test.go:258: starting CBL replication: cbl1 (sourceid:cbl1)<-sg1 (bucket:rosmar
|
Run Tests
Process completed with exit code 1.
|
Loading