Multi-actor/Conflict tests and BTC pull replication conflict resolution #12807
Annotations
5 errors
Run Tests
Process completed with exit code 1.
|
Annotate Failures:
topologytest/peer_test.go#L310
peer_test.go:310: TopologyTest: created peer sg2 (bucket:sg_int_rosmar_e115694f22c0154bc266bdfdc1cf7509,sourceid:LONoIFTLPg5jUiVGcZQWDg)
peer_test.go:310: TopologyTest: created peer cbl1 (sourceid:cbl1)
peer_test.go:310: TopologyTest: created peer cbl2 (sourceid:cbl2)
peer_test.go:310: TopologyTest: created peer cbs1 (bucket:sg_int_rosmar_28c4a62501b8bdd799c866fd5e81aa31,sourceid:mng2l0DYAaqptnluIK7zYQ)
peer_test.go:310: TopologyTest: created peer cbs2 (bucket:sg_int_rosmar_e115694f22c0154bc266bdfdc1cf7509,sourceid:LONoIFTLPg5jUiVGcZQWDg)
2025-01-21T18:31:21.769Z [INF] t:TestMultiActorConflictResurrect/2x_CBL<->SG<->CBS_XDCR_only_1.3 Logging stats with frequency: &{1m0s}
2025-01-21T18:31:21.769Z [INF] t:TestMultiActorConflictResurrect/2x_CBL<->SG<->CBS_XDCR_only_1.3 Initializing bootstrap connection..
2025-01-21T18:31:21.769Z [WRN] t:TestMultiActorConflictResurrect/2x_CBL<->SG<->CBS_XDCR_only_1.3 Config: No database configs for group "ab2b8b69-18b0-4948-8f53-a52f3ea9223a". Continuing startup to allow REST API database creation -- rest.(*ServerContext).initializeBootstrapConnection() at server_context.go:2107
2025-01-21T18:31:21.769Z [INF] t:TestMultiActorConflictResurrect/2x_CBL<->SG<->CBS_XDCR_only_1.3 Finished initializing bootstrap connection
2025-01-21T18:31:21.770Z [INF] delta_sync enabled=false with rev_max_age_seconds=86400 for database sg1
2025-01-21T18:31:21.770Z [INF] db:sg1 Opening db /sg1 as bucket "sg_int_rosmar_28c4a62501b8bdd799c866fd5e81aa31", pool "default", server <rosmar:/?mode=memory>
2025-01-21T18:31:21.770Z [INF] db:sg1 Opening rosmar database sg_int_rosmar_28c4a62501b8bdd799c866fd5e81aa31 on <rosmar:/?mode=memory>
2025-01-21T18:31:21.770Z [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:648
2025-01-21T18:31:21.770Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-01-21T18:31:21.770Z [INF] db:sg1 Verifying view availability for bucket
2025-01-21T18:31:21.771Z [INF] db:sg1 Views ready for bucket
2025-01-21T18:31:21.771Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-01-21T18:31:21.771Z [INF] db:sg1 Verifying view availability for bucket
2025-01-21T18:31:21.771Z [INF] db:sg1 Views ready for bucket
2025-01-21T18:31:21.771Z [INF] c:CleanAgedItems db:sg1 Created background task: "CleanAgedItems" with interval 1m0s
2025-01-21T18:31:21.771Z [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-01-21T18:31:21.771Z [INF] db:sg1 Waiting for database init to complete...
2025-01-21T18:31:21.771Z [INF] db:sg1 Database init completed, starting online processes
2025-01-21T18:31:21.771Z [INF] c:InsertPendingEntries db:sg1 Created background task: "InsertPendingEntries" with interval 2.5s
2025-01-21T18:31:21.771Z [INF] c:CleanSkippedSequenceQueue db:sg1 Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
2025-01-21T18:31:21.771Z [INF] CRUD: db:sg1 Database has _sync:seq value on startup of 0
2025-01-21T18:31:21.771Z [WRN] db:sg1 destKey sg1_import_b166ad8b9260289a9e3debfd12f153e5c681a63e55d8136d36aae427c2bd3cf3 already exists in cbgtDestFactories - new value will replace the existing dest -- base.StoreDestFactory() at dcp_sharded.go:640
2025-01-21T18:31:21.771Z [INF] Import: db:sg1 Starting DCP import feed for bucket: "<ud>sg_int_rosmar_28c4a62501b8bdd799c866fd5e81aa31</ud>"
2025-01-21T18:31:21.771Z [INF] db:sg1 Using metadata purge interval of 30.00 days for tombstone compaction.
2025-01-21T18:31:21.771Z [INF] c:Compact db:sg1 Created background task: "Compact" with interval 24h0m0s
2025-01-21T18:31:21.771Z [INF] c:TotalSyncTimeStat db:sg1 Created background task: "TotalSyncTimeStat" with interval 1s
peer_test.go:310: TopologyTest: created peer sg1 (bucket:sg_int_rosmar_28c4a62501b8bdd799c866fd5e81aa31,sourceid:mng2l0DYAaqptnluIK7zYQ)
2025/01/21 1
|
Annotate Failures:
topologytest/hlv_test.go#L101
hlv_test.go:101: Global doc "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3" state for all peers:
====
peer(cbs2)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"4-ba646b974d6421108dd4f68e36086a11",
HLV:&{CurrentVersionCAS:1737484281815498752 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
Mou:<nil>,
Cas:1737484281815498752,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(sg1)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"5-5698cb133140d1ffd239d839e08b82b6",
HLV:&{CurrentVersionCAS:1737484281815498752 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
Mou:<nil>,
Cas:1737484281815498752,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(sg2)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"4-ba646b974d6421108dd4f68e36086a11",
HLV:&{CurrentVersionCAS:1737484281815498752 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
Mou:<nil>,
Cas:1737484281815498752,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(cbl1)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"",
HLV:&{CurrentVersionCAS:0 SourceID:btc-2811008157 Version:1737484281816565000 MergeVersions:map[] PreviousVersions:map[LONoIFTLPg5jUiVGcZQWDg:1737484281806782464 btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000 mng2l0DYAaqptnluIK7zYQ:1737484281815171072]},
Mou:<nil>,
Cas:0,
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:btc-2811008157 Version:1737484281816565000 MergeVersions:map[] PreviousVersions:map[LONoIFTLPg5jUiVGcZQWDg:1737484281806782464 btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000 mng2l0DYAaqptnluIK7zYQ:1737484281815171072]},
}
body:map[]
====
peer(cbl2)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"",
HLV:&{CurrentVersionCAS:0 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
Mou:<nil>,
Cas:0,
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
}
body:map[]
====
peer(cbs1)
----
DocMetadata{
DocID: "doc_MultiActorConflictResurrect_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"5-5698cb133140d1ffd239d839e08b82b6",
HLV:&{CurrentVersionCAS:1737484281815498752 SourceID:LONoIFTLPg5jUiVGcZQWDg Version:1737484281815498752 MergeVersions:map[] PreviousVersions:map[btc-2811008157:1737484281809355000 btc-3486079330:1737484281808032000]},
Mou:<nil>,
Cas:1737484281815498752,
ImplicitHLV:<nil>,
}
body:map[]
hlv_test.go:89:
Error Trace: /Users/runner/work/sync_gateway/sync_gateway/topologytest/hlv_test.go:89
/Users/runner/work/sync_gateway/sync_gateway/topologytest/multi_actor_conflict_test.go:120
Error: Peers did not converge on version
Test: TestMultiAc
|
Annotate Failures:
topologytest/peer_test.go#L310
peer_test.go:310: TopologyTest: created peer cbl2 (sourceid:cbl2)
peer_test.go:310: TopologyTest: created peer cbs1 (bucket:sg_int_rosmar_40f83dd48fccd55c43bea8a4de54e115,sourceid:pFUYCnEBR3XR/mCMPoPyVQ)
peer_test.go:310: TopologyTest: created peer cbs2 (bucket:sg_int_rosmar_77c42d831b79f80e4224efdb2e03619e,sourceid:aX1diQbUiXQCSqf/n4hwyQ)
2025-01-21T18:31:31.642Z [INF] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Logging stats with frequency: &{1m0s}
2025-01-21T18:31:31.642Z [INF] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Initializing bootstrap connection..
2025-01-21T18:31:31.642Z [WRN] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Config: No database configs for group "7b0d6e2b-c162-4f22-b715-0d730a17359b". Continuing startup to allow REST API database creation -- rest.(*ServerContext).initializeBootstrapConnection() at server_context.go:2107
2025-01-21T18:31:31.642Z [INF] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Finished initializing bootstrap connection
2025-01-21T18:31:31.643Z [INF] delta_sync enabled=false with rev_max_age_seconds=86400 for database sg1
2025-01-21T18:31:31.643Z [INF] db:sg1 Opening db /sg1 as bucket "sg_int_rosmar_40f83dd48fccd55c43bea8a4de54e115", pool "default", server <rosmar:/?mode=memory>
2025-01-21T18:31:31.643Z [INF] db:sg1 Opening rosmar database sg_int_rosmar_40f83dd48fccd55c43bea8a4de54e115 on <rosmar:/?mode=memory>
2025-01-21T18:31:31.643Z [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:648
2025-01-21T18:31:31.643Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-01-21T18:31:31.643Z [INF] db:sg1 Verifying view availability for bucket
2025-01-21T18:31:31.643Z [INF] db:sg1 Views ready for bucket
2025-01-21T18:31:31.643Z [INF] db:sg1 Design docs for current SG view version (2.1) found.
2025-01-21T18:31:31.643Z [INF] db:sg1 Verifying view availability for bucket
2025-01-21T18:31:31.644Z [INF] db:sg1 Views ready for bucket
2025-01-21T18:31:31.644Z [INF] c:CleanAgedItems db:sg1 Created background task: "CleanAgedItems" with interval 1m0s
2025-01-21T18:31:31.644Z [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-01-21T18:31:31.645Z [INF] db:sg1 Waiting for database init to complete...
2025-01-21T18:31:31.645Z [INF] db:sg1 Database init completed, starting online processes
2025-01-21T18:31:31.645Z [INF] c:InsertPendingEntries db:sg1 Created background task: "InsertPendingEntries" with interval 2.5s
2025-01-21T18:31:31.645Z [INF] c:CleanSkippedSequenceQueue db:sg1 Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
2025-01-21T18:31:31.645Z [INF] CRUD: db:sg1 Database has _sync:seq value on startup of 0
2025-01-21T18:31:31.645Z [WRN] db:sg1 destKey sg1_import_b166ad8b9260289a9e3debfd12f153e5c681a63e55d8136d36aae427c2bd3cf3 already exists in cbgtDestFactories - new value will replace the existing dest -- base.StoreDestFactory() at dcp_sharded.go:640
2025-01-21T18:31:31.645Z [INF] Import: db:sg1 Starting DCP import feed for bucket: "<ud>sg_int_rosmar_40f83dd48fccd55c43bea8a4de54e115</ud>"
2025-01-21T18:31:31.645Z [INF] db:sg1 Using metadata purge interval of 30.00 days for tombstone compaction.
2025-01-21T18:31:31.645Z [INF] c:Compact db:sg1 Created background task: "Compact" with interval 24h0m0s
2025-01-21T18:31:31.645Z [INF] c:TotalSyncTimeStat db:sg1 Created background task: "TotalSyncTimeStat" with interval 1s
peer_test.go:310: TopologyTest: created peer sg1 (bucket:sg_int_rosmar_40f83dd48fccd55c43bea8a4de54e115,sourceid:pFUYCnEBR3XR/mCMPoPyVQ)
2025-01-21T18:31:31.646Z [INF] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Logging stats with frequency: &{1m0s}
2025-01-21T18:31:31.646Z [INF] t:TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3 Initializ
|
Annotate Failures:
topologytest/hlv_test.go#L101
hlv_test.go:101: Global doc "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3" state for all peers:
====
peer(sg1)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"3-cd33d1147bc3922a61dc4f5a3dd2e049",
HLV:&{CurrentVersionCAS:1737484291691642880 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
Mou:<nil>,
Cas:1737484291691642880,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(sg2)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"2-3c61d8df3883d5b46a32508edcf96f3e",
HLV:&{CurrentVersionCAS:1737484291691642880 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
Mou:<nil>,
Cas:1737484291691642880,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(cbl1)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"",
HLV:&{CurrentVersionCAS:0 SourceID:btc-1278011747 Version:1737484291692804000 MergeVersions:map[] PreviousVersions:map[aX1diQbUiXQCSqf/n4hwyQ:1737484291684499456 pFUYCnEBR3XR/mCMPoPyVQ:1737484291691315200]},
Mou:<nil>,
Cas:0,
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:btc-1278011747 Version:1737484291692804000 MergeVersions:map[] PreviousVersions:map[aX1diQbUiXQCSqf/n4hwyQ:1737484291684499456 pFUYCnEBR3XR/mCMPoPyVQ:1737484291691315200]},
}
body:map[]
====
peer(cbl2)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"",
HLV:&{CurrentVersionCAS:0 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
Mou:<nil>,
Cas:0,
ImplicitHLV:&{CurrentVersionCAS:0 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
}
body:map[]
====
peer(cbs1)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"3-cd33d1147bc3922a61dc4f5a3dd2e049",
HLV:&{CurrentVersionCAS:1737484291691642880 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
Mou:<nil>,
Cas:1737484291691642880,
ImplicitHLV:<nil>,
}
body:map[]
====
peer(cbs2)
----
DocMetadata{
DocID: "doc_MultiActorConflictDelete_2x_CBL<->SG<->CBS_XDCR_only_1.3",
RevTreeID:"2-3c61d8df3883d5b46a32508edcf96f3e",
HLV:&{CurrentVersionCAS:1737484291691642880 SourceID:aX1diQbUiXQCSqf/n4hwyQ Version:1737484291691642880 MergeVersions:map[] PreviousVersions:map[]},
Mou:<nil>,
Cas:1737484291691642880,
ImplicitHLV:<nil>,
}
body:map[]
hlv_test.go:89:
Error Trace: /Users/runner/work/sync_gateway/sync_gateway/topologytest/hlv_test.go:89
/Users/runner/work/sync_gateway/sync_gateway/topologytest/multi_actor_conflict_test.go:86
Error: Peers did not converge on version
Test: TestMultiActorConflictDelete/2x_CBL<->SG<->CBS_XDCR_only_1.3
|
Loading