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

x/tools/internal/gcimporter: TestImportTypeparamTests failures #57826

Closed
gopherbot opened this issue Jan 16, 2023 · 2 comments
Closed

x/tools/internal/gcimporter: TestImportTypeparamTests failures #57826

gopherbot opened this issue Jan 16, 2023 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
post <- pkg == "golang.org/x/tools/internal/gcimporter" && test == "TestImportTypeparamTests"

Issue created automatically to collect these failures.

Example (log):

panic: test timed out after 10m0s
running tests:
	TestImportTypeparamTests (8m58s)
	TestImportTypeparamTests/issue48225.go (8m54s)

testing.(*T).Run(0x8afe000, {0x89cd0f0, 0xd}, 0x891b2e0)
	/tmp/workdir/go/src/testing/testing.go:1629 +0x440
golang.org/x/tools/internal/gcimporter.TestImportTypeparamTests(0x8afe000)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gcimporter/gcimporter_test.go:205 +0x359
testing.tRunner(0x8afe000, 0x8349fd4)

watchflakes

@gopherbot gopherbot added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository. labels Jan 16, 2023
@gopherbot gopherbot added this to the Unreleased milestone Jan 16, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/internal/gcimporter" && test == "TestImportTypeparamTests"
2022-11-18 17:22 netbsd-386-9_3 tools@2592a854 go@fd00c14b x/tools/internal/gcimporter.TestImportTypeparamTests (log)
panic: test timed out after 10m0s
running tests:
	TestImportTypeparamTests (8m58s)
	TestImportTypeparamTests/issue48225.go (8m54s)

testing.(*T).Run(0x8afe000, {0x89cd0f0, 0xd}, 0x891b2e0)
	/tmp/workdir/go/src/testing/testing.go:1629 +0x440
golang.org/x/tools/internal/gcimporter.TestImportTypeparamTests(0x8afe000)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gcimporter/gcimporter_test.go:205 +0x359
testing.tRunner(0x8afe000, 0x8349fd4)
2022-11-21 23:37 openbsd-amd64-68 tools@060c049c go@1c9eba19 x/tools/internal/gcimporter.TestImportTypeparamTests (log)
--- FAIL: TestImportTypeparamTests (22.75s)
    --- FAIL: TestImportTypeparamTests/ordered.go (0.10s)
        gcimporter_test.go:74: /tmp/workdir/go/test/typeparam/ordered.go:57:6: internal compiler error: 'testOrdered[int]': panic during dse while compiling testOrdered[int]:

            runtime error: index out of range [59] with length 27

            goroutine 104 [running]:
            cmd/compile/internal/ssa.Compile.func1()
            	/tmp/workdir/go/src/cmd/compile/internal/ssa/compile.go:49 +0x71
            panic({0xd82160, 0xc000f24810})
...
            cmd/compile/internal/ssagen.Compile(0xc00054f900, 0x0?)
            	/tmp/workdir/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x4c
            cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
            	/tmp/workdir/go/src/cmd/compile/internal/gc/compile.go:171 +0x3a
            cmd/compile/internal/gc.compileFunctions.func3.1()
            	/tmp/workdir/go/src/cmd/compile/internal/gc/compile.go:153 +0x32
            created by cmd/compile/internal/gc.compileFunctions.func3
            	/tmp/workdir/go/src/cmd/compile/internal/gc/compile.go:152 +0x245

        gcimporter_test.go:75: go tool compile ordered.go failed: exit status 1
2022-11-23 23:53 netbsd-386-9_3 tools@f718365b go@3115ed23 x/tools/internal/gcimporter.TestImportTypeparamTests (log)
panic: test timed out after 10m0s

testing.(*T).Run(0x89062d0, {0x8920bc0, 0xd}, 0x8b95080)
	/tmp/workdir/go/src/testing/testing.go:1487 +0x38d
golang.org/x/tools/internal/gcimporter.TestImportTypeparamTests(0x89062d0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gcimporter/gcimporter_test.go:205 +0x4f6
testing.tRunner(0x89062d0, 0x8327e68)

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Jan 17, 2023

Duplicate of #56967

@bcmills bcmills marked this as a duplicate of #56967 Jan 17, 2023
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2023
@golang golang locked and limited conversation to collaborators Jan 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Archived in project
Development

No branches or pull requests

2 participants