cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

cli: TestPartialZip failed

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

cli.TestPartialZip failed on release-25.2.14-rc @ b453f33c4b61b41b543d930620daecac47c53a07:

          [node 2] requesting ranges: last request failed: rpc error: ...
          [node 2] requesting ranges: creating error output: debug/nodes/2/ranges.err.txt... done
          [node 3] node status... writing JSON output: debug/nodes/3/status.json... done
          [node 3] using SQL connection URL: postgresql://...
          <dumping SQL tables>
          [node 3] requesting data for debug/nodes/3/details... received response... writing JSON output: debug/nodes/3/details.json... done
          [node 3] requesting data for debug/nodes/3/gossip... received response... writing JSON output: debug/nodes/3/gossip.json... done
          [node 3] requesting stacks... received response... writing binary output: debug/nodes/3/stacks.txt... done
          [node 3] requesting stacks with labels... received response... writing binary output: debug/nodes/3/stacks_with_labels.txt... done
          [node 3] requesting heap profile... received response... writing binary output: debug/nodes/3/heap.pprof... done
          [node 3] requesting engine stats... received response... writing binary output: debug/nodes/3/lsm.txt... done
          [node 3] requesting heap profile list... received response...
          [node 3] requesting heap profile list: last request failed: rpc error: ...
          [node 3] requesting heap profile list: creating error output: debug/nodes/3/heapprof.err.txt... done
          [node 3] requesting goroutine dump list... received response...
          [node 3] requesting goroutine dump list: last request failed: rpc error: ...
          [node 3] requesting goroutine dump list: creating error output: debug/nodes/3/goroutines.err.txt... done
          [node 3] requesting cpu profile list... received response...
          [node 3] requesting cpu profile list: last request failed: rpc error: ...
          [node 3] requesting cpu profile list: creating error output: debug/nodes/3/cpuprof.err.txt... done
          [node 3] requesting log files list... received response... done
          [node ?] ? log files found
          [node 3] requesting ranges... received response... done
          [node 3] writing ranges... writing JSON output: debug/nodes/3/ranges.json... done
          [cluster] pprof summary script... writing binary output: debug/pprof-summary.sh... done
          [cluster] hot range summary script... writing binary output: debug/hot-ranges.sh... done
          [cluster] tenant hot range summary script... writing binary output: debug/hot-ranges-tenant.sh... done
          [cluster] capture debug zip flags... writing binary output: debug/debug_zip_command_flags.txt... done
[debug --host=127.0.0.1:45241 --insecure=true zip --concurrency=1 --exclude-nodes=2 --cpu-profile-duration=0 --cluster-name=TestCluster-W2XD06QpQr /dev/null]
    zip_test.go:770: 
          /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/pkg/cli/cli_test_/cli_test.runfiles/com_github_cockroachdb_cockroach/pkg/cli/testdata/zip/partial1_excluded:1:
          zip
        output didn't match expected:
          @@ -14,10 +14,12 @@
           [cluster] requesting tenant ranges: last request failed: rpc error: ...
           [cluster] requesting tenant ranges: creating error output: debug/tenant_ranges.err.txt... done
           [cluster] collecting the inflight traces for jobs... received response... done
           [node 1] node status... writing JSON output: debug/nodes/1/status.json... done
           [node 1] using SQL connection URL: postgresql://...
          +[node 1] retrieving SQL data for crdb_internal.active_range_feeds... writing output: debug/nodes/1/crdb_internal.active_range_feeds.txt...NOTICE: No license is installed. Throttling will begin after 2026-03-09 09:02:06 +0000 UTC unless a license is installed before then.
          + done
           <dumping SQL tables>
           [node 1] requesting data for debug/nodes/1/details... received response... writing JSON output: debug/nodes/1/details.json... done
           [node 1] requesting data for debug/nodes/1/gossip... received response... writing JSON output: debug/nodes/1/gossip.json... done
           [node 1] requesting stacks... received response... writing binary output: debug/nodes/1/stacks.txt... done
           [node 1] requesting stacks with labels... received response... writing binary output: debug/nodes/1/stacks_with_labels.txt... done
    panic.go:635: -- test log scope end --
test logs left over in: outputs.zip/logTestPartialZip3700253572
    panic.go:635: -- test log scope end --
--- FAIL: TestPartialZip (28.78s)

Parameters:

  • attempt=1
  • deadlock=true
  • run=1
  • shard=14
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-60920

cockroach-teamcity avatar Mar 02 '26 09:03 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 Mar 02 '26 09:03 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 Mar 02 '26 09:03 blathers-crl

Similar issue: https://github.com/cockroachdb/cockroach/issues/158973 Removing release blocker as this test is flaky under deadlock. The fix is already pushed to CRDB version 25.3 onwards

Abhinav1299 avatar Mar 02 '26 14:03 Abhinav1299