Skip to content

ccl/sqlproxyccl: TestCancelQuery failed #142810

@cockroach-teamcity

Description

@cockroach-teamcity

ccl/sqlproxyccl.TestCancelQuery failed on master @ 540a0423c37e471e51012b325ec822c03ccb1067:

      pkg/ccl/sqlproxyccl/conn_migration.go:49 +0x31
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl.(*forwarder).TransferConnection()
      pkg/ccl/sqlproxyccl/conn_migration.go:149 +0x11b
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl/balancer.(*Balancer).processQueue.func1.1()
      pkg/ccl/sqlproxyccl/balancer/balancer.go:371 +0x267
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2()
      pkg/util/stop/stopper.go:500 +0x342
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.gowrap1()
      pkg/util/stop/stopper.go:501 +0x4f

Previous write at 0x0000114b2748 by goroutine 4715:
  reflect.typedmemmove()
      GOROOT/src/runtime/mbarrier.go:225 +0x0
  reflect.Value.Set()
      GOROOT/src/reflect/value.go:2321 +0x184
  github.com/cockroachdb/cockroach/pkg/testutils.TestingHook.func1()
      pkg/testutils/hook.go:18 +0x70
  runtime.deferreturn()
      GOROOT/src/runtime/panic.go:611 +0x5d
  testing.tRunner()
      GOROOT/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      GOROOT/src/testing/testing.go:1743 +0x44

Goroutine 4718 (running) created at:
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx()
      pkg/util/stop/stopper.go:489 +0x72f
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTask()
      pkg/util/stop/stopper.go:360 +0x1ef
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl/balancer.(*Balancer).processQueue.func1()
      pkg/ccl/sqlproxyccl/balancer/balancer.go:363 +0xc0
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl/balancer.(*Balancer).processQueue()
      pkg/ccl/sqlproxyccl/balancer/balancer.go:386 +0xa5
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl/balancer.(*Balancer).processQueue-fm()
      <autogenerated>:1 +0x47
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2()
      pkg/util/stop/stopper.go:500 +0x342
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.gowrap1()
      pkg/util/stop/stopper.go:501 +0x4f

Goroutine 4715 (finished) created at:
  testing.(*T).Run()
      GOROOT/src/testing/testing.go:1743 +0x825
  github.com/cockroachdb/cockroach/pkg/ccl/sqlproxyccl.TestCancelQuery()
      pkg/ccl/sqlproxyccl/proxy_handler_test.go:1724 +0x1cde
  testing.tRunner()
      GOROOT/src/testing/testing.go:1690 +0x226
  testing.(*T).Run.gowrap1()
      GOROOT/src/testing/testing.go:1743 +0x44
==================

Parameters:

  • attempt=1
  • race=true
  • run=1
  • shard=7
Help

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

Same failure on other branches

/cc @cockroachdb/sql-foundations @cockroachdb/server

This test on roachdash | Improve this report!

Jira issue: CRDB-48530

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.T-cloud-platformbranch-masterFailures and bugs on the master branch.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions