golang / go

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

cmd/go: TestScript/install_rebuild_removed failures #68683

Open gopherbot opened 3 months ago

gopherbot commented 3 months ago
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/install_rebuild_removed"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/install_rebuild_removed
=== PAUSE TestScript/install_rebuild_removed
=== CONT  TestScript/install_rebuild_removed
    script_test.go:135: 2024-07-31T15:10:16Z
    script_test.go:137: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-2381142983\tmpdir3112658193\install_rebuild_removed290995691
    script_test.go:159: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-2381142983\tmpdir3112658193\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        # y.go was compiled; removing it should make mypkg stale (0.179s)
        > rm mypkg/y.go
        > stale mypkg
        # go command should detect executable staleness too (3.179s)
        > go install mycmd
        > ! stale mycmd
        > rm mycmd/z.go
        > ! stale mycmd
    script_test.go:159: FAIL: testdata\script\install_rebuild_removed.txt:19: context deadline exceeded
--- FAIL: TestScript/install_rebuild_removed (4.32s)

watchflakes

gopherbot commented 3 months ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/install_rebuild_removed"
2024-07-31 14:26 gotip-windows-arm64 go@eea2e929 cmd/go.TestScript/install_rebuild_removed (log) === RUN TestScript/install_rebuild_removed === PAUSE TestScript/install_rebuild_removed === CONT TestScript/install_rebuild_removed script_test.go:135: 2024-07-31T15:10:16Z script_test.go:137: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-2381142983\tmpdir3112658193\install_rebuild_removed290995691 script_test.go:159: PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-2381142983\tmpdir3112658193\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin USERPROFILE=/no-home CCACHE_DISABLE=1 GOARCH=arm64 ... # y.go was compiled; removing it should make mypkg stale (0.179s) > rm mypkg/y.go > stale mypkg # go command should detect executable staleness too (3.179s) > go install mycmd > ! stale mycmd > rm mycmd/z.go > ! stale mycmd script_test.go:159: FAIL: testdata\script\install_rebuild_removed.txt:19: context deadline exceeded --- FAIL: TestScript/install_rebuild_removed (4.32s)

watchflakes