Skip to content
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

cmd/go: TestScript/mod_cache_dir failures #67218

Open
gopherbot opened this issue May 6, 2024 · 2 comments
Open

cmd/go: TestScript/mod_cache_dir failures #67218

gopherbot opened this issue May 6, 2024 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/mod_cache_dir
=== PAUSE TestScript/mod_cache_dir
=== CONT  TestScript/mod_cache_dir
    script_test.go:135: 2024-05-06T21:19:18Z
    script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2924675230/tmpdir641595034/mod_cache_dir3421494188
    script_test.go:159: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2924675230/tmpdir641595034/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=ppc64le
...
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"~/test\"".
        > env GOMODCACHE="./test"
        > ! go install example.com/tools/cmd/hello@latest
        [stderr]
        go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
        [exit status 1]
        > stderr 'must be absolute path'
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
    script_test.go:401: go was invoked but no counters were incremented
--- FAIL: TestScript/mod_cache_dir (0.13s)

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 May 6, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/mod_cache_dir"
2024-05-06 20:59 gotip-linux-ppc64le_power8 go@be29a021 cmd/go.TestScript/mod_cache_dir (log)
=== RUN   TestScript/mod_cache_dir
=== PAUSE TestScript/mod_cache_dir
=== CONT  TestScript/mod_cache_dir
    script_test.go:135: 2024-05-06T21:19:18Z
    script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2924675230/tmpdir641595034/mod_cache_dir3421494188
    script_test.go:159: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2924675230/tmpdir641595034/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=ppc64le
...
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"~/test\"".
        > env GOMODCACHE="./test"
        > ! go install example.com/tools/cmd/hello@latest
        [stderr]
        go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
        [exit status 1]
        > stderr 'must be absolute path'
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
    script_test.go:401: go was invoked but no counters were incremented
--- FAIL: TestScript/mod_cache_dir (0.13s)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/mod_cache_dir"
2024-05-17 15:28 gotip-linux-ppc64_power8 go@d11e4172 cmd/go.TestScript/mod_cache_dir (log)
=== RUN   TestScript/mod_cache_dir
=== PAUSE TestScript/mod_cache_dir
=== CONT  TestScript/mod_cache_dir
    script_test.go:135: 2024-05-17T15:51:57Z
    script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3549345967/tmpdir696485141/mod_cache_dir531049582
go proxy: open /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/testdata/mod/rsc.io_v1.5.3-!p!r!e.txt: no such file or directory
go proxy: no archive rsc.io v1.5.3-PRE: file does not exist
    script_test.go:159: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3549345967/tmpdir696485141/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
...
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"~/test\"".
        > env GOMODCACHE="./test"
        > ! go install example.com/tools/cmd/hello@latest
        [stderr]
        go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
        [exit status 1]
        > stderr 'must be absolute path'
        matched: go: go: GOMODCACHE entry is relative; must be absolute path: "\"./test\"".
    script_test.go:401: go was invoked but no counters were incremented
--- FAIL: TestScript/mod_cache_dir (0.14s)

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