cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.1k stars 3.81k forks source link

sql/stats: TestRandomQuantileRoundTrip failed #130371

Open cockroach-teamcity opened 1 month ago

cockroach-teamcity commented 1 month ago

sql/stats.TestRandomQuantileRoundTrip failed with artifacts on master @ 942d2f819a7eb89a5166bef95274b9d8f438dacb:

=== RUN   TestRandomQuantileRoundTrip
--- FAIL: TestRandomQuantileRoundTrip (0.01s)
=== RUN   TestRandomQuantileRoundTrip/timestamptz/2
    --- FAIL: TestRandomQuantileRoundTrip/timestamptz/2 (0.00s)
panic: timestamp "-4713-06-15T10:10:10Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4713-06-15T10:10:10Z" exceeds supported timestamp bounds

goroutine 7769 [running]:
testing.tRunner.func1.2({0x4a2b940, 0x400458c940})
    GOROOT/src/testing/testing.go:1631 +0x1c4
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1634 +0x33c
panic({0x4a2b940?, 0x400458c940?})
    GOROOT/src/runtime/panic.go:770 +0x124
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0x95f4520, 0x400a0088a0, 0xb4)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:221 +0x554
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0x64bfd68, 0x9adada0}, 0x95f4520, 0x400a0088a0)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:76 +0x64
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0x400aa34000)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:50 +0x54
testing.tRunner(0x400aa34000, 0x400961ed50)
    GOROOT/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 7731
    GOROOT/src/testing/testing.go:1742 +0x318
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

This test on roachdash | Improve this report!

Jira issue: CRDB-42019

michae2 commented 1 month ago

This might be fallout from #127141.

cockroach-teamcity commented 1 month ago

sql/stats.TestRandomQuantileRoundTrip failed on master @ 285460a47358406e65df9ff3deb5a0764f58a2bf:

Fatal error:

panic: timestamp "-4713-02-02T15:10:19Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4713-02-02T15:10:19Z" exceeds supported timestamp bounds

Stack:

goroutine 6045 [running]:
testing.tRunner.func1.2({0x8240340, 0xc00280a7a0})
    GOROOT/src/testing/testing.go:1631 +0x3f7
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1634 +0x6b6
panic({0x8240340?, 0xc00280a7a0?})
    GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0xeeef6a0, 0xc006de54a0, 0x7a)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:221 +0x99d
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0xb75a3c8, 0x1048c880}, 0xeeef6a0, 0xc006de54a0)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:76 +0x96
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0xc007351040)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:50 +0x9d
testing.tRunner(0xc007351040, 0xc007ac8c60)
    GOROOT/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 6005
    GOROOT/src/testing/testing.go:1742 +0x826
Log preceding fatal error

``` === RUN TestRandomQuantileRoundTrip --- FAIL: TestRandomQuantileRoundTrip (0.03s) === RUN TestRandomQuantileRoundTrip/timestamptz/4 --- FAIL: TestRandomQuantileRoundTrip/timestamptz/4 (0.00s) ```

Parameters:

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

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 month ago

sql/stats.TestRandomQuantileRoundTrip failed on master @ d26f61dd5047c2590ac504adda33caf246386c0e:

Fatal error:

panic: timestamp "-4713-01-25T11:16:48Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4713-01-25T11:16:48Z" exceeds supported timestamp bounds

Stack:

goroutine 5645 [running]:
testing.tRunner.func1.2({0x824ff40, 0xc00652d780})
    GOROOT/src/testing/testing.go:1631 +0x3f7
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1634 +0x6b6
panic({0x824ff40?, 0xc00652d780?})
    GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0xef0a800, 0xc004a3cf30, 0x38)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:221 +0x99d
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0xb76dad8, 0x104a7ac0}, 0xef0a800, 0xc004a3cf30)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:76 +0x96
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0xc0044bfba0)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:50 +0x9d
testing.tRunner(0xc0044bfba0, 0xc0065f6450)
    GOROOT/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 5593
    GOROOT/src/testing/testing.go:1742 +0x826
Log preceding fatal error

``` === RUN TestRandomQuantileRoundTrip --- FAIL: TestRandomQuantileRoundTrip (0.03s) === RUN TestRandomQuantileRoundTrip/timestamptz/0 --- FAIL: TestRandomQuantileRoundTrip/timestamptz/0 (0.00s) ```

Parameters:

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

This test on roachdash | Improve this report!

XiaochenCui commented 1 month ago

This might be fallout from #127141.

I'll take a look

cockroach-teamcity commented 1 month ago

sql/stats.TestRandomQuantileRoundTrip failed on master @ b6c13686495bbe9ad476b28033461ef7628e18a8:

Fatal error:

panic: timestamp "-4713-04-20T04:14:22Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4713-04-20T04:14:22Z" exceeds supported timestamp bounds

Stack:

goroutine 6980 [running]:
testing.tRunner.func1.2({0x5138c00, 0xc0044aafa0})
    GOROOT/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1634 +0x377
panic({0x5138c00?, 0xc0044aafa0?})
    GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0xa0b4d40, 0xc0062f0ae0, 0x87)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:221 +0x5ba
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0x6bfcdb8, 0xa715d00}, 0xa0b4d40, 0xc0062f0ae0)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:76 +0x85
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0xc001a649c0)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:50 +0x5e
testing.tRunner(0xc001a649c0, 0xc006350060)
    GOROOT/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 6944
    GOROOT/src/testing/testing.go:1742 +0x390
Log preceding fatal error

``` === RUN TestRandomQuantileRoundTrip --- FAIL: TestRandomQuantileRoundTrip (0.01s) === RUN TestRandomQuantileRoundTrip/timestamptz/0 --- FAIL: TestRandomQuantileRoundTrip/timestamptz/0 (0.00s) ```

Parameters:

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

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 weeks ago

sql/stats.TestRandomQuantileRoundTrip failed with artifacts on master @ 188d9fe7211ca231b8359bef085b1b1b1301b713:

=== RUN   TestRandomQuantileRoundTrip
--- FAIL: TestRandomQuantileRoundTrip (0.00s)
=== RUN   TestRandomQuantileRoundTrip/timestamptz/3
    --- FAIL: TestRandomQuantileRoundTrip/timestamptz/3 (0.00s)
panic: timestamp "-4714-11-29T06:29:18Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4714-11-29T06:29:18Z" exceeds supported timestamp bounds

goroutine 7706 [running]:
testing.tRunner.func1.2({0x4ae7a20, 0x4008c2caa0})
    GOROOT/src/testing/testing.go:1631 +0x1c4
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1634 +0x33c
panic({0x4ae7a20?, 0x4008c2caa0?})
    GOROOT/src/runtime/panic.go:770 +0x124
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0x97966c0, 0x4001573950, 0x95)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:216 +0x554
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0x65b67f8, 0x9c7fb20}, 0x97966c0, 0x4001573950)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:71 +0x64
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0x40059b6d00)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:45 +0x54
testing.tRunner(0x40059b6d00, 0x4005eba5a0)
    GOROOT/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 7667
    GOROOT/src/testing/testing.go:1742 +0x318
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

This test on roachdash | Improve this report!

cockroach-teamcity commented 3 weeks ago

sql/stats.TestRandomQuantileRoundTrip failed on master @ a0f39e7ac9574756063bc90bba6bc532b45c33d4:

Fatal error:

panic: timestamp "-4713-03-22T03:00:09Z" exceeds supported timestamp bounds [recovered]
    panic: timestamp "-4713-03-22T03:00:09Z" exceeds supported timestamp bounds

Stack:

goroutine 5881 [running]:
testing.tRunner.func1.2({0x52001a0, 0xc0045b4aa0})
    GOROOT/src/testing/testing.go:1632 +0x230
testing.tRunner.func1()
    GOROOT/src/testing/testing.go:1635 +0x35e
panic({0x52001a0?, 0xc0045b4aa0?})
    GOROOT/src/runtime/panic.go:785 +0x132
github.com/cockroachdb/cockroach/pkg/sql/stats.randBounds(0x98f3120, 0xc004d10d80, 0x4c)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:216 +0x59a
github.com/cockroachdb/cockroach/pkg/sql/stats.randHist({0x6332af8, 0x9f17740}, 0x98f3120, 0xc004d10d80)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:71 +0x85
github.com/cockroachdb/cockroach/pkg/sql/stats.TestRandomQuantileRoundTrip.func1(0xc005ccf520)
    github.com/cockroachdb/cockroach/pkg/sql/stats/pkg/sql/stats/quantile_test.go:45 +0x5e
testing.tRunner(0xc005ccf520, 0xc004dd4120)
    GOROOT/src/testing/testing.go:1690 +0xf4
created by testing.(*T).Run in goroutine 5847
    GOROOT/src/testing/testing.go:1743 +0x390
Log preceding fatal error

``` === RUN TestRandomQuantileRoundTrip --- FAIL: TestRandomQuantileRoundTrip (0.01s) === RUN TestRandomQuantileRoundTrip/timestamp/3 --- FAIL: TestRandomQuantileRoundTrip/timestamp/3 (0.00s) ```

Parameters:

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

This test on roachdash | Improve this report!