Skip to content

cmd/go: TestScript/clean_cache_n failures #72849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gopherbot opened this issue Mar 13, 2025 · 1 comment
Open

cmd/go: TestScript/clean_cache_n failures #72849

gopherbot opened this issue Mar 13, 2025 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/clean_cache_n"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/clean_cache_n
=== PAUSE TestScript/clean_cache_n
=== CONT  TestScript/clean_cache_n
    script_test.go:139: 2025-03-13T12:45:11Z
    script_test.go:141: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-267907571/tmpdir3589590958/clean_cache_n793493394
    script_test.go:163: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-267907571/tmpdir3589590958/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        > [short] skip 'runs go build'
        [condition not met]
        # We're testing cache behavior, so start with a clean GOCACHE. (0.000s)
        > env GOCACHE=$WORK/cache
        # Build something so that the cache gets populates (1.323s)
        > go build main.go
        [stderr]
        ../../../../../../w/goroot/src/internal/runtime/maps/runtime_fast32_swiss.go:11:2: package internal/race is not in std (/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/race)
    script_test.go:163: FAIL: testdata/script/clean_cache_n.txt:7: go build main.go: exit status 1
--- FAIL: TestScript/clean_cache_n (1.43s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 13, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/clean_cache_n"
2025-03-13 12:24 gotip-linux-amd64-longtest-race go@fb8691ed cmd/go.TestScript/clean_cache_n (log)
=== RUN   TestScript/clean_cache_n
=== PAUSE TestScript/clean_cache_n
=== CONT  TestScript/clean_cache_n
    script_test.go:139: 2025-03-13T12:45:11Z
    script_test.go:141: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-267907571/tmpdir3589590958/clean_cache_n793493394
    script_test.go:163: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-267907571/tmpdir3589590958/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        > [short] skip 'runs go build'
        [condition not met]
        # We're testing cache behavior, so start with a clean GOCACHE. (0.000s)
        > env GOCACHE=$WORK/cache
        # Build something so that the cache gets populates (1.323s)
        > go build main.go
        [stderr]
        ../../../../../../w/goroot/src/internal/runtime/maps/runtime_fast32_swiss.go:11:2: package internal/race is not in std (/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/race)
    script_test.go:163: FAIL: testdata/script/clean_cache_n.txt:7: go build main.go: exit status 1
--- FAIL: TestScript/clean_cache_n (1.43s)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

1 participant