Skip to content

cmd/go: TestScript/work_vendor_modules_txt_consistent failures #79688

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/work_vendor_modules_txt_consistent
=== PAUSE TestScript/work_vendor_modules_txt_consistent
=== CONT  TestScript/work_vendor_modules_txt_consistent
    script_test.go:141: 2026-05-27T04:15:33Z
    script_test.go:143: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-476540156/tmpdir686990450/work_vendor_modules_txt_consistent1514801238
    script_test.go:165: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-476540156/tmpdir686990450/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/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=arm64
...
        @@ -0,0 +1,6 @@
        +go: inconsistent vendoring in /Users/swarming/.swarming/w/ir/x/t/cmd-go-test-476540156/tmpdir686990450/work_vendor_modules_txt_consistent1514801238/gopath/src:
        +	example.com/p@v1.0.0: is replaced by ../p in a/go.mod, but marked as replaced by ./r in vendor/modules.txt
        +
        +	To ignore the vendor directory, use -mod=readonly or -mod=mod.
        +	To sync the vendor directory, run:
        +		go work vendor
        
    script_test.go:165: FAIL: testdata/script/work_vendor_modules_txt_consistent.txt:18: cmpenv stderr different_replacement_error.txt: stderr and different_replacement_error.txt differ
--- FAIL: TestScript/work_vendor_modules_txt_consistent (2.24s)

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

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions