Skip to content

cmd/go: TestScript/gotoolchain_path failures #81305

Open

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/gotoolchain_path
=== PAUSE TestScript/gotoolchain_path
=== CONT  TestScript/gotoolchain_path
    script_test.go:141: 2026-08-27T09:38:07Z
    script_test.go:143: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-316559628/tmpdir2214302334/gotoolchain_path2955208563
    script_test.go:165: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-316559628/tmpdir2214302334/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/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/home/swarming/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        matched: go version go1.21pre3 (TESTGO_VERSION) openbsd/arm64
        # GOTOOLCHAIN=go1.50.0 (0.182s)
        > env GOTOOLCHAIN=go1.50.0
        > ! go version
        [stderr]
        running . from PATH
        [exit status 1]
        > stderr 'running go1.50.0 from PATH'
    script_test.go:165: FAIL: testdata/script/gotoolchain_path.txt:20: stderr 'running go1.50.0 from PATH': no match for `(?m)running go1.50.0 from PATH` in stderr
--- FAIL: TestScript/gotoolchain_path (2.66s)

— watchflakes

Activity

  1. gopherbot commented on Sep 1, 2026

    @gopherbot
    ContributorAuthor

    Found new dashboard test flakes for:

    #!watchflakes
    default <- pkg == "cmd/go" && test == "TestScript/gotoolchain_path"
    
    2026-08-26 19:25 gotip-openbsd-arm64 go@6e63dfef cmd/go.TestScript/gotoolchain_path (log)
    === RUN   TestScript/gotoolchain_path
    === PAUSE TestScript/gotoolchain_path
    === CONT  TestScript/gotoolchain_path
        script_test.go:141: 2026-08-27T09:38:07Z
        script_test.go:143: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-316559628/tmpdir2214302334/gotoolchain_path2955208563
        script_test.go:165: 
            PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-316559628/tmpdir2214302334/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/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/home/swarming/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
            HOME=/no-home
            CCACHE_DISABLE=1
            GOARCH=arm64
    ...
            matched: go version go1.21pre3 (TESTGO_VERSION) openbsd/arm64
            # GOTOOLCHAIN=go1.50.0 (0.182s)
            > env GOTOOLCHAIN=go1.50.0
            > ! go version
            [stderr]
            running . from PATH
            [exit status 1]
            > stderr 'running go1.50.0 from PATH'
        script_test.go:165: FAIL: testdata/script/gotoolchain_path.txt:20: stderr 'running go1.50.0 from PATH': no match for `(?m)running go1.50.0 from PATH` in stderr
    --- FAIL: TestScript/gotoolchain_path (2.66s)
    

    — watchflakes

  2. added
    AutomationIssues created by gopherbot or watchflakes automation.
    on Sep 1, 2026
  3. prattmic commented on Sep 4, 2026

    @prattmic
    Member

    cc @golang/command-line @golang/openbsd

  4. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AutomationIssues created by gopherbot or watchflakes automation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions