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 #67735

Closed
gopherbot opened this issue May 30, 2024 · 3 comments
Closed

build: make.bat failures #67735

gopherbot opened this issue May 30, 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

#!watchflakes
default <- repo == "net" && pkg == "" && test == "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.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for windows/arm64.
# cmd/distpack
runtime: VirtualAlloc of 409600 bytes failed with errno=1455
fatal error: out of memory

...
fatal error: runtime: cannot allocate memory

runtime stack:
runtime.throw({0x7ff6a5a5e44b?, 0xfffffffffffff800?})
	runtime/panic.go:1053 +0x38 fp=0xbd84fffd00 sp=0xbd84fffcd0 pc=0x7ff6a562ef88
runtime.persistentalloc1(0x1018, 0x7ff6a5de68e0?, 0x7ff6a5e2c778)
	runtime/malloc.go:1606 +0x284 fp=0xbd84fffd50 sp=0xbd84fffd00 pc=0x7ff6a55cd3f4
runtime.persistentalloc.func1()
	runtime/malloc.go:1559 +0x30 fp=0xbd84fffd80 sp=0xbd84fffd50 pc=0x7ff6a55cd150
runtime.systemstack(0x0)
...
	runtime/mem_windows.go:83 +0x178 fp=0x22cedffa10 sp=0x22cedff9b0 pc=0x7ff72ad892c8
runtime.sysUsed(...)
	runtime/mem.go:77
runtime.(*mheap).allocSpan(0x7ff72c199b80, 0x1, 0x0, 0x42)
	runtime/mheap.go:1345 +0x888 fp=0x22cedffb30 sp=0x22cedffa10 pc=0x7ff72ad9f9a8
runtime.(*mheap).alloc.func1()
	runtime/mheap.go:962 +0x6c fp=0x22cedffb80 sp=0x22cedffb30 pc=0x7ff72ad9ebdc
runtime.systemstack(0x0)
	runtime/asm_arm64.s:244 +0x6c fp=0x22cedffb90 sp=0x22cedffb80 pc=0x7ff72adf54ec
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\go_bootstrap install 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 May 30, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- repo == "net" && pkg == "" && test == "make.bat"
2024-05-21 22:48 x_net-gotip-windows-arm64 net@022530c4 go@5c7d7745 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.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for windows/arm64.
# cmd/distpack
runtime: VirtualAlloc of 409600 bytes failed with errno=1455
fatal error: out of memory

...
fatal error: runtime: cannot allocate memory

runtime stack:
runtime.throw({0x7ff6a5a5e44b?, 0xfffffffffffff800?})
	runtime/panic.go:1053 +0x38 fp=0xbd84fffd00 sp=0xbd84fffcd0 pc=0x7ff6a562ef88
runtime.persistentalloc1(0x1018, 0x7ff6a5de68e0?, 0x7ff6a5e2c778)
	runtime/malloc.go:1606 +0x284 fp=0xbd84fffd50 sp=0xbd84fffd00 pc=0x7ff6a55cd3f4
runtime.persistentalloc.func1()
	runtime/malloc.go:1559 +0x30 fp=0xbd84fffd80 sp=0xbd84fffd50 pc=0x7ff6a55cd150
runtime.systemstack(0x0)
...
	runtime/mem_windows.go:83 +0x178 fp=0x22cedffa10 sp=0x22cedff9b0 pc=0x7ff72ad892c8
runtime.sysUsed(...)
	runtime/mem.go:77
runtime.(*mheap).allocSpan(0x7ff72c199b80, 0x1, 0x0, 0x42)
	runtime/mheap.go:1345 +0x888 fp=0x22cedffb30 sp=0x22cedffa10 pc=0x7ff72ad9f9a8
runtime.(*mheap).alloc.func1()
	runtime/mheap.go:962 +0x6c fp=0x22cedffb80 sp=0x22cedffb30 pc=0x7ff72ad9ebdc
runtime.systemstack(0x0)
	runtime/asm_arm64.s:244 +0x6c fp=0x22cedffb90 sp=0x22cedffb80 pc=0x7ff72adf54ec
go tool dist: FAILED: C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\go_bootstrap install cmd: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- repo == "net" && pkg == "" && test == "make.bat"
2024-06-03 20:27 x_net-gotip-windows-arm64 net@6249541f go@499de421 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 57344 bytes failed with errno=1455
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff7d13d4a8e?, 0x40075cd000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0xc1afdff740 sp=0xc1afdff710 pc=0x7ff7d1196330
runtime.sysUsedOS(0x40075ca000, 0xe000)
...
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff75bb6fb4f?, 0x401a929000?})
	c:/go/src/runtime/panic.go:1047 +0x40 fp=0x76fafff840 sp=0x76fafff810 pc=0x7ff75b2b9530
runtime.sysUsedOS(0x401a926000, 0x1e000)
	c:/go/src/runtime/mem_windows.go:83 +0x178 fp=0x76fafff8a0 sp=0x76fafff840 pc=0x7ff75b297278
runtime.sysUsed(0x7ff75c26bda0?, 0x220ee230998?, 0x76faff0000?)
	c:/go/src/runtime/mem.go:77 +0x54 fp=0x76fafff8c0 sp=0x76fafff8a0 pc=0x7ff75b296df4
runtime.(*mheap).allocSpan(0x7ff75c26bda0, 0xf, 0x0, 0x10?)
...
	c:/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x30 fp=0x4018fcdf60 sp=0x4018fcde90 pc=0x7ff75b8c1dd0
cmd/compile/internal/gc.compileFunctions.func5.1(0x40004237a0?)
	c:/go/src/cmd/compile/internal/gc/compile.go:171 +0x3c fp=0x4018fcdfa0 sp=0x4018fcdf60 pc=0x7ff75ba6c6dc
cmd/compile/internal/gc.compileFunctions.func3.1()
	c:/go/src/cmd/compile/internal/gc/compile.go:153 +0x38 fp=0x4018fcdfd0 sp=0x4018fcdfa0 pc=0x7ff75ba6ca78
runtime.goexit()
	c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x4018fcdfd0 sp=0x4018fcdfd0 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