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] #121592

Closed
cockroach-teamcity opened this issue Apr 3, 2024 · 1 comment · Fixed by #123971
Closed

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

cockroach-teamcity opened this issue Apr 3, 2024 · 1 comment · Fixed by #123971
Assignees
Labels
branch-release-23.2 Used to mark GA and release blockers, technical advisories, and bugs for 23.2 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-dev-inf
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Apr 3, 2024

compose.TestComposeCompare failed with artifacts on release-23.2 @ 1bd13bac30e800571c8d49fb3c3286c2bb4811e8:

        cockroach1_1  | status:              initialized new cluster
        cockroach1_1  | nodeID:              1
        test_1        | --- FAIL: TestCompare (1.81s)
        test_1        |     compare_test.go:104: Checking connection to: cockroach2
        test_1        |     compare_test.go:104: Checking connection to: cockroach1
        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 133 [running]:
        test_1        | testing.tRunner.func1.2({0x2271c40, 0xc000fdd7e0})
        test_1        | 	GOROOT/src/testing/testing.go:1545 +0x238
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1548 +0x397
        test_1        | panic({0x2271c40?, 0xc000fdd7e0?})
        test_1        | 	GOROOT/src/runtime/panic.go:914 +0x21f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x46d4780?, {0x320c298?, 0xc000ffa810?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:375 +0x436
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x31cac00?, 0x46d4780)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:308 +0x12c
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000c38d80)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:225 +0x7f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000c20420, {0xc000c1f400?, 0x5, 0xc000c20420?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:258 +0x89d
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x20702e0?, 0x2474eae?, {0xc000c1f400?, 0x4a07148?, 0x2?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:96 +0x28
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000732680?, {0x2474eae, 0x5}, 0x5, 0xe0?, {0xc000cbba40, 0x3, 0x7f357535d108?})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:93 +0x131
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc002075cc8?, 0x1?, {0x0, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:118 +0x15e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc00073ea00?)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:98 +0x2f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.init.wrapCommonSetup.func28(0x265b4a8?)
        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(0xc0005b3860)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:115 +0xe2
        test_1        | testing.tRunner(0xc0005b3860, 0xc000c20390)
        test_1        | 	GOROOT/src/testing/testing.go:1595 +0xff
        test_1        | created by testing.(*T).Run in goroutine 7
        test_1        | 	GOROOT/src/testing/testing.go:1648 +0x3ad
        compare_test_1 exited with code 2
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 2
--- FAIL: TestComposeCompare (9.60s)
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-37357

@cockroach-teamcity cockroach-teamcity added branch-release-23.2 Used to mark GA and release blockers, technical advisories, and bugs for 23.2 O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Apr 3, 2024
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone Apr 3, 2024
@rafiss rafiss changed the title compose: TestComposeCompare failed compose: TestComposeCompare failed [no locations to init GEOS] Apr 3, 2024
@rafiss
Copy link
Collaborator

rafiss commented Apr 3, 2024

Checking if DevInf has advice on the proper way to initialize the geos library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-23.2 Used to mark GA and release blockers, technical advisories, and bugs for 23.2 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-dev-inf
Projects
Development

Successfully merging a pull request may close this issue.

3 participants