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

compose: TestComposeCompare failed [no locations to init GEOS] #121531

Closed
cockroach-teamcity opened this issue Apr 2, 2024 · 4 comments · Fixed by #123971
Closed

compose: TestComposeCompare failed [no locations to init GEOS] #121531

cockroach-teamcity opened this issue Apr 2, 2024 · 4 comments · Fixed by #123971
Assignees
Labels
branch-release-24.1 Used to mark GA and release blockers and technical advisories for 24.1 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. P-2 Issues/test failures with a fix SLA of 3 months T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Apr 2, 2024

compose.TestComposeCompare failed with artifacts on release-24.1 @ db4521b322585f7b70b4a79b62a0623c5c1aee7b:

        cockroach1_1  | status:              initialized new cluster
        cockroach1_1  | nodeID:              1
        test_1        | --- FAIL: TestCompare (1.18s)
        test_1        |     compare_test.go:104: Checking connection to: cockroach1
        test_1        |     compare_test.go:104: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/mutators (0.01s)
        test_1        |         compare_test.go:113: starting test: mutators
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        | 	panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 121 [running]:
        test_1        | testing.tRunner.func1.2({0x23b15c0, 0xc000c0c8c0})
        test_1        | 	GOROOT/src/testing/testing.go:1631 +0x24a
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1634 +0x377
        test_1        | panic({0x23b15c0?, 0xc000c0c8c0?})
        test_1        | 	GOROOT/src/runtime/panic.go:770 +0x132
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x49a6540?, {0x3425670?, 0xc00221fef0?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x45a
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc00221e3c0, 0x49a6540)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x127
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc00080ed80)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x76
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc00221e3c0, {0xc002178be0?, 0x33ecad0?, 0xc00221e2a0?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:253 +0x5e8
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc00221e3c0?, 0x25c13b0?, {0xc002178be0?, 0x2?, 0x100?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x28
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc00221e3c0, {0x25c13b0, 0x5}, 0x2, 0x0, {0xc002011a58, 0x3, 0x4396c5?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:94 +0x131
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc00221e3c0, 0x2, {0x0, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:118 +0x165
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc00221e3c0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:98 +0x2f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.init.wrapCommonSetup.func46(0x27e8798?)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:51 +0x1b
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc0008cdba0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:115 +0xe5
        test_1        | testing.tRunner(0xc0008cdba0, 0xc002160360)
        test_1        | 	GOROOT/src/testing/testing.go:1689 +0xfb
        test_1        | created by testing.(*T).Run in goroutine 67
        test_1        | 	GOROOT/src/testing/testing.go:1742 +0x390
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 2
--- FAIL: TestComposeCompare (9.03s)
Help

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

Same failure on other branches

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-37310

@cockroach-teamcity cockroach-teamcity added branch-release-24.1 Used to mark GA and release blockers and technical advisories for 24.1 O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Apr 2, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone Apr 2, 2024
@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on release-24.1 @ d2ac82658f68c96394a811a3eaecafcd808403f3:

        cockroach2_1  | status:              initialized new cluster
        cockroach2_1  | nodeID:              1
        test_1        | --- FAIL: TestCompare (0.94s)
        test_1        |     compare_test.go:104: Checking connection to: cockroach1
        test_1        |     compare_test.go:104: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/mutators (0.00s)
        test_1        |         compare_test.go:113: starting test: mutators
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        | 	panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 106 [running]:
        test_1        | testing.tRunner.func1.2({0x23b3640, 0xc000d9cbe0})
        test_1        | 	GOROOT/src/testing/testing.go:1631 +0x24a
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1634 +0x377
        test_1        | panic({0x23b3640?, 0xc000d9cbe0?})
        test_1        | 	GOROOT/src/runtime/panic.go:770 +0x132
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x49a9560?, {0x3427e50?, 0xc000d97530?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x45a
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000ac1cb0, 0x49a9560)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x127
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000d3c300)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x76
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000ac1cb0, {0xc000845cc0?, 0x33ef030?, 0xc001ff5b00?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:253 +0x5e8
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc000ac1cb0?, 0x25c3450?, {0xc000845cc0?, 0x4?, 0x100?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x28
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000ac1cb0, {0x25c3450, 0x5}, 0x4, 0x0, {0xc000cc1a58, 0x3, 0x43969b?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:94 +0x131
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000ac1cb0, 0x4, {0x0, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:118 +0x165
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000ac1cb0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:98 +0x2f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.init.wrapCommonSetup.func46(0x27ea898?)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:51 +0x1b
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc0008916c0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:115 +0xe5
        test_1        | testing.tRunner(0xc0008916c0, 0xc000aaa7e0)
        test_1        | 	GOROOT/src/testing/testing.go:1689 +0xfb
        test_1        | created by testing.(*T).Run in goroutine 51
        test_1        | 	GOROOT/src/testing/testing.go:1742 +0x390
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 2
--- FAIL: TestComposeCompare (9.36s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@fqazi
Copy link
Collaborator

fqazi commented Apr 9, 2024

Opened: #122038, lets remove this test

@rafiss
Copy link
Collaborator

rafiss commented Apr 12, 2024

The failure here is in the cockroach-cockroach comparison test, which we should keep. #122038 just removed the postgres-cockroach comparison test.

@rafiss rafiss added the C-test-failure Broken test (automatically or manually discovered). label Apr 24, 2024
@rafiss rafiss changed the title compose: TestComposeCompare failed compose: TestComposeCompare failed [no locations to init GEOS] Apr 24, 2024
@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on release-24.1 @ b3ed7b5872cecae473992e376800d2813472793d:

        cockroach1_1  | status:              initialized new cluster
        cockroach1_1  | nodeID:              1
        test_1        | --- FAIL: TestCompare (1.13s)
        test_1        |     compare_test.go:104: Checking connection to: cockroach1
        test_1        |     compare_test.go:104: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/mutators (0.01s)
        test_1        |         compare_test.go:113: starting test: mutators
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        | 	panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 32 [running]:
        test_1        | testing.tRunner.func1.2({0x23b8ca0, 0xc002099dc0})
        test_1        | 	GOROOT/src/testing/testing.go:1631 +0x24a
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1634 +0x377
        test_1        | panic({0x23b8ca0?, 0xc002099dc0?})
        test_1        | 	GOROOT/src/runtime/panic.go:770 +0x132
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x49bc600?, {0x3432350?, 0xc0020feff0?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x45a
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc002081f20, 0x49bc600)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x127
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc002226a80)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x76
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc002081f20, {0xc0020dbb40?, 0x33f93f0?, 0xc0020fe240?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:253 +0x5e8
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc002081f20?, 0x25c9170?, {0xc0020dbb40?, 0x4?, 0x100?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x28
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc002081f20, {0x25c9170, 0x5}, 0x4, 0x0, {0xc001ed9a58, 0x3, 0x4395db?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:94 +0x131
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc002081f20, 0x4, {0x0, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:118 +0x165
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc002081f20)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:98 +0x2f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.init.wrapCommonSetup.func46(0x27f0c58?)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:51 +0x1b
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc002095040)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:115 +0xe5
        test_1        | testing.tRunner(0xc002095040, 0xc0020d4360)
        test_1        | 	GOROOT/src/testing/testing.go:1689 +0xfb
        test_1        | created by testing.(*T).Run in goroutine 11
        test_1        | 	GOROOT/src/testing/testing.go:1742 +0x390
        compare_test_1 exited with code 2
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 2
--- FAIL: TestComposeCompare (9.36s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.1 Used to mark GA and release blockers and technical advisories for 24.1 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. P-2 Issues/test failures with a fix SLA of 3 months T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
Development

Successfully merging a pull request may close this issue.

3 participants