I got the following test error from time to time, even with a freshly 
checkout repo., when running './all.bash',
but 'go test -run=TestScript/mod_indirect cmd/go' works fine, can anyone 
please help here? Thanks.

====================================================================================
go test proxy running at GOPROXY=http://127.0.0.1:57425/mod
go proxy: no archive rsc.io v1.5.2: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.1.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.0.0: file does not exist
go proxy: no archive rsc.io v1.5.1: file does not exist
go proxy: no archive rsc.io v1.5.2: file does not exist
go proxy: no archive example.com/newcycle v1.0.0: file does not exist
--- FAIL: TestScript (0.03s)
    --- FAIL: TestScript/mod_indirect (0.33s)
        script_test.go:205:
            # golang.org/issue/31248: module requirements imposed by 
dependency versions
            # older than the selected version must still be taken into 
account. (0.000s)
            # Indirect dependencies required via older-than-selected 
versions must exist in
            # the module graph, but do not need to be listed explicitly in 
the go.mod file
            # (since they are implied). (0.065s)
            # The modules must also appear in the build list, not just the 
graph. (0.196s)
            # The packages provided by those dependencies must resolve. 
(0.038s)
            > go list all
            [stderr]
            package main: cannot find package "." in:
                /home/xiaji01/src/go.bm.fix/src/main
            [exit status 1]
            FAIL: testdata/script/mod_indirect.txt:19: unexpected command 
failure

    --- FAIL: TestScript/mod_indirect_tidy (0.04s)
        script_test.go:205:
            # golang.org/issue/31248: loading the build list must not add 
explicit entries
            # for indirect dependencies already implied by 
older-than-selected versions
            # already in the build list. (0.017s)
            > cp go.mod.orig go.mod
            > go mod tidy
            [stderr]
            main: readdirent: not a directory
            [exit status 1]
            FAIL: testdata/script/mod_indirect_tidy.txt:8: unexpected 
command failure

FAIL
FAIL    cmd/go  83.159s

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9b888584-8c33-487a-aa8e-dfaeccb10ebc%40googlegroups.com.

Reply via email to