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

pkg/sql/ttl/ttljob/ttljob_test: TestRowLevelTTLJobRandomEntries failed #123669

Closed
cockroach-teamcity opened this issue May 6, 2024 · 1 comment · Fixed by #123770
Closed

pkg/sql/ttl/ttljob/ttljob_test: TestRowLevelTTLJobRandomEntries failed #123669

cockroach-teamcity opened this issue May 6, 2024 · 1 comment · Fixed by #123770
Assignees
Labels
branch-release-24.1.0-rc Used to mark GA and release blockers and technical advisories for 24.1.0-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented May 6, 2024

pkg/sql/ttl/ttljob/ttljob_test.TestRowLevelTTLJobRandomEntries failed on release-24.1.0-rc @ 34bbed697e77466f52012a80f0f6ae496c0d2889:

=== RUN   TestRowLevelTTLJobRandomEntries
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestRowLevelTTLJobRandomEntries4055412263
    test_log_scope.go:81: use -show-logs to present logs inline
    ttljob_test.go:932: -- test log scope end --
test logs left over in: outputs.zip/logTestRowLevelTTLJobRandomEntries4055412263
--- FAIL: TestRowLevelTTLJobRandomEntries (310.27s)
=== RUN   TestRowLevelTTLJobRandomEntries/random_2
    ttljob_test.go:836: test case: ttljob_test.testCase{desc:"random 2", createTable:"CREATE TABLE tbl (\n\tid UUID DEFAULT gen_random_uuid(),\n\trand_col_1 INET,\n\trand_col_2 TIMETZ,\n\tt TEXT NULL,\n\ti INT8 NULL,\n\tFAMILY fam0 (rand_col_1), FAMILY fam1 (t, id), \n\tPRIMARY KEY (id, rand_col_1, rand_col_2)\n) WITH (ttl_expire_after = '30 days', ttl_select_batch_size = 1, ttl_delete_batch_size = 30)", preSetup:[]string(nil), postSetup:[]string(nil), numExpiredRows:1860, numNonExpiredRows:1, numSplits:4, forceNonMultiTenant:false, expirationExpression:"", addRow:(func(*ttljob_test.rowLevelTTLTestJobTestHelper, *testing.T, *tree.CreateTable, time.Time))(nil)}
    test_server_shim.go:93: cluster virtualization disabled due to issue: #109391 (expected label: C-bug)

pkg/sql/ttl/ttljob/ttljob_test_test/pkg/sql/ttl/ttljob/ttljob_test.go:130: (newRowLevelTTLTestJobTestHelper)
	NOTICE: .DB() called via implicit interface ApplicationLayerInterface;
HINT: consider using .ApplicationLayer().DB() instead.
TIP: consider replacing the test server initialization from:
    ts, ... := serverutils.StartServer(t, ...)
    defer ts.Stopper().Stop(...)
to:
    srv, ... := serverutils.StartServer(t, ...)
    defer srv.Stopper().Stop(...)
    ts := srv.ApplicationLayer()

See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
    ttljob_test.go:158: condition failed to evaluate within 3m0s: from ttljob_test.go:173: 
        expectedStatus="succeeded"
        actualStatuses="running"
         expectedError=""
          actualErrors=""
    --- FAIL: TestRowLevelTTLJobRandomEntries/random_2 (182.37s)

Parameters:

  • attempt=1
  • run=20
  • shard=1
Help

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

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-38461

@cockroach-teamcity cockroach-teamcity added branch-release-24.1.0-rc Used to mark GA and release blockers and technical advisories for 24.1.0-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels May 6, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone May 6, 2024
@rafiss rafiss removed the release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. label May 6, 2024
@rafiss
Copy link
Collaborator

rafiss commented May 6, 2024

dupe of #123423

@rafiss rafiss self-assigned this May 7, 2024
@rafiss rafiss added the P-2 Issues/test failures with a fix SLA of 3 months label May 7, 2024
@exalate-issue-sync exalate-issue-sync bot removed the P-2 Issues/test failures with a fix SLA of 3 months label May 7, 2024
@craig craig bot closed this as completed in 8fcafc0 May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.1.0-rc Used to mark GA and release blockers and technical advisories for 24.1.0-rc C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants