Skip to content

cmd/go: TestScript/test_json_build failures #70398

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/test_json_build"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/test_json_build
=== PAUSE TestScript/test_json_build
=== CONT  TestScript/test_json_build
    script_test.go:139: 2024-11-17T15:00:49Z
    script_test.go:141: $WORK=C:\b\s\w\ir\x\t\cmd-go-test-413761077\tmpdir2971279244\test_json_build1653328468
    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
...
        {"ImportPath":"m/builderror [m/builderror.test]","Action":"build-fail"}
        {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"start","Package":"m/builderror"}
        {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"output","Package":"m/builderror","Output":"FAIL\tm/builderror [build failed]\n"}
        {"Time":"2024-11-17T07:00:51.3907289-08:00","Action":"fail","Package":"m/builderror","Elapsed":0,"FailedBuild":"m/builderror [m/builderror.test]"}
        [exit status 1]
        > stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"# m/builderror \[m/builderror.test\]\\n"'
        matched: {"ImportPath":"m/builderror [m/builderror.test]","Action":"build-output","Output":"# m/builderror [m/builderror.test]\n"}
        > stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"'
    script_test.go:163: FAIL: testdata\script\test_json_build.txt:6: stdout '"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"': no match for `(?m)"ImportPath":"m/builderror \[m/builderror\.test\]","Action":"build-output","Output":"builderror/main_test.go:3:11: undefined: y\\n"` in stdout
--- FAIL: TestScript/test_json_build (2.75s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions