golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
121.14k stars 17.36k forks source link

build: make.bat failures #67736

Open gopherbot opened 1 month ago

gopherbot commented 1 month ago
#!watchflakes
default <- repo == "crypto" && 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/dist
runtime: VirtualAlloc of 1548288 bytes failed with errno=1455
fatal error: out of memory

...
fatal error: out of memory

runtime stack:
runtime.throw({0x7ff7512cbed4?, 0x4005936000?})
    runtime/panic.go:1053 +0x38 fp=0x4971ffa10 sp=0x4971ff9e0 pc=0x7ff750eaef88
runtime.sysUsedOS(0x40058f0000, 0x82000)
    runtime/mem_windows.go:83 +0x178 fp=0x4971ffa70 sp=0x4971ffa10 pc=0x7ff750e53b38
runtime.sysUsed(...)
    runtime/mem.go:77
runtime.(*mheap).allocSpan(0x7ff7516668e0, 0x41, 0x0, 0x1)
...
    runtime/proc.go:423 +0xc8 fp=0x400043bf00 sp=0x400043bee0 pc=0x7ff6e23af2d8
runtime.gcBgMarkWorker(0x4000418f50)
    runtime/mgc.go:1363 +0xdc fp=0x400043bfb0 sp=0x400043bf00 pc=0x7ff6e234ebbc
runtime.gcBgMarkStartWorkers.gowrap1()
    runtime/mgc.go:1279 +0x28 fp=0x400043bfd0 sp=0x400043bfb0 pc=0x7ff6e234eaa8
runtime.goexit({})
    runtime/asm_arm64.s:1223 +0x4 fp=0x400043bfd0 sp=0x400043bfd0 pc=0x7ff6e23b7914
created by runtime.gcBgMarkStartWorkers in goroutine 72
    runtime/mgc.go:1279 +0x140
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 commented 1 month ago

Found new dashboard test flakes for:

#!watchflakes
default <- repo == "crypto" && pkg == "" && test == "make.bat"
2024-05-22 20:07 x_crypto-gotip-windows-arm64 crypto@44c9b0ff 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/dist runtime: VirtualAlloc of 1548288 bytes failed with errno=1455 fatal error: out of memory ... fatal error: out of memory runtime stack: runtime.throw({0x7ff7512cbed4?, 0x4005936000?}) runtime/panic.go:1053 +0x38 fp=0x4971ffa10 sp=0x4971ff9e0 pc=0x7ff750eaef88 runtime.sysUsedOS(0x40058f0000, 0x82000) runtime/mem_windows.go:83 +0x178 fp=0x4971ffa70 sp=0x4971ffa10 pc=0x7ff750e53b38 runtime.sysUsed(...) runtime/mem.go:77 runtime.(*mheap).allocSpan(0x7ff7516668e0, 0x41, 0x0, 0x1) ... runtime/proc.go:423 +0xc8 fp=0x400043bf00 sp=0x400043bee0 pc=0x7ff6e23af2d8 runtime.gcBgMarkWorker(0x4000418f50) runtime/mgc.go:1363 +0xdc fp=0x400043bfb0 sp=0x400043bf00 pc=0x7ff6e234ebbc runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x28 fp=0x400043bfd0 sp=0x400043bfb0 pc=0x7ff6e234eaa8 runtime.goexit({}) runtime/asm_arm64.s:1223 +0x4 fp=0x400043bfd0 sp=0x400043bfd0 pc=0x7ff6e23b7914 created by runtime.gcBgMarkStartWorkers in goroutine 72 runtime/mgc.go:1279 +0x140 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 commented 4 weeks ago

Found new dashboard test flakes for:

#!watchflakes
default <- repo == "crypto" && pkg == "" && test == "make.bat"
2024-06-03 23:40 x_crypto-gotip-windows-arm64 crypto@0b431c7d 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 4734976 bytes failed with errno=1455 fatal error: out of memory runtime stack: runtime.throw({0x7ff74d924a8e?, 0x400424c000?}) c:/go/src/runtime/panic.go:1047 +0x40 fp=0x3d5f5ffb70 sp=0x3d5f5ffb40 pc=0x7ff74d6e6330 runtime.sysUsedOS(0x400408a000, 0x484000) ... fatal error: out of memory runtime stack: runtime.throw({0x7ff759d6fb4f?, 0x40173fb000?}) c:/go/src/runtime/panic.go:1047 +0x40 fp=0x18dc3ffa90 sp=0x18dc3ffa60 pc=0x7ff7594b9530 runtime.sysUsedOS(0x40173fa000, 0x2000) c:/go/src/runtime/mem_windows.go:83 +0x178 fp=0x18dc3ffaf0 sp=0x18dc3ffa90 pc=0x7ff759497278 runtime.sysUsed(0x7ff75a46bda0?, 0x1e078dd9660?, 0x18dc3f0a00?) c:/go/src/runtime/mem.go:77 +0x54 fp=0x18dc3ffb10 sp=0x18dc3ffaf0 pc=0x7ff759496df4 runtime.(*mheap).allocSpan(0x7ff75a46bda0, 0x1, 0x0, 0x10?) ... c:/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x30 fp=0x40164d9f60 sp=0x40164d9e90 pc=0x7ff759ac1dd0 cmd/compile/internal/gc.compileFunctions.func5.1(0x0?) c:/go/src/cmd/compile/internal/gc/compile.go:171 +0x3c fp=0x40164d9fa0 sp=0x40164d9f60 pc=0x7ff759c6c6dc cmd/compile/internal/gc.compileFunctions.func3.1() c:/go/src/cmd/compile/internal/gc/compile.go:153 +0x38 fp=0x40164d9fd0 sp=0x40164d9fa0 pc=0x7ff759c6ca78 runtime.goexit() c:/go/src/runtime/asm_arm64.s:1172 +0x4 fp=0x40164d9fd0 sp=0x40164d9fd0 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

watchflakes