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 #124394

Closed
cockroach-teamcity opened this issue May 19, 2024 · 1 comment
Closed
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. 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)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented May 19, 2024

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

=== RUN   TestRowLevelTTLJobRandomEntries
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestRowLevelTTLJobRandomEntries1987874100
    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/logTestRowLevelTTLJobRandomEntries1987874100
--- FAIL: TestRowLevelTTLJobRandomEntries (365.95s)
=== RUN   TestRowLevelTTLJobRandomEntries/random_3
    ttljob_test.go:836: test case: ttljob_test.testCase{desc:"random 3", createTable:"CREATE TABLE tbl (\n\tid UUID DEFAULT gen_random_uuid(),\n\trand_col_1 TIME,\n\trand_col_2 TIMESTAMP,\n\tt TEXT NULL,\n\ti INT8 NULL,\n\t\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 = 57)", preSetup:[]string(nil), postSetup:[]string(nil), numExpiredRows:1424, numNonExpiredRows:28, numSplits:9, 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_3 (182.53s)

Parameters:

  • attempt=1
  • run=18
  • 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-38867

@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 19, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone May 19, 2024
@rafiss
Copy link
Collaborator

rafiss commented May 21, 2024

#123770 fixes this but is not being backported to this branch

@rafiss rafiss closed this as completed May 21, 2024
SQL Foundations automation moved this from Triage to Done May 21, 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. 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)
Projects
Development

No branches or pull requests

2 participants