golang / go

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

cmd/go: TestScript/build_json failures [consistent failure] #70397

Open gopherbot opened 2 hours ago

gopherbot commented 2 hours ago
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/build_json"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/build_json
=== PAUSE TestScript/build_json
=== CONT  TestScript/build_json
    script_test.go:139: 2024-11-17T15:05:07Z
    script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-445877162\tmpdir3248336492\build_json1694672678
    script_test.go:163: 
        PATH=C:\b\s\w\ir\x\t\cmd-go-test-445877162\tmpdir3248336492\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
...
        [stdout]
        {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"}
        {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"}
        {"ImportPath":"m/compileerror","Action":"build-fail"}
        [exit status 1]
        > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$'
        matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"}
        > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$'
    script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout
--- FAIL: TestScript/build_json (0.43s)

watchflakes

gopherbot commented 2 hours ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/build_json"
2024-11-17 14:31 gotip-windows-amd64-longtest go@70207598 cmd/go.TestScript/build_json (log) === RUN TestScript/build_json === PAUSE TestScript/build_json === CONT TestScript/build_json script_test.go:139: 2024-11-17T15:05:07Z script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-445877162\tmpdir3248336492\build_json1694672678 script_test.go:163: PATH=C:\b\s\w\ir\x\t\cmd-go-test-445877162\tmpdir3248336492\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 ... [stdout] {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"} {"ImportPath":"m/compileerror","Action":"build-fail"} [exit status 1] > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$' matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$' script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout --- FAIL: TestScript/build_json (0.43s)
2024-11-17 14:32 gotip-windows-amd64-longtest go@49b3ab0d cmd/go.TestScript/build_json (log) === RUN TestScript/build_json === PAUSE TestScript/build_json === CONT TestScript/build_json script_test.go:139: 2024-11-17T14:59:53Z script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-3931874541\tmpdir4275839745\build_json4250188672 script_test.go:163: PATH=C:\b\s\w\ir\x\t\cmd-go-test-3931874541\tmpdir4275839745\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 ... [stdout] {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"} {"ImportPath":"m/compileerror","Action":"build-fail"} [exit status 1] > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$' matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$' script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout --- FAIL: TestScript/build_json (0.22s)
2024-11-17 14:32 gotip-windows-amd64-longtest go@9060fa5a cmd/go.TestScript/build_json (log) === RUN TestScript/build_json === PAUSE TestScript/build_json === CONT TestScript/build_json script_test.go:139: 2024-11-17T14:57:00Z script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-1369244334\tmpdir858689974\build_json1800864214 script_test.go:163: PATH=C:\b\s\w\ir\x\t\cmd-go-test-1369244334\tmpdir858689974\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 ... [stdout] {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"} {"ImportPath":"m/compileerror","Action":"build-fail"} [exit status 1] > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$' matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$' script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout --- FAIL: TestScript/build_json (0.27s)
2024-11-17 14:32 gotip-windows-amd64-longtest go@f9a95b1b cmd/go.TestScript/build_json (log) === RUN TestScript/build_json === PAUSE TestScript/build_json === CONT TestScript/build_json script_test.go:139: 2024-11-17T14:58:32Z script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-413761077\tmpdir2971279244\build_json1178339131 script_test.go:163: PATH=C:\b\s\w\ir\x\t\cmd-go-test-413761077\tmpdir2971279244\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 ... [stdout] {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"} {"ImportPath":"m/compileerror","Action":"build-fail"} [exit status 1] > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$' matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$' script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout --- FAIL: TestScript/build_json (0.31s)
2024-11-17 14:32 gotip-windows-amd64-longtest go@44d4b699 cmd/go.TestScript/build_json (log) === RUN TestScript/build_json === PAUSE TestScript/build_json === CONT TestScript/build_json script_test.go:139: 2024-11-17T15:01:24Z script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-1567944631\tmpdir2781335183\build_json3899798017 script_test.go:163: PATH=C:\b\s\w\ir\x\t\cmd-go-test-1567944631\tmpdir2781335183\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 ... [stdout] {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} {"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror\\main.go:3:11: undefined: y\n"} {"ImportPath":"m/compileerror","Action":"build-fail"} [exit status 1] > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\\n"\}$' matched: {"ImportPath":"m/compileerror","Action":"build-output","Output":"# m/compileerror\n"} > stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$' script_test.go:163: FAIL: testdata\script\build_json.txt:6: stdout '^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$': no match for `(?m)^\{"ImportPath":"m/compileerror","Action":"build-output","Output":"compileerror/main.go:3:11: undefined: y\\n"}$` in stdout --- FAIL: TestScript/build_json (0.28s)

watchflakes