Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccl/multitenantccl/tenantcostserver: TestInstanceCleanup failed #95917

Closed
cockroach-teamcity opened this issue Jan 26, 2023 · 2 comments
Closed
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jan 26, 2023

ccl/multitenantccl/tenantcostserver.TestInstanceCleanup failed with artifacts on master @ 2ad8df3df3272110705984efc32f1453631ce602:

      github.com/cockroachdb/cockroach/pkg/sql/internal.go:903 +0xf76
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).queryInternalBuffered()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:582 +0x258
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).QueryBufferedEx()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:551 +0x135
  github.com/cockroachdb/cockroach/pkg/sql.(*internalTxn).QueryBufferedEx()
      <autogenerated>:1 +0x33
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver.(*sysTableHelper).checkInvariants()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver/system_table.go:450 +0x23e
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver.(*sysTableHelper).maybeCheckInvariants()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver/system_table.go:440 +0x66
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver.(*instance).TokenBucketRequest.func1()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver/token_bucket.go:113 +0xb1b
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).Txn.func1()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:1418 +0x58
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).txn.func4()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:1496 +0x458
  github.com/cockroachdb/cockroach/pkg/kv.runTxn.func1()
      github.com/cockroachdb/cockroach/pkg/kv/db.go:960 +0x51
  github.com/cockroachdb/cockroach/pkg/kv.(*Txn).exec()
      github.com/cockroachdb/cockroach/pkg/kv/txn.go:927 +0xb0
  github.com/cockroachdb/cockroach/pkg/kv.runTxn()
      github.com/cockroachdb/cockroach/pkg/kv/db.go:959 +0x90
  github.com/cockroachdb/cockroach/pkg/kv.(*DB).TxnWithAdmissionControl()
      github.com/cockroachdb/cockroach/pkg/kv/db.go:922 +0xf0
  github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn()
      github.com/cockroachdb/cockroach/pkg/kv/db.go:897 +0x51
  github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn-fm()
      <autogenerated>:1 +0x64
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).txn()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:1484 +0x5fa
  github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).Txn()
      github.com/cockroachdb/cockroach/pkg/sql/internal.go:1419 +0xf0
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver.(*instance).TokenBucketRequest()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver/token_bucket.go:55 +0x825
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test.TestInstanceCleanup()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test/pkg/ccl/multitenantccl/tenantcostserver/server_test.go:364 +0x8aa
  github.com/cockroachdb/cockroach/pkg/server.(*TestServer).Start()
      github.com/cockroachdb/cockroach/pkg/server/testserver.go:598 +0x6c
  github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServer()
      github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:318 +0x1b1
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test.(*testState).start()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test/pkg/ccl/multitenantccl/tenantcostserver/server_test.go:80 +0x66
  github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test.TestInstanceCleanup()
      github.com/cockroachdb/cockroach/pkg/ccl/multitenantccl/tenantcostserver_test/pkg/ccl/multitenantccl/tenantcostserver/server_test.go:325 +0xa7
  testing.tRunner()
      GOROOT/src/testing/testing.go:1446 +0x216
  testing.(*T).Run.func1()
      GOROOT/src/testing/testing.go:1493 +0x47
==================

Parameters: TAGS=bazel,gss,race

Help

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

/cc @cockroachdb/multi-tenant

This test on roachdash | Improve this report!

Jira issue: CRDB-23814

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Jan 26, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.1 milestone Jan 26, 2023
@knz
Copy link
Contributor

knz commented Jan 26, 2023

dup #95937

@yuzefovich
Copy link
Member

dup of #95937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Projects
None yet
Development

No branches or pull requests

3 participants