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/logictest/tests/fakedist/fakedist_test: TestLogic_distsql_automatic_partial_stats failed #137985

Closed
cockroach-teamcity opened this issue Dec 25, 2024 · 2 comments
Labels
branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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-queries SQL Queries Team X-duplicate Closed as a duplicate of another issue.

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Dec 25, 2024

pkg/sql/logictest/tests/fakedist/fakedist_test.TestLogic_distsql_automatic_partial_stats failed on release-24.3 @ 843d531ffd796f924e870aceceab1d4b888a4090:

=== RUN   TestLogic_distsql_automatic_partial_stats
    test_log_scope.go:165: test logs captured to: outputs.zip/logTestLogic_distsql_automatic_partial_stats2323288291
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:139: cluster virtualization disabled in global scope due to issue: #76378 (expected label: C-bug)
    logic.go:3033: 
         
        /var/lib/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/pkg/sql/logictest/tests/fakedist/fakedist_test_/fakedist_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_partial_stats:48: SELECT DISTINCT ON (statistics_name, column_names) statistics_name, column_names, row_count, distinct_count, null_count, partial_predicate
        FROM [SHOW STATISTICS FOR TABLE data] ORDER BY statistics_name, column_names, created DESC
        expected:
            statistics_name   column_names  row_count  distinct_count  null_count  partial_predicate
            __auto__          {a}           1000       10              0           NULL
            __auto__          {a,b}         1000       100             0           NULL
            __auto__          {a,b,c}       1000       1000            0           NULL
            __auto__          {b}           1000       10              0           NULL
            __auto__          {c}           1000       10              0           NULL
            __auto__          {d}           1000       1               0           NULL
            __auto_partial__  {a}           0          0               0           (a IS NULL) OR ((a < 1:::INT8) OR (a > 10:::INT8))
            __auto_partial__  {c}           0          0               0           (c IS NULL) OR ((c < 1.0:::FLOAT8) OR (c > 10.0:::FLOAT8))
            __auto_partial__  {d}           100        1               0           (d IS NULL) OR ((d < 1:::DECIMAL) OR (d > 1:::DECIMAL))
            
        but found (query options: "colnames,retry") :
            statistics_name  column_names  row_count  distinct_count  null_count  partial_predicate
            __auto__         {a}           1000       10              0           NULL
            __auto__         {a,b}         1000       100             0           NULL
            __auto__         {a,b,c}       1000       1000            0           NULL
            __auto__         {b}           1000       10              0           NULL
            __auto__         {c}           1000       10              0           NULL
            __auto__         {d}           1000       2               0           NULL
            
[10:30:46] --- progress: /var/lib/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/pkg/sql/logictest/tests/fakedist/fakedist_test_/fakedist_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_partial_stats: 10 statements
[10:30:46] --- done: /var/lib/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/pkg/sql/logictest/tests/fakedist/fakedist_test_/fakedist_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_partial_stats with config fakedist: 10 tests, 1 failures
    logic.go:4231: 
        /var/lib/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/pkg/sql/logictest/tests/fakedist/fakedist_test_/fakedist_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_partial_stats:63: error while processing
    logic.go:4231: /var/lib/engflow/worker/work/1/exec/bazel-out/k8-fastbuild/bin/pkg/sql/logictest/tests/fakedist/fakedist_test_/fakedist_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_partial_stats:63: too many errors encountered, skipping the rest of the input
    panic.go:626: -- test log scope end --
test logs left over in: outputs.zip/logTestLogic_distsql_automatic_partial_stats2323288291
--- FAIL: TestLogic_distsql_automatic_partial_stats (46.75s)

Parameters:

  • attempt=1
  • run=7
  • shard=29
Help

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

This test on roachdash | Improve this report!

Jira issue: CRDB-45837

@cockroach-teamcity cockroach-teamcity added branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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-queries SQL Queries Team labels Dec 25, 2024
@github-project-automation github-project-automation bot moved this to Triage in SQL Queries Dec 25, 2024
@mgartner
Copy link
Collaborator

Looks like a flaky test.

@mgartner
Copy link
Collaborator

Duplicate of #132697.

@github-project-automation github-project-automation bot moved this from Triage to Done in SQL Queries Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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-queries SQL Queries Team X-duplicate Closed as a duplicate of another issue.
Projects
Status: Done
Development

No branches or pull requests

2 participants