cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

cli: TestConcurrentZip failed

Open cockroach-teamcity opened this issue 9 months ago • 5 comments

cli.TestConcurrentZip failed on release-26.1 @ 1ad64e1d5f2ba07f4956fd93e37bf353fb2d8067:

          -[node 3] requesting execution trace list...
          -[node 3] requesting execution trace list: creating error output: debug/nodes/3/executiontraces.err.txt...
          -[node 3] requesting execution trace list: done
          -[node 3] requesting execution trace list: last request failed: rpc error: ...
          -[node 3] requesting execution trace list: received response...
          -[node 3] requesting goroutine dump list...
          -[node 3] requesting goroutine dump list: creating error output: debug/nodes/3/goroutines.err.txt...
          -[node 3] requesting goroutine dump list: done
          -[node 3] requesting goroutine dump list: last request failed: rpc error: ...
          -[node 3] requesting goroutine dump list: received response...
          -[node 3] requesting goroutine profile...
          -[node 3] requesting goroutine profile: done
          -[node 3] requesting goroutine profile: received response...
          -[node 3] requesting goroutine profile: writing binary output: debug/nodes/3/stacks.pprof...
          -[node 3] requesting heap profile list...
          -[node 3] requesting heap profile list: creating error output: debug/nodes/3/heapprof.err.txt...
          -[node 3] requesting heap profile list: done
          -[node 3] requesting heap profile list: last request failed: rpc error: ...
          -[node 3] requesting heap profile list: received response...
          -[node 3] requesting heap profile...
          -[node 3] requesting heap profile: done
          -[node 3] requesting heap profile: received response...
          -[node 3] requesting heap profile: writing binary output: debug/nodes/3/heap.pprof...
          -[node 3] requesting log files list...
          -[node 3] requesting log files list: done
          -[node 3] requesting log files list: received response...
          -[node 3] requesting ranges...
          -[node 3] requesting ranges: done
          -[node 3] requesting ranges: received response...
          -[node 3] requesting stacks with labels...
          -[node 3] requesting stacks with labels: done
          -[node 3] requesting stacks with labels: received response...
          -[node 3] requesting stacks with labels: writing binary output: debug/nodes/3/stacks_with_labels.txt...
          -[node 3] requesting stacks...
          -[node 3] requesting stacks: done
          -[node 3] requesting stacks: received response...
          -[node 3] requesting stacks: writing binary output: debug/nodes/3/stacks.txt...
          -[node 3] using SQL connection URL: postgresql://...
          -[node 3] writing ranges...
          -[node 3] writing ranges: done
          -[node 3] writing ranges: writing JSON output: debug/nodes/3/ranges.json...
          -[node ?] ? log files found
          -[node ?] ? log files found
          -[node ?] ? log files found
           debug zip --timeout=30s --cpu-profile-duration=0s --validate-zip-file=false --cluster-name=<cluster-name> /dev/null
           
    panic.go:615: -- test log scope end --
test logs left over in: outputs.zip/logTestConcurrentZip1521782736
    panic.go:615: -- test log scope end --
--- FAIL: TestConcurrentZip (21.31s)

Parameters:

  • attempt=1
  • deadlock=true
  • run=1
  • shard=11
Help

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

/cc @cockroachdb/obs-prs @cockroachdb/server @cockroachdb/obs-india-prs

This test on roachdash | Improve this report!

Jira issue: CRDB-60842

cockroach-teamcity avatar Feb 27 '26 09:02 cockroach-teamcity

This issue has multiple T-eam labels. Please make sure it only has one, or else issue synchronization will not work correctly.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

blathers-crl avatar Feb 27 '26 09:02 blathers-crl

This issue has multiple T-eam labels. Please make sure it only has one, or else issue synchronization will not work correctly.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

blathers-crl avatar Feb 27 '26 09:02 blathers-crl

This is an intermittent failure and not a release blocker. The error line of

+ERROR: json: unsupported value: +Inf

Suggests that a +Inf float value is being marshalled to JSON somewhere in the debug zip path, which causes the zip command to fail early. Upon deeper investigation found out that: createJSON → json.NewEncoder.Encode() → fails on non-finite floats in map[string]float64 metrics maps

Abhinav1299 avatar Mar 02 '26 15:03 Abhinav1299

Is it similar to this: https://github.com/cockroachdb/cockroach/pull/164280 ? I think we should fix in the metric type rather than fixing it in the debug.zip

aa-joshi avatar Mar 04 '26 09:03 aa-joshi

Yup, its similar to the above issue. Thanks for pointing this out. This specific test failure happened before the fix in #164460 was backported to v26.1.x.

I’m closing this issue for now, but I’ll keep an eye out in case a similar failure shows up again.

Abhinav1299 avatar Mar 04 '26 12:03 Abhinav1299