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

build: make.bat failures #67894

Closed
gopherbot opened this issue Jun 7, 2024 · 3 comments
Closed

build: make.bat failures #67894

gopherbot opened this issue Jun 7, 2024 · 3 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Jun 7, 2024

#!watchflakes
default <- (pkg == "" && test == "make.bat" || pkg == "make.bat")

Issue created automatically to collect these failures.

Example (log):

Building Go cmd/dist using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap. (go1.20.6 windows/arm64)
Building Go toolchain1 using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap.
# bootstrap/cmd/link
fatal error: out of memory allocating heap arena metadata

runtime stack:
runtime.throw({0x7ff7d13e6c78?, 0xd77fbff9e8?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xd77fbff9b0 sp=0xd77fbff980 pc=0x7ff7d1196330
runtime.(*mheap).sysAlloc(0x7ff7d15c3a20, 0x0?, 0x7ff7d15d3db0, 0x1)
	c:/go/src/runtime/malloc.go:725 +0x304 fp=0xd77fbffa60 sp=0xd77fbff9b0 pc=0x7ff7d116bb24
...
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff75bb6fb4f?, 0x4019a86000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xbfe7fffb90 sp=0xbfe7fffb60 pc=0x7ff75b2b9530
runtime.sysUsedOS(0x4019a86000, 0x2000)
	c:/go/src/runtime/mem_windows.go:83 +0x178 fp=0xbfe7fffbf0 sp=0xbfe7fffb90 pc=0x7ff75b297278
runtime.sysUsed(0x7ff75c26bda0?, 0x1f4806768e8?, 0xbfe7ff6700?)
	c:/go/src/runtime/mem.go:77 +0x54 fp=0xbfe7fffc10 sp=0xbfe7fffbf0 pc=0x7ff75b296df4
runtime.(*mheap).allocSpan(0x7ff75c26bda0, 0x1, 0x0, 0x10?)
...
	c:/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x30 fp=0x401669bf60 sp=0x401669be90 pc=0x7ff75b8c1dd0
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	c:/go/src/cmd/compile/internal/gc/compile.go:171 +0x3c fp=0x401669bfa0 sp=0x401669bf60 pc=0x7ff75ba6c6dc
cmd/compile/internal/gc.compileFunctions.func3.1()
	c:/go/src/cmd/compile/internal/gc/compile.go:153 +0x38 fp=0x401669bfd0 sp=0x401669bfa0 pc=0x7ff75ba6ca78
runtime.goexit()
	c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x401669bfd0 sp=0x401669bfd0 pc=0x7ff75b2ebc94
created by cmd/compile/internal/gc.compileFunctions.func3
	c:/go/src/cmd/compile/internal/gc/compile.go:152 +0x1dc
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap\bin\go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1

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 Jun 7, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- repo == "telemetry" && pkg == "" && test == "make.bat"
2024-06-03 22:45 x_telemetry-gotip-windows-arm64 telemetry@f2b69109 go@535f81e7 make.bat (log)
Building Go cmd/dist using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap. (go1.20.6 windows/arm64)
Building Go toolchain1 using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap.
# bootstrap/cmd/link
fatal error: out of memory allocating heap arena metadata

runtime stack:
runtime.throw({0x7ff7d13e6c78?, 0xd77fbff9e8?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xd77fbff9b0 sp=0xd77fbff980 pc=0x7ff7d1196330
runtime.(*mheap).sysAlloc(0x7ff7d15c3a20, 0x0?, 0x7ff7d15d3db0, 0x1)
	c:/go/src/runtime/malloc.go:725 +0x304 fp=0xd77fbffa60 sp=0xd77fbff9b0 pc=0x7ff7d116bb24
...
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff75bb6fb4f?, 0x4019a86000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xbfe7fffb90 sp=0xbfe7fffb60 pc=0x7ff75b2b9530
runtime.sysUsedOS(0x4019a86000, 0x2000)
	c:/go/src/runtime/mem_windows.go:83 +0x178 fp=0xbfe7fffbf0 sp=0xbfe7fffb90 pc=0x7ff75b297278
runtime.sysUsed(0x7ff75c26bda0?, 0x1f4806768e8?, 0xbfe7ff6700?)
	c:/go/src/runtime/mem.go:77 +0x54 fp=0xbfe7fffc10 sp=0xbfe7fffbf0 pc=0x7ff75b296df4
runtime.(*mheap).allocSpan(0x7ff75c26bda0, 0x1, 0x0, 0x10?)
...
	c:/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x30 fp=0x401669bf60 sp=0x401669be90 pc=0x7ff75b8c1dd0
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	c:/go/src/cmd/compile/internal/gc/compile.go:171 +0x3c fp=0x401669bfa0 sp=0x401669bf60 pc=0x7ff75ba6c6dc
cmd/compile/internal/gc.compileFunctions.func3.1()
	c:/go/src/cmd/compile/internal/gc/compile.go:153 +0x38 fp=0x401669bfd0 sp=0x401669bfa0 pc=0x7ff75ba6ca78
runtime.goexit()
	c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x401669bfd0 sp=0x401669bfd0 pc=0x7ff75b2ebc94
created by cmd/compile/internal/gc.compileFunctions.func3
	c:/go/src/cmd/compile/internal/gc/compile.go:152 +0x1dc
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap\bin\go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1
2024-06-07 15:30 x_telemetry-gotip-windows-arm64 telemetry@32e72213 go@640067f2 make.bat (log)
Building Go cmd/dist using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap. (go1.20.6 windows/arm64)
Building Go toolchain1 using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
# cmd/compile/internal/ssa
runtime: VirtualAlloc of 8192 bytes failed with errno=1455
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff67da64045?, 0x401f0d7000?})
...
	..\..\w\goroot\src\cmd\compile\internal\ssagen/pgen.go:302 +0x68 fp=0x401f05df60 sp=0x401f05de90 pc=0x7ff67d79d778
bootstrap/cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	..\..\w\goroot\src\cmd\compile\internal/gc/compile.go:188 +0x40 fp=0x401f05dfa0 sp=0x401f05df60 pc=0x7ff67d953dd0
bootstrap/cmd/compile/internal/gc.compileFunctions.func3.1()
	..\..\w\goroot\src\cmd\compile\internal/gc/compile.go:170 +0x38 fp=0x401f05dfd0 sp=0x401f05dfa0 pc=0x7ff67d954158
runtime.goexit()
	..\..\../cache/tools/go_bootstrap/src/runtime/asm_arm64.s:1172 +0x4 fp=0x401f05dfd0 sp=0x401f05dfd0 pc=0x7ff67d38bf04
created by bootstrap/cmd/compile/internal/gc.compileFunctions.func3
	..\..\w\goroot\src\cmd\compile\internal/gc/compile.go:169 +0x1dc
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\go_bootstrap install -pgo=off cmd/asm cmd/cgo cmd/compile cmd/link cmd/preprofile: exit status 1

watchflakes

This was referenced Jun 7, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "" && test == "make.bat"
2024-05-21 19:16 x_benchmarks-gotip-windows-arm64 benchmarks@34853f5d go@535f81e7 make.bat (log)
Building Go cmd/dist using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap. (go1.20.6 windows/arm64)
Building Go toolchain1 using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap.
# bootstrap/cmd/compile/internal/ssa
runtime: VirtualAlloc of 8192 bytes failed with errno=1455
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff759d6fb4f?, 0x401b4d7000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0x28239ffca0 sp=0x28239ffc70 pc=0x7ff7594b9530
runtime.sysUsedOS(0x401b4d6000, 0x2000)
...
	c:/go/src/runtime/chan.go:259 +0x43c fp=0x401b261f70 sp=0x401b261ee0 pc=0x7ff7594855ec
runtime.chansend1(0x0?, 0x4000429f40?)
	c:/go/src/runtime/chan.go:145 +0x18 fp=0x401b261fa0 sp=0x401b261f70 pc=0x7ff759485198
cmd/compile/internal/gc.compileFunctions.func3.1()
	c:/go/src/cmd/compile/internal/gc/compile.go:154 +0x48 fp=0x401b261fd0 sp=0x401b261fa0 pc=0x7ff759c6ca88
runtime.goexit()
	c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x401b261fd0 sp=0x401b261fd0 pc=0x7ff7594ebc94
created by cmd/compile/internal/gc.compileFunctions.func3
	c:/go/src/cmd/compile/internal/gc/compile.go:152 +0x1dc
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap\bin\go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1
2024-06-04 14:43 x_tools-gotip-windows-arm64 tools@20880830 go@535f81e7 make.bat (log)
Building Go cmd/dist using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap. (go1.20.6 windows/arm64)
Building Go toolchain1 using C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap.
# bootstrap/cmd/link
runtime: VirtualAlloc of 352256 bytes failed with errno=1455
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff7d13d4a8e?, 0x4007b04000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xd5951ff6c0 sp=0xd5951ff690 pc=0x7ff7d1196330
runtime.sysUsedOS(0x4007afa000, 0x56000)
...
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff75bb6fb4f?, 0x401ada8000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0x237bbff8a0 sp=0x237bbff870 pc=0x7ff75b2b9530
runtime.sysUsedOS(0x401ada0000, 0x14000)
	c:/go/src/runtime/mem_windows.go:83 +0x178 fp=0x237bbff900 sp=0x237bbff8a0 pc=0x7ff75b297278
runtime.sysUsed(0x7ff75c26bda0?, 0x178810a3880?, 0x4014618300?)
	c:/go/src/runtime/mem.go:77 +0x54 fp=0x237bbff920 sp=0x237bbff900 pc=0x7ff75b296df4
runtime.(*mheap).allocSpan(0x7ff75c26bda0, 0xa, 0x0, 0x90?)
...
	c:/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x30 fp=0x401480bf60 sp=0x401480be90 pc=0x7ff75b8c1dd0
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
	c:/go/src/cmd/compile/internal/gc/compile.go:171 +0x3c fp=0x401480bfa0 sp=0x401480bf60 pc=0x7ff75ba6c6dc
cmd/compile/internal/gc.compileFunctions.func3.1()
	c:/go/src/cmd/compile/internal/gc/compile.go:153 +0x38 fp=0x401480bfd0 sp=0x401480bfa0 pc=0x7ff75ba6ca78
runtime.goexit()
	c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x401480bfd0 sp=0x401480bfd0 pc=0x7ff75b2ebc94
created by cmd/compile/internal/gc.compileFunctions.func3
	c:/go/src/cmd/compile/internal/gc/compile.go:152 +0x1dc
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\cache\tools\go_bootstrap\bin\go install -tags=math_big_pure_go compiler_bootstrap purego bootstrap/cmd/...: exit status 1

watchflakes

@cherrymui
Copy link
Member

Dup of #66962

@cherrymui cherrymui closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
@cherrymui cherrymui removed this from Test Flakes Jul 29, 2024
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.
Projects
None yet
Development

No branches or pull requests

2 participants