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

cmd/go: TestScript/build_pgo failures #65221

Closed
gopherbot opened this issue Jan 23, 2024 · 8 comments
Closed

cmd/go: TestScript/build_pgo failures #65221

gopherbot opened this issue Jan 23, 2024 · 8 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 Jan 23, 2024

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`

Issue created automatically to collect these failures.

Example (log):

vcs-test.golang.org rerouted to http://127.0.0.1:39567
https://vcs-test.golang.org rerouted to https://127.0.0.1:39673
go test proxy running at GOPROXY=http://127.0.0.1:36517/mod
2024/01/22 22:19:27 http: TLS handshake error from 127.0.0.1:51242: read tcp 127.0.0.1:39673->127.0.0.1:51242: read: connection reset by peer
2024/01/22 22:19:27 http: TLS handshake error from 127.0.0.1:51224: read tcp 127.0.0.1:39673->127.0.0.1:51224: read: connection reset by peer
2024/01/22 22:19:32 http: TLS handshake error from 127.0.0.1:59720: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.21s)
        script_test.go:132: 2024-01-22T22:16:20Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484
...
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/syscall -std -buildid WN_v3A1vKT8WDs-U_j3H/WN_v3A1vKT8WDs-U_j3H -pgoprofile=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /workdir/go/src/runtime/internal/syscall/defs_linux_amd64.go /workdir/go/src/runtime/internal/syscall/syscall_linux.go
            echo '# import config' > $WORK/b007/importcfg # internal
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid Mh_sOF8Lr8lUUDv6xypP/Mh_sOF8Lr8lUUDv6xypP -pgoprofile=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /workdir/go/src/internal/cpu/cpu.go /workdir/go/src/internal/cpu/cpu_x86.go
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: 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 Jan 23, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-01-22 21:47 linux-amd64-longtest go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:39567
https://vcs-test.golang.org rerouted to https://127.0.0.1:39673
go test proxy running at GOPROXY=http://127.0.0.1:36517/mod
2024/01/22 22:19:27 http: TLS handshake error from 127.0.0.1:51242: read tcp 127.0.0.1:39673->127.0.0.1:51242: read: connection reset by peer
2024/01/22 22:19:27 http: TLS handshake error from 127.0.0.1:51224: read tcp 127.0.0.1:39673->127.0.0.1:51224: read: connection reset by peer
2024/01/22 22:19:32 http: TLS handshake error from 127.0.0.1:59720: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.21s)
        script_test.go:132: 2024-01-22T22:16:20Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484
...
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/syscall -std -buildid WN_v3A1vKT8WDs-U_j3H/WN_v3A1vKT8WDs-U_j3H -pgoprofile=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /workdir/go/src/runtime/internal/syscall/defs_linux_amd64.go /workdir/go/src/runtime/internal/syscall/syscall_linux.go
            echo '# import config' > $WORK/b007/importcfg # internal
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid Mh_sOF8Lr8lUUDv6xypP/Mh_sOF8Lr8lUUDv6xypP -pgoprofile=/workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /workdir/go/src/internal/cpu/cpu.go /workdir/go/src/internal/cpu/cpu_x86.go
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-2549283672/tmpdir3448827710/build_pgo3677076484/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 linux-arm64-longtest go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:39741
https://vcs-test.golang.org rerouted to https://127.0.0.1:33617
go test proxy running at GOPROXY=http://127.0.0.1:43347/mod
2024/01/22 22:10:38 http: TLS handshake error from 127.0.0.1:51622: EOF
2024/01/22 22:10:38 http: TLS handshake error from 127.0.0.1:51602: read tcp 127.0.0.1:33617->127.0.0.1:51602: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.32s)
        script_test.go:132: 2024-01-22T22:11:52Z
        script_test.go:134: $WORK=/tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540
        script_test.go:156: 
...
            /tmp/workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid ISOHuOrAg4ofswhasUSG/ISOHuOrAg4ofswhasUSG -pgoprofile=/tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /tmp/workdir/go/src/internal/cpu/cpu.go /tmp/workdir/go/src/internal/cpu/cpu_arm64.go /tmp/workdir/go/src/internal/cpu/cpu_arm64_hwcap.go /tmp/workdir/go/src/internal/cpu/cpu_arm64_linux.go /tmp/workdir/go/src/internal/cpu/cpu_no_name.go
            echo '# import config' > $WORK/b016/importcfg # internal
            /tmp/workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/syscall -std -buildid SxN5S_ei4rcQkxBwoQr2/SxN5S_ei4rcQkxBwoQr2 -pgoprofile=/tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540/gopath/src/prof -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /tmp/workdir/go/src/runtime/internal/syscall/defs_linux_arm64.go /tmp/workdir/go/src/runtime/internal/syscall/syscall_linux.go
            # internal/goarch
            compile: /tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /tmp/workdir/tmp/cmd-go-test-916852596/tmpdir4247385504/build_pgo841204540/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 linux-amd64-longtest go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41785
https://vcs-test.golang.org rerouted to https://127.0.0.1:37219
go test proxy running at GOPROXY=http://127.0.0.1:40799/mod
2024/01/22 22:18:13 http: TLS handshake error from 127.0.0.1:44844: read tcp 127.0.0.1:37219->127.0.0.1:44844: read: connection reset by peer
2024/01/22 22:18:13 http: TLS handshake error from 127.0.0.1:44830: read tcp 127.0.0.1:37219->127.0.0.1:44830: read: connection reset by peer
2024/01/22 22:18:13 http: TLS handshake error from 127.0.0.1:44818: read tcp 127.0.0.1:37219->127.0.0.1:44818: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.16s)
        script_test.go:132: 2024-01-22T22:21:28Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110
...
            compile: /workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110/gopath/src/prof: PGO error: error opening profile: EOF
            echo '# import config' > $WORK/b016/importcfg # internal
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/syscall -std -buildid 1YnYhe_evSofKhWLhV1r/1YnYhe_evSofKhWLhV1r -pgoprofile=/workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110/gopath/src/prof -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /workdir/go/src/runtime/internal/syscall/defs_linux_amd64.go /workdir/go/src/runtime/internal/syscall/syscall_linux.go
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-760123278/tmpdir2355338799/build_pgo1357737110/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 linux-arm64-longtest go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:42059
https://vcs-test.golang.org rerouted to https://127.0.0.1:37895
go test proxy running at GOPROXY=http://127.0.0.1:40457/mod
2024/01/22 22:11:14 http: TLS handshake error from 127.0.0.1:57316: read tcp 127.0.0.1:37895->127.0.0.1:57316: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.00s)
        script_test.go:132: 2024-01-22T22:12:54Z
        script_test.go:134: $WORK=/tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527
        script_test.go:156: 
            # Test go build -pgo flag.
...
            echo '# import config' > $WORK/b007/importcfg # internal
            cd /tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527/gopath/src
            /tmp/workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid uQ9CrTKk_I-ffdJjMJe9/uQ9CrTKk_I-ffdJjMJe9 -pgoprofile=/tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /tmp/workdir/go/src/internal/cpu/cpu.go /tmp/workdir/go/src/internal/cpu/cpu_arm64.go /tmp/workdir/go/src/internal/cpu/cpu_arm64_hwcap.go /tmp/workdir/go/src/internal/cpu/cpu_arm64_linux.go /tmp/workdir/go/src/internal/cpu/cpu_no_name.go
            echo '# import config' > $WORK/b016/importcfg # internal
            /tmp/workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/syscall -std -buildid 3byQATz8UTWfQXsPs-Ed/3byQATz8UTWfQXsPs-Ed -pgoprofile=/tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527/gopath/src/prof -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /tmp/workdir/go/src/runtime/internal/syscall/defs_linux_arm64.go /tmp/workdir/go/src/runtime/internal/syscall/syscall_linux.go
            # internal/cpu
            compile: /tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /tmp/workdir/tmp/cmd-go-test-3108384418/tmpdir128087702/build_pgo2991896527/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1

watchflakes

@cherrymui
Copy link
Member

Culprit CL reverted.

@cherrymui cherrymui changed the title cmd/go: TestScript failures cmd/go: TestScript/build_pgo failures Jan 23, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`
2024-01-22 21:47 linux-386-longtest go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:37927
https://vcs-test.golang.org rerouted to https://127.0.0.1:36819
go test proxy running at GOPROXY=http://127.0.0.1:33363/mod
2024/01/22 22:12:02 http: TLS handshake error from 127.0.0.1:58674: read tcp 127.0.0.1:36819->127.0.0.1:58674: read: connection reset by peer
2024/01/22 22:12:02 http: TLS handshake error from 127.0.0.1:58706: EOF
2024/01/22 22:12:04 http: TLS handshake error from 127.0.0.1:33170: read tcp 127.0.0.1:36819->127.0.0.1:33170: read: connection reset by peer
--- FAIL: TestScript (0.04s)
    --- FAIL: TestScript/build_pgo (1.62s)
        script_test.go:132: 2024-01-22T22:11:14Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639
...
            compile: /workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/goarch
            compile: /workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/godebugs
            compile: /workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-2094867676/tmpdir1108915116/build_pgo2325832639/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 windows-amd64-longtest go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54823
https://vcs-test.golang.org rerouted to https://127.0.0.1:54824
go test proxy running at GOPROXY=http://127.0.0.1:54825/mod
--- FAIL: TestScript (0.15s)
    --- FAIL: TestScript/build_pgo (3.29s)
        script_test.go:132: 2024-01-22T22:29:17Z
        script_test.go:134: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3042185183\tmpdir989970525\build_pgo3835950705
        script_test.go:156: 
            # Test go build -pgo flag.
            # Specifically, the build cache handles profile content correctly. (0.000s)
...
            echo '# import config' > $WORK\b007\importcfg # internal
            echo '# import config' > $WORK\b013\importcfg # internal
            cd C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3042185183\tmpdir989970525\build_pgo3835950705\gopath\src
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b007\\_pkg_.a" -trimpath "$WORK\\b007=>" -p internal/cpu -std -buildid DzPU9eAaseixnTstxR7z/DzPU9eAaseixnTstxR7z "-pgoprofile=C:\\Users\\gopher\\AppData\\Local\\Temp\\1\\cmd-go-test-3042185183\\tmpdir989970525\\build_pgo3835950705\\gopath\\src\\prof" -symabis "$WORK\\b007\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b007\\importcfg" -pack -asmhdr "$WORK\\b007\\go_asm.h" "C:\\workdir\\go\\src\\internal\\cpu\\cpu.go" "C:\\workdir\\go\\src\\internal\\cpu\\cpu_x86.go"
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b013\\_pkg_.a" -trimpath "$WORK\\b013=>" -p runtime/internal/atomic -std -buildid RSX-BHVAihmVPbq9ZPSI/RSX-BHVAihmVPbq9ZPSI "-pgoprofile=C:\\Users\\gopher\\AppData\\Local\\Temp\\1\\cmd-go-test-3042185183\\tmpdir989970525\\build_pgo3835950705\\gopath\\src\\prof" -symabis "$WORK\\b013\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b013\\importcfg" -pack -asmhdr "$WORK\\b013\\go_asm.h" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\atomic_amd64.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\doc.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\stubs.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\types.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\types_64bit.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\unaligned.go"
            # internal/cpu
            compile: C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3042185183\tmpdir989970525\build_pgo3835950705\gopath\src\prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3042185183\tmpdir989970525\build_pgo3835950705\gopath\src\prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata\script\build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 linux-386-longtest go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35709
https://vcs-test.golang.org rerouted to https://127.0.0.1:46161
go test proxy running at GOPROXY=http://127.0.0.1:41209/mod
2024/01/22 22:24:26 http: TLS handshake error from 127.0.0.1:45396: EOF
2024/01/22 22:24:26 http: TLS handshake error from 127.0.0.1:45370: EOF
2024/01/22 22:24:31 http: TLS handshake error from 127.0.0.1:45532: EOF
2024/01/22 22:24:31 http: TLS handshake error from 127.0.0.1:45570: EOF
2024/01/22 22:24:31 http: TLS handshake error from 127.0.0.1:45576: read tcp 127.0.0.1:46161->127.0.0.1:45576: read: connection reset by peer
2024/01/22 22:24:31 http: TLS handshake error from 127.0.0.1:45614: EOF
2024/01/22 22:24:31 http: TLS handshake error from 127.0.0.1:45608: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/build_pgo (1.35s)
        script_test.go:132: 2024-01-22T22:26:22Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584
        script_test.go:156: 
            # Test go build -pgo flag.
            # Specifically, the build cache handles profile content correctly. (0.000s)
            # build without PGO (0.873s)
            # build with PGO, should trigger rebuild
            # starting with an empty profile (the compiler accepts it) (0.480s)
...
            compile: /workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/goos
            compile: /workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-3520423901/tmpdir3721429823/build_pgo3397433584/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 windows-amd64-longtest go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54862
https://vcs-test.golang.org rerouted to https://127.0.0.1:54863
go test proxy running at GOPROXY=http://127.0.0.1:54864/mod
--- FAIL: TestScript (0.14s)
    --- FAIL: TestScript/build_pgo (2.72s)
        script_test.go:132: 2024-01-22T22:27:08Z
        script_test.go:134: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-563274189\tmpdir1073095700\build_pgo3582534098
        script_test.go:156: 
            # Test go build -pgo flag.
            # Specifically, the build cache handles profile content correctly. (0.000s)
...
            echo '# import config' > $WORK\b013\importcfg # internal
            echo '# import config' > $WORK\b007\importcfg # internal
            cd C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-563274189\tmpdir1073095700\build_pgo3582534098\gopath\src
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b013\\_pkg_.a" -trimpath "$WORK\\b013=>" -p runtime/internal/atomic -std -buildid JRbGHs6qcclYWsG59fOc/JRbGHs6qcclYWsG59fOc "-pgoprofile=C:\\Users\\gopher\\AppData\\Local\\Temp\\1\\cmd-go-test-563274189\\tmpdir1073095700\\build_pgo3582534098\\gopath\\src\\prof" -symabis "$WORK\\b013\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b013\\importcfg" -pack -asmhdr "$WORK\\b013\\go_asm.h" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\atomic_amd64.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\doc.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\stubs.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\types.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\types_64bit.go" "C:\\workdir\\go\\src\\runtime\\internal\\atomic\\unaligned.go"
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b007\\_pkg_.a" -trimpath "$WORK\\b007=>" -p internal/cpu -std -buildid nYiYaRV85u-Z4iwnRbfW/nYiYaRV85u-Z4iwnRbfW "-pgoprofile=C:\\Users\\gopher\\AppData\\Local\\Temp\\1\\cmd-go-test-563274189\\tmpdir1073095700\\build_pgo3582534098\\gopath\\src\\prof" -symabis "$WORK\\b007\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b007\\importcfg" -pack -asmhdr "$WORK\\b007\\go_asm.h" "C:\\workdir\\go\\src\\internal\\cpu\\cpu.go" "C:\\workdir\\go\\src\\internal\\cpu\\cpu_x86.go"
            # internal/cpu
            compile: C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-563274189\tmpdir1073095700\build_pgo3582534098\gopath\src\prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-563274189\tmpdir1073095700\build_pgo3582534098\gopath\src\prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata\script\build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`
2024-01-22 21:47 linux-amd64-longtest-race go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:45297
https://vcs-test.golang.org rerouted to https://127.0.0.1:46599
go test proxy running at GOPROXY=http://127.0.0.1:45141/mod
2024/01/22 22:52:15 http: TLS handshake error from 127.0.0.1:59200: read tcp 127.0.0.1:46599->127.0.0.1:59200: read: connection reset by peer
--- FAIL: TestScript (1.15s)
    --- FAIL: TestScript/build_pgo (1.85s)
        script_test.go:132: 2024-01-22T22:56:31Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749
        script_test.go:156: 
            # Test go build -pgo flag.
...
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid Mh_sOF8Lr8lUUDv6xypP/Mh_sOF8Lr8lUUDv6xypP -pgoprofile=/workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /workdir/go/src/internal/cpu/cpu.go /workdir/go/src/internal/cpu/cpu_x86.go
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749/gopath/src/prof: PGO error: error opening profile: EOF
            echo '# import config' > $WORK/b013/importcfg # internal
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid RxvR4loG3oFazg5D0fwg/RxvR4loG3oFazg5D0fwg -pgoprofile=/workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /workdir/go/src/runtime/internal/atomic/atomic_amd64.go /workdir/go/src/runtime/internal/atomic/doc.go /workdir/go/src/runtime/internal/atomic/stubs.go /workdir/go/src/runtime/internal/atomic/types.go /workdir/go/src/runtime/internal/atomic/types_64bit.go /workdir/go/src/runtime/internal/atomic/unaligned.go
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-2822332782/tmpdir3754153325/build_pgo177885749/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 linux-amd64-longtest-race go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35179
https://vcs-test.golang.org rerouted to https://127.0.0.1:42155
go test proxy running at GOPROXY=http://127.0.0.1:43021/mod
2024/01/22 22:52:59 http: TLS handshake error from 127.0.0.1:50168: read tcp 127.0.0.1:42155->127.0.0.1:50168: read: connection reset by peer
2024/01/22 22:52:59 http: TLS handshake error from 127.0.0.1:50142: read tcp 127.0.0.1:42155->127.0.0.1:50142: read: connection reset by peer
2024/01/22 22:53:19 http: TLS handshake error from 127.0.0.1:52114: read tcp 127.0.0.1:42155->127.0.0.1:52114: read: connection reset by peer
2024/01/22 22:54:13 http: TLS handshake error from 127.0.0.1:59536: read tcp 127.0.0.1:42155->127.0.0.1:59536: read: connection reset by peer
2024/01/22 22:54:13 http: TLS handshake error from 127.0.0.1:59550: read tcp 127.0.0.1:42155->127.0.0.1:59550: read: connection reset by peer
2024/01/22 22:54:13 http: TLS handshake error from 127.0.0.1:59520: read tcp 127.0.0.1:42155->127.0.0.1:59520: read: connection reset by peer
--- FAIL: TestScript (1.15s)
    --- FAIL: TestScript/build_pgo (1.99s)
        script_test.go:132: 2024-01-22T22:56:14Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263
        script_test.go:156: 
            # Test go build -pgo flag.
            # Specifically, the build cache handles profile content correctly. (0.000s)
            # build without PGO (1.534s)
            # build with PGO, should trigger rebuild
            # starting with an empty profile (the compiler accepts it) (0.457s)
            > go build -x -pgo=prof -o triv.exe triv.go
...
            compile: /workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263/gopath/src/prof: PGO error: error opening profile: EOF
            echo '# import config' > $WORK/b013/importcfg # internal
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid HGIgWOsDGXgeLUTjxodM/HGIgWOsDGXgeLUTjxodM -pgoprofile=/workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /workdir/go/src/runtime/internal/atomic/atomic_amd64.go /workdir/go/src/runtime/internal/atomic/doc.go /workdir/go/src/runtime/internal/atomic/stubs.go /workdir/go/src/runtime/internal/atomic/types.go /workdir/go/src/runtime/internal/atomic/types_64bit.go /workdir/go/src/runtime/internal/atomic/unaligned.go
            # runtime/internal/syscall
            compile: /workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /workdir/tmp/cmd-go-test-845380017/tmpdir3081029700/build_pgo2759200263/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`
2024-01-22 21:47 darwin-amd64-longtest go@b7ae16e0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:50144
https://vcs-test.golang.org rerouted to https://127.0.0.1:50145
go test proxy running at GOPROXY=http://127.0.0.1:50146/mod
2024/01/22 18:10:22 http: TLS handshake error from 127.0.0.1:51474: EOF
--- FAIL: TestScript (0.87s)
    --- FAIL: TestScript/mod_invalid_version (62.53s)
        script_test.go:132: 2024-01-22T23:09:10Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/mod_invalid_version2863558848
        script_test.go:156: 
            > [!net:golang.org] skip
...
    --- FAIL: TestScript/build_pgo (3.54s)
        script_test.go:132: 2024-01-22T23:14:27Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052
        script_test.go:156: 
            # Test go build -pgo flag.
            # Specifically, the build cache handles profile content correctly. (0.000s)
            # build without PGO (2.225s)
            # build with PGO, should trigger rebuild
            # starting with an empty profile (the compiler accepts it) (1.307s)
            > go build -x -pgo=prof -o triv.exe triv.go
...
            # internal/coverage/rtcov
            compile: /tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052/gopath/src/prof: PGO error: error opening profile: EOF
            /tmp/buildlet/go/pkg/tool/darwin_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid LGWlAfiDxf-hQybAHao9/LGWlAfiDxf-hQybAHao9 -pgoprofile=/tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /tmp/buildlet/go/src/runtime/internal/atomic/atomic_amd64.go /tmp/buildlet/go/src/runtime/internal/atomic/doc.go /tmp/buildlet/go/src/runtime/internal/atomic/stubs.go /tmp/buildlet/go/src/runtime/internal/atomic/types.go /tmp/buildlet/go/src/runtime/internal/atomic/types_64bit.go /tmp/buildlet/go/src/runtime/internal/atomic/unaligned.go
            # internal/godebugs
            compile: /tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052/gopath/src/prof: PGO error: error opening profile: EOF
            # runtime/internal/atomic
            compile: /tmp/buildlet/tmp/cmd-go-test-1033536164/tmpdir2508799289/build_pgo20567052/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
2024-01-22 21:47 darwin-amd64-longtest go@c4696665 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:65531
https://vcs-test.golang.org rerouted to https://127.0.0.1:65532
go test proxy running at GOPROXY=http://127.0.0.1:65533/mod
2024/01/22 18:13:13 http: TLS handshake error from 127.0.0.1:50291: read tcp 127.0.0.1:65532->127.0.0.1:50291: read: connection reset by peer
--- FAIL: TestScript (0.62s)
    --- FAIL: TestScript/build_pgo (2.22s)
        script_test.go:132: 2024-01-22T23:37:17Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985
        script_test.go:156: 
            # Test go build -pgo flag.
...
            /tmp/buildlet/go/pkg/tool/darwin_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid 4IkMzhyE-lCefF87Qbcz/4IkMzhyE-lCefF87Qbcz -pgoprofile=/tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /tmp/buildlet/go/src/runtime/internal/atomic/atomic_amd64.go /tmp/buildlet/go/src/runtime/internal/atomic/doc.go /tmp/buildlet/go/src/runtime/internal/atomic/stubs.go /tmp/buildlet/go/src/runtime/internal/atomic/types.go /tmp/buildlet/go/src/runtime/internal/atomic/types_64bit.go /tmp/buildlet/go/src/runtime/internal/atomic/unaligned.go
            echo '# import config' > $WORK/b007/importcfg # internal
            /tmp/buildlet/go/pkg/tool/darwin_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid OKta9_N5fBE6oXngfof9/OKta9_N5fBE6oXngfof9 -pgoprofile=/tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /tmp/buildlet/go/src/internal/cpu/cpu.go /tmp/buildlet/go/src/internal/cpu/cpu_x86.go
            # runtime/internal/atomic
            compile: /tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/goexperiment
            compile: /tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985/gopath/src/prof: PGO error: error opening profile: EOF
            # internal/cpu
            compile: /tmp/buildlet/tmp/cmd-go-test-887973092/tmpdir2049948607/build_pgo11766985/gopath/src/prof: PGO error: error opening profile: EOF
        script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`
2024-01-09 15:29 gotip-darwin-amd64_13 go@aba18d5b cmd/go.TestScript (log)
=== RUN   TestScript/build_pgo_auto_multi
=== PAUSE TestScript/build_pgo_auto_multi
=== CONT  TestScript/build_pgo_auto_multi
    script_test.go:132: 2024-01-09T16:21:55Z
    script_test.go:134: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2333596952/tmpdir3949127613/build_pgo_auto_multi2572497361
    script_test.go:156: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2333596952/tmpdir3949127613/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        > ! stderr 'compile.*-pgoprofile=.*nopgo(/|\\\\)nopgo_test\.go'
        # test-only dependencies also have profiles attached (2.137s)
        > stderr 'compile.*-pgoprofile=.*a(/|\\\\)default\.pgo.*testdep(/|\\\\)testdep\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b091/_pkg_.a -trimpath "$WORK/b091=>" -p test/testdep -lang=go1.20 -complete -buildid 5e_-LXiIG4WlgUhcawtb/5e_-LXiIG4WlgUhcawtb -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2333596952/tmpdir3949127613/build_pgo_auto_multi2572497361/gopath/src/a/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b091/importcfg -pack ./testdep/testdep.go
        > stderr 'compile.*-pgoprofile=.*b(/|\\\\)default\.pgo.*testdep(/|\\\\)testdep\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b244/_pkg_.a -trimpath "$WORK/b244=>" -p test/testdep -lang=go1.20 -complete -buildid 5e_-LXiIG4WlgUhcawtb/5e_-LXiIG4WlgUhcawtb -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2333596952/tmpdir3949127613/build_pgo_auto_multi2572497361/gopath/src/b/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b244/importcfg -pack ./testdep/testdep.go
        > stderr 'compile.*-pgoprofile=.*a(/|\\\\)default\.pgo.*testdep2(/|\\\\)testdep2\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b092/_pkg_.a -trimpath "$WORK/b092=>" -p test/testdep2 -lang=go1.20 -complete -buildid 2nksUir2tqGHKBXsGUmy/2nksUir2tqGHKBXsGUmy -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2333596952/tmpdir3949127613/build_pgo_auto_multi2572497361/gopath/src/a/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b092/importcfg -pack ./testdep2/testdep2.go
    script_test.go:156: FAIL: testdata/script/build_pgo_auto_multi.txt:51: context deadline exceeded
--- FAIL: TestScript/build_pgo_auto_multi (21.81s)
2024-01-17 19:47 gotip-darwin-amd64_13 go@92d7169a cmd/go.TestScript (log)
=== RUN   TestScript/build_pgo_auto_multi
=== PAUSE TestScript/build_pgo_auto_multi
=== CONT  TestScript/build_pgo_auto_multi
    script_test.go:132: 2024-01-17T20:34:31Z
    script_test.go:134: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/build_pgo_auto_multi2549261420
    script_test.go:156: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b090/_pkg_.a -trimpath "$WORK/b090=>" -p test/a -lang=go1.20 -complete -buildid Rqm7T22QDK7dX9KCHtRw/Rqm7T22QDK7dX9KCHtRw -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/build_pgo_auto_multi2549261420/gopath/src/a/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b090/importcfg -pack ./a/a.go ./a/a_test.go
        > stderr 'compile.*-pgoprofile=.*a(/|\\\\)default\.pgo.*dep(/|\\\\)dep\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b093/_pkg_.a -trimpath "$WORK/b093=>" -p test/dep -lang=go1.20 -complete -buildid vGdknpAWUcCWkpjpt7GB/vGdknpAWUcCWkpjpt7GB -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/build_pgo_auto_multi2549261420/gopath/src/a/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b093/importcfg -pack ./dep/dep.go
        > stderr 'compile.*-pgoprofile=.*b(/|\\\\)default\.pgo.*b(/|\\\\)b_test\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b243/_pkg_.a -trimpath "$WORK/b243=>" -p test/b -lang=go1.20 -complete -buildid Pb4FQswzaH9tKZXkjg-a/Pb4FQswzaH9tKZXkjg-a -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/build_pgo_auto_multi2549261420/gopath/src/b/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b243/importcfg -pack ./b/b.go ./b/b_test.go
        > stderr 'compile.*-pgoprofile=.*b(/|\\\\)default\.pgo.*dep(/|\\\\)dep\.go'
        matched: /Users/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/darwin_amd64/compile -o $WORK/b246/_pkg_.a -trimpath "$WORK/b246=>" -p test/dep -lang=go1.20 -complete -buildid vGdknpAWUcCWkpjpt7GB/vGdknpAWUcCWkpjpt7GB -pgoprofile=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1329034139/tmpdir260820126/build_pgo_auto_multi2549261420/gopath/src/b/default.pgo -c=4 -shared -nolocalimports -importcfg $WORK/b246/importcfg -pack ./dep/dep.go
        > ! stderr 'compile.*-pgoprofile=.*nopgo(/|\\\\)nopgo_test\.go'
    script_test.go:156: FAIL: testdata/script/build_pgo_auto_multi.txt:46: context deadline exceeded
--- FAIL: TestScript/build_pgo_auto_multi (17.17s)
2024-01-22 21:47 gotip-linux-386-longtest go@b7ae16e0 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:00:29Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-883029018/tmpdir1405582594/build_pgo597063653
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-883029018/tmpdir1405582594/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=386
...
        echo '# import config' > $WORK/b013/importcfg # internal
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid 1PM7rc4_d_1rPZoI48yy/1PM7rc4_d_1rPZoI48yy -pgoprofile=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-883029018/tmpdir1405582594/build_pgo597063653/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/atomic_386.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/doc.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/stubs.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/unaligned.go
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-883029018/tmpdir1405582594/build_pgo597063653/gopath/src/prof: PGO error: error opening profile: EOF
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-883029018/tmpdir1405582594/build_pgo597063653/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-883029018/tmpdir1405582594/build_pgo597063653/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (0.77s)
2024-01-22 21:47 gotip-linux-amd64-longtest go@b7ae16e0 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:00:49Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3381015476/tmpdir3601942082/build_pgo1700291774
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3381015476/tmpdir3601942082/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        echo '# import config' > $WORK/b013/importcfg # internal
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid RxvR4loG3oFazg5D0fwg/RxvR4loG3oFazg5D0fwg -pgoprofile=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3381015476/tmpdir3601942082/build_pgo1700291774/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/atomic_amd64.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/doc.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/stubs.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types_64bit.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/unaligned.go
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-3381015476/tmpdir3601942082/build_pgo1700291774/gopath/src/prof: PGO error: error opening profile: EOF
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-3381015476/tmpdir3601942082/build_pgo1700291774/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-3381015476/tmpdir3601942082/build_pgo1700291774/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (1.14s)
2024-01-22 21:47 gotip-linux-amd64-longtest-race go@b7ae16e0 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:03:19Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3743035525/tmpdir392397578/build_pgo2997575539
go proxy: open /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/testdata/mod/rsc.io_fortune_nonexist_v0.0.1.txt: no such file or directory
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
...
        echo '# import config' > $WORK/b013/importcfg # internal
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid RxvR4loG3oFazg5D0fwg/RxvR4loG3oFazg5D0fwg -pgoprofile=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3743035525/tmpdir392397578/build_pgo2997575539/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/atomic_amd64.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/doc.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/stubs.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types_64bit.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/unaligned.go
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-3743035525/tmpdir392397578/build_pgo2997575539/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-3743035525/tmpdir392397578/build_pgo2997575539/gopath/src/prof: PGO error: error opening profile: EOF
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-3743035525/tmpdir392397578/build_pgo2997575539/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (2.12s)
2024-01-22 21:47 gotip-windows-amd64-longtest go@b7ae16e0 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:08:43Z
    script_test.go:134: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-3692776134\tmpdir2393186319\build_pgo3343780860
    script_test.go:156: 
        PATH=C:\b\s\w\ir\x\t\cmd-go-test-3692776134\tmpdir2393186319\testbin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\cache\tools\bin;C:\b\s\w\ir\bbagent_utility_packages;C:\b\s\w\ir\bbagent_utility_packages\bin;C:\b\s\w\ir\cipd_bin_packages;C:\b\s\w\ir\cipd_bin_packages\bin;C:\b\s\w\ir\cipd_bin_packages\cpython3;C:\b\s\w\ir\cipd_bin_packages\cpython3\bin;C:\b\s\w\ir\cache\cipd_client;C:\b\s\w\ir\cache\cipd_client\bin;C:\b\s\cipd_cache\bin;C:\Program Files\OpenSSH\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Puppet Labs\Puppet\bin;C:\b\s\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        echo '# import config' > $WORK\b007\importcfg # internal
        cd C:\b\s\w\ir\x\t\cmd-go-test-3692776134\tmpdir2393186319\build_pgo3343780860\gopath\src
        "C:\\b\\s\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b013\\_pkg_.a" -trimpath "$WORK\\b013=>" -p runtime/internal/atomic -std -buildid RSX-BHVAihmVPbq9ZPSI/RSX-BHVAihmVPbq9ZPSI "-pgoprofile=C:\\b\\s\\w\\ir\\x\\t\\cmd-go-test-3692776134\\tmpdir2393186319\\build_pgo3343780860\\gopath\\src\\prof" -symabis "$WORK\\b013\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b013\\importcfg" -pack -asmhdr "$WORK\\b013\\go_asm.h" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\atomic_amd64.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\doc.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\stubs.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\types.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\types_64bit.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\unaligned.go"
        "C:\\b\\s\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b007\\_pkg_.a" -trimpath "$WORK\\b007=>" -p internal/cpu -std -buildid DzPU9eAaseixnTstxR7z/DzPU9eAaseixnTstxR7z "-pgoprofile=C:\\b\\s\\w\\ir\\x\\t\\cmd-go-test-3692776134\\tmpdir2393186319\\build_pgo3343780860\\gopath\\src\\prof" -symabis "$WORK\\b007\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b007\\importcfg" -pack -asmhdr "$WORK\\b007\\go_asm.h" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\internal\\cpu\\cpu.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\internal\\cpu\\cpu_x86.go"
        # runtime/internal/atomic
        compile: C:\b\s\w\ir\x\t\cmd-go-test-3692776134\tmpdir2393186319\build_pgo3343780860\gopath\src\prof: PGO error: error opening profile: EOF
        # internal/cpu
        compile: C:\b\s\w\ir\x\t\cmd-go-test-3692776134\tmpdir2393186319\build_pgo3343780860\gopath\src\prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata\script\build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (2.47s)
2024-01-22 21:47 gotip-linux-386-longtest go@c4696665 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:02:32Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3401758670/tmpdir2158955518/build_pgo2463331971
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3401758670/tmpdir2158955518/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=386
...
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-3401758670/tmpdir2158955518/build_pgo2463331971/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-3401758670/tmpdir2158955518/build_pgo2463331971/gopath/src/prof: PGO error: error opening profile: EOF
        echo '# import config' > $WORK/b013/importcfg # internal
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_386/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/atomic -std -buildid 9Yxt4vGtcFeICrALrLSv/9Yxt4vGtcFeICrALrLSv -pgoprofile=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3401758670/tmpdir2158955518/build_pgo2463331971/gopath/src/prof -symabis $WORK/b013/symabis -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/atomic_386.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/doc.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/stubs.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/types.go /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/internal/atomic/unaligned.go
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-3401758670/tmpdir2158955518/build_pgo2463331971/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (1.23s)
2024-01-22 21:47 gotip-linux-amd64-longtest go@c4696665 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:02:43Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2475117532/tmpdir3131191154/build_pgo239086032
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2475117532/tmpdir3131191154/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-2475117532/tmpdir3131191154/build_pgo239086032/gopath/src/prof: PGO error: error opening profile: EOF
        echo '# import config' > $WORK/b007/importcfg # internal
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/cpu -std -buildid RAOXAqGPlBEx5nEAIuVj/RAOXAqGPlBEx5nEAIuVj -pgoprofile=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2475117532/tmpdir3131191154/build_pgo239086032/gopath/src/prof -symabis $WORK/b007/symabis -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack -asmhdr $WORK/b007/go_asm.h /home/swarming/.swarming/w/ir/x/w/goroot/src/internal/cpu/cpu.go /home/swarming/.swarming/w/ir/x/w/goroot/src/internal/cpu/cpu_x86.go
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-2475117532/tmpdir3131191154/build_pgo239086032/gopath/src/prof: PGO error: error opening profile: EOF
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-2475117532/tmpdir3131191154/build_pgo239086032/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (1.46s)
2024-01-22 21:47 gotip-linux-amd64-longtest-race go@c4696665 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:07:19Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-342139178/tmpdir2169833669/build_pgo4010601384
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-342139178/tmpdir2169833669/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        # internal/cpu
        compile: ../../../../../../t/cmd-go-test-342139178/tmpdir2169833669/build_pgo4010601384/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/syscall
        compile: ../../../../../../t/cmd-go-test-342139178/tmpdir2169833669/build_pgo4010601384/gopath/src/prof: PGO error: error opening profile: EOF
        # internal/goos
        compile: ../../../../../../t/cmd-go-test-342139178/tmpdir2169833669/build_pgo4010601384/gopath/src/prof: PGO error: error opening profile: EOF
        # runtime/internal/atomic
        compile: ../../../../../../t/cmd-go-test-342139178/tmpdir2169833669/build_pgo4010601384/gopath/src/prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (2.28s)
2024-01-22 21:47 gotip-windows-amd64-longtest go@c4696665 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:132: 2024-01-22T22:06:14Z
    script_test.go:134: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-3825925210\tmpdir2995068005\build_pgo1271666269
    script_test.go:156: 
        PATH=C:\b\s\w\ir\x\t\cmd-go-test-3825925210\tmpdir2995068005\testbin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\x\w\goroot\bin;C:\b\s\w\ir\cache\tools\bin;C:\b\s\w\ir\bbagent_utility_packages;C:\b\s\w\ir\bbagent_utility_packages\bin;C:\b\s\w\ir\cipd_bin_packages;C:\b\s\w\ir\cipd_bin_packages\bin;C:\b\s\w\ir\cipd_bin_packages\cpython3;C:\b\s\w\ir\cipd_bin_packages\cpython3\bin;C:\b\s\w\ir\cache\cipd_client;C:\b\s\w\ir\cache\cipd_client\bin;C:\b\s\cipd_cache\bin;C:\Program Files\OpenSSH\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Puppet Labs\Puppet\bin;C:\b\s\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        echo '# import config' > $WORK\b013\importcfg # internal
        cd C:\b\s\w\ir\x\t\cmd-go-test-3825925210\tmpdir2995068005\build_pgo1271666269\gopath\src
        "C:\\b\\s\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b007\\_pkg_.a" -trimpath "$WORK\\b007=>" -p internal/cpu -std -buildid nYiYaRV85u-Z4iwnRbfW/nYiYaRV85u-Z4iwnRbfW "-pgoprofile=C:\\b\\s\\w\\ir\\x\\t\\cmd-go-test-3825925210\\tmpdir2995068005\\build_pgo1271666269\\gopath\\src\\prof" -symabis "$WORK\\b007\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b007\\importcfg" -pack -asmhdr "$WORK\\b007\\go_asm.h" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\internal\\cpu\\cpu.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\internal\\cpu\\cpu_x86.go"
        "C:\\b\\s\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b013\\_pkg_.a" -trimpath "$WORK\\b013=>" -p runtime/internal/atomic -std -buildid JRbGHs6qcclYWsG59fOc/JRbGHs6qcclYWsG59fOc "-pgoprofile=C:\\b\\s\\w\\ir\\x\\t\\cmd-go-test-3825925210\\tmpdir2995068005\\build_pgo1271666269\\gopath\\src\\prof" -symabis "$WORK\\b013\\symabis" -c=4 -nolocalimports -importcfg "$WORK\\b013\\importcfg" -pack -asmhdr "$WORK\\b013\\go_asm.h" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\atomic_amd64.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\doc.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\stubs.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\types.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\types_64bit.go" "C:\\b\\s\\w\\ir\\x\\w\\goroot\\src\\runtime\\internal\\atomic\\unaligned.go"
        # internal/cpu
        compile: C:\b\s\w\ir\x\t\cmd-go-test-3825925210\tmpdir2995068005\build_pgo1271666269\gopath\src\prof: PGO error: error opening profile: EOF
        # runtime/internal/atomic
        compile: C:\b\s\w\ir\x\t\cmd-go-test-3825925210\tmpdir2995068005\build_pgo1271666269\gopath\src\prof: PGO error: error opening profile: EOF
    script_test.go:156: FAIL: testdata\script\build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 1
--- FAIL: TestScript/build_pgo (2.98s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && `FAIL: TestScript/build_pgo`
2024-03-25 09:38 gotip-darwin-amd64-longtest go@c4792e60 cmd/go.TestScript/build_pgo (log)
=== RUN   TestScript/build_pgo
=== PAUSE TestScript/build_pgo
=== CONT  TestScript/build_pgo
    script_test.go:136: 2024-03-25T11:02:30Z
    script_test.go:138: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-924377531/tmpdir1175555766/build_pgo4254939538
    script_test.go:160: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-924377531/tmpdir1175555766/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        r13    0x360100003700
        r14    0x7ff849498e80
        r15    0x2d00
        rip    0x7ff805e835d6
        rflags 0x247
        cs     0x7
        fs     0x0
        gs     0x0
    script_test.go:160: FAIL: testdata/script/build_pgo.txt:11: go build -x -pgo=prof -o triv.exe triv.go: exit status 2
--- FAIL: TestScript/build_pgo (5.38s)

watchflakes

@gopherbot gopherbot reopened this Mar 25, 2024
@cherrymui
Copy link
Member

The new failure is #65040.

@cherrymui cherrymui closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 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