Skip to content

x/tools: spurious test failures due to missing go command on plan9 #67753

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

Open
gopherbot opened this issue May 31, 2024 · 6 comments
Open

x/tools: spurious test failures due to missing go command on plan9 #67753

gopherbot opened this issue May 31, 2024 · 6 comments
Labels
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
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCallgraph
    main_test.go:37: go tool not available: exec: "go": executable file not found in $path
--- FAIL: TestCallgraph (0.10s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 31, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2024-05-30 17:27 x_tools-go1.22-plan9-arm tools@2e977ddd release-branch.go1.22@74565750 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:37: go tool not available: exec: "go": executable file not found in $path
--- FAIL: TestCallgraph (0.10s)

watchflakes

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label May 31, 2024
@gopherbot gopherbot added this to the Unreleased milestone May 31, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2024-05-30 16:14 x_tools-go1.22-plan9-arm tools@8d54ca12 release-branch.go1.22@74565750 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:37: go tool not available: exec: "go": executable file not found in $path
--- FAIL: TestCallgraph (0.10s)

watchflakes

@adonovan adonovan changed the title x/tools/cmd/callgraph: TestCallgraph failures x/tools: spurious test failures due to missing go command on plan9 May 31, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2024-06-04 14:43 x_tools-go1.21-windows-arm64 tools@20880830 release-branch.go1.21@9488a444 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:81: err: exit status 2: stderr: runtime: failed to create new OS thread (have 13 already; errno=1455)
        fatal error: runtime.newosproc
        
        runtime stack:
        runtime.throw({0x7ff6b9a44fcc?, 0x0?})
        	runtime/panic.go:1077 +0x40 fp=0x1d8e3ffb00 sp=0x1d8e3ffad0 pc=0x7ff6b947a8f0
        runtime.newosproc(0x1d8e3ffb98?)
        	runtime/os_windows.go:890 +0xec fp=0x1d8e3ffb60 sp=0x1d8e3ffb00 pc=0x7ff6b94777ac
        runtime.newm1(0x40003ca400)
...
        os/exec.(*Cmd).Start.func2(0x0?)
        	os/exec/exec.go:717 +0x34 fp=0x4000545fb0 sp=0x4000545f40 pc=0x7ff6b9567a94
        os/exec.(*Cmd).Start.func3()
        	os/exec/exec.go:729 +0x34 fp=0x4000545fd0 sp=0x4000545fb0 pc=0x7ff6b9567a24
        runtime.goexit()
        	runtime/asm_arm64.s:1197 +0x4 fp=0x4000545fd0 sp=0x4000545fd0 pc=0x7ff6b94ae0a4
        created by os/exec.(*Cmd).Start in goroutine 326
        	os/exec/exec.go:716 +0x828
        
--- FAIL: TestCallgraph (4.19s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2024-07-11 15:04 x_tools-gotip-openbsd-ppc64 tools@ef4d0833 go@a71bb570 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:37: go tool not available: /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /dev/null /home/swarming/.swarming/w/ir/x/t/testenv-2445791106/main.go: exit status 1
        go: error obtaining buildID for go tool compile: signal: segmentation fault (core dumped)
--- FAIL: TestCallgraph (1.81s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2025-04-08 01:33 x_tools-go1.23-windows-arm64 tools@456962ef release-branch.go1.23@7a2cfb70 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:80: err: exit status 2: stderr: runtime: VirtualAlloc of 32768 bytes failed with errno=1455
        fatal error: out of memory
        
        runtime stack:
        runtime.throw({0x7ff60ee4092a?, 0x4000570000?})
        	runtime/panic.go:1073 +0x38 fp=0x6ed3bff6d0 sp=0x6ed3bff6a0 pc=0x7ff60e830008
        runtime.sysUsedOS(0x4000570000, 0x8000)
        	runtime/mem_windows.go:83 +0x178 fp=0x6ed3bff730 sp=0x6ed3bff6d0 pc=0x7ff60e7d6428
        runtime.sysUsed(...)
...
        os/exec.(*Cmd).Start.func2(0x0?)
        	os/exec/exec.go:733 +0x34 fp=0x40003f7fb0 sp=0x40003f7f40 pc=0x7ff60e903024
        os/exec.(*Cmd).Start.gowrap1()
        	os/exec/exec.go:745 +0x30 fp=0x40003f7fd0 sp=0x40003f7fb0 pc=0x7ff60e902fb0
        runtime.goexit({})
        	runtime/asm_arm64.s:1223 +0x4 fp=0x40003f7fd0 sp=0x40003f7fd0 pc=0x7ff60e838554
        created by os/exec.(*Cmd).Start in goroutine 467
        	os/exec/exec.go:732 +0x840
        
--- FAIL: TestCallgraph (5.83s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/callgraph" && test == "TestCallgraph"
2025-04-08 01:33 x_tools-gotip-windows-arm64 tools@456962ef go@58b68911 x/tools/cmd/callgraph.TestCallgraph (log)
=== RUN   TestCallgraph
    main_test.go:80: err: exit status 1: stderr: go: error obtaining buildID for go tool link: fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\link.exe: The parameter is incorrect.
        
--- FAIL: TestCallgraph (6.33s)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Status: No status
Development

No branches or pull requests

1 participant