Skip to content

kv/kvserver: TestRebalancingAndCrossRegionZoneSnapshotMetrics failed #167004

@cockroach-teamcity

Description

@cockroach-teamcity

kv/kvserver.TestRebalancingAndCrossRegionZoneSnapshotMetrics failed on release-26.1 @ ec883a1305620cb561809f29464430ecfd2ade2c:

        	            	expected: map[string]kvserver_test.snapshotBytesMetrics{"":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:599}, ".cross-region":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:599}, ".cross-zone":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}, ".rebalancing":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:599}, ".recovery":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}}
        	            	actual  : map[string]kvserver_test.snapshotBytesMetrics{"":kvserver_test.snapshotBytesMetrics{sentBytes:822, rcvdBytes:599}, ".cross-region":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:599}, ".cross-zone":kvserver_test.snapshotBytesMetrics{sentBytes:822, rcvdBytes:0}, ".rebalancing":kvserver_test.snapshotBytesMetrics{sentBytes:822, rcvdBytes:599}, ".recovery":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,3 +2,3 @@
        	            	  (string) "": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 0,
        	            	+  sentBytes: (int64) 822,
        	            	   rcvdBytes: (int64) 599
        	            	@@ -10,3 +10,3 @@
        	            	  (string) (len=11) ".cross-zone": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 0,
        	            	+  sentBytes: (int64) 822,
        	            	   rcvdBytes: (int64) 0
        	            	@@ -14,3 +14,3 @@
        	            	  (string) (len=12) ".rebalancing": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 0,
        	            	+  sentBytes: (int64) 822,
        	            	   rcvdBytes: (int64) 599
        	Test:       	TestRebalancingAndCrossRegionZoneSnapshotMetrics/first_receiver
--- FAIL: TestRebalancingAndCrossRegionZoneSnapshotMetrics/first_receiver (0.00s)
=== RUN   TestRebalancingAndCrossRegionZoneSnapshotMetrics/sender
    replica_learner_test.go:2420: 
        	Error Trace:	pkg/kv/kvserver/replica_learner_test.go:2420
        	Error:      	Not equal: 
        	            	expected: map[string]kvserver_test.snapshotBytesMetrics{"":kvserver_test.snapshotBytesMetrics{sentBytes:1421, rcvdBytes:0}, ".cross-region":kvserver_test.snapshotBytesMetrics{sentBytes:599, rcvdBytes:0}, ".cross-zone":kvserver_test.snapshotBytesMetrics{sentBytes:822, rcvdBytes:0}, ".rebalancing":kvserver_test.snapshotBytesMetrics{sentBytes:1421, rcvdBytes:0}, ".recovery":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}}
        	            	actual  : map[string]kvserver_test.snapshotBytesMetrics{"":kvserver_test.snapshotBytesMetrics{sentBytes:599, rcvdBytes:0}, ".cross-region":kvserver_test.snapshotBytesMetrics{sentBytes:599, rcvdBytes:0}, ".cross-zone":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}, ".rebalancing":kvserver_test.snapshotBytesMetrics{sentBytes:599, rcvdBytes:0}, ".recovery":kvserver_test.snapshotBytesMetrics{sentBytes:0, rcvdBytes:0}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,3 +2,3 @@
        	            	  (string) "": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 1421,
        	            	+  sentBytes: (int64) 599,
        	            	   rcvdBytes: (int64) 0
        	            	@@ -10,3 +10,3 @@
        	            	  (string) (len=11) ".cross-zone": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 822,
        	            	+  sentBytes: (int64) 0,
        	            	   rcvdBytes: (int64) 0
        	            	@@ -14,3 +14,3 @@
        	            	  (string) (len=12) ".rebalancing": (kvserver_test.snapshotBytesMetrics) {
        	            	-  sentBytes: (int64) 1421,
        	            	+  sentBytes: (int64) 599,
        	            	   rcvdBytes: (int64) 0
        	Test:       	TestRebalancingAndCrossRegionZoneSnapshotMetrics/sender
--- FAIL: TestRebalancingAndCrossRegionZoneSnapshotMetrics/sender (0.00s)

Parameters:

  • attempt=1
  • run=1
  • shard=18
Help

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/kv-triage

This test on roachdash | Improve this report!

Jira issue: CRDB-62206

Metadata

Metadata

Assignees

Labels

A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.P-3Issues/test failures with no fix SLAT-kvKV Teambranch-release-26.1Used to mark GA and release blockers, technical advisories, and bugs for 26.1target-release-26.3.0v24.3.32v25.2.18v25.4.10v26.1.4v26.2.0-prerelease

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions