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 failures before 2023-06-20 #60895

Closed
gopherbot opened this issue Jun 20, 2023 · 1 comment
Closed

cmd/go: TestScript failures before 2023-06-20 #60895

gopherbot opened this issue Jun 20, 2023 · 1 comment
Labels
GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

gopherbot commented Jun 20, 2023

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript" && date != "" && date < "2023-06-20"

Issue created automatically to collect these failures.

Example (log):

vcs-test.golang.org rerouted to http://127.0.0.1:49441
https://vcs-test.golang.org rerouted to https://127.0.0.1:49442
go test proxy running at GOPROXY=http://127.0.0.1:49443/mod
2023/05/13 16:35:21 http: TLS handshake error from 127.0.0.1:50660: EOF
2023/05/13 16:35:21 http: TLS handshake error from 127.0.0.1:50661: EOF
--- FAIL: TestScript (0.90s)
    --- FAIL: TestScript/test_fuzz_match (2190.66s)
        script_test.go:134: 2023-05-13T20:25:53Z
        script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-21454970/tmpdir1848699086/test_fuzz_match913583700
        script_test.go:154: 
...
            r12    0x16
            r13    0x0
            r14    0x790100007a00
            r15    0x7000
            rip    0x7ff80319b1fe
            rflags 0x247
            cs     0x7
            fs     0x0
            gs     0x0
        script_test.go:154: FAIL: test_fuzz_match.txt:11: go test -fuzz Fuzz -fuzztime 1x standalone_fuzz_test.go: exit status 2

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 Jun 20, 2023
@golang golang deleted a comment from gopherbot Jun 20, 2023
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2023
@bcmills bcmills changed the title cmd/go: TestScript failures cmd/go: TestScript failures before 2023-06-20 Jun 20, 2023
@bcmills bcmills added the GoCommand cmd/go label Jun 20, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript" && date != "" && date < "2023-06-20"
2023-05-12 12:00 darwin-amd64-longtest go@af64b75b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49441
https://vcs-test.golang.org rerouted to https://127.0.0.1:49442
go test proxy running at GOPROXY=http://127.0.0.1:49443/mod
2023/05/13 16:35:21 http: TLS handshake error from 127.0.0.1:50660: EOF
2023/05/13 16:35:21 http: TLS handshake error from 127.0.0.1:50661: EOF
--- FAIL: TestScript (0.90s)
    --- FAIL: TestScript/test_fuzz_match (2190.66s)
        script_test.go:134: 2023-05-13T20:25:53Z
        script_test.go:136: $WORK=/tmp/buildlet/tmp/cmd-go-test-21454970/tmpdir1848699086/test_fuzz_match913583700
        script_test.go:154: 
...
            r12    0x16
            r13    0x0
            r14    0x790100007a00
            r15    0x7000
            rip    0x7ff80319b1fe
            rflags 0x247
            cs     0x7
            fs     0x0
            gs     0x0
        script_test.go:154: FAIL: test_fuzz_match.txt:11: go test -fuzz Fuzz -fuzztime 1x standalone_fuzz_test.go: exit status 2
2023-05-17 21:33 netbsd-amd64-9_3 go@6111ac82 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54002
https://vcs-test.golang.org rerouted to https://127.0.0.1:54001
go test proxy running at GOPROXY=http://127.0.0.1:54000/mod
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/run_hello_pkg (484.24s)
        script_test.go:134: 2023-05-17T21:43:02Z
        script_test.go:136: $WORK=/tmp/workdir/tmp/cmd-go-test-668481180/tmpdir1827334118/run_hello_pkg1500217927
        script_test.go:154: 
            > go run m/hello
            [stderr]
            hello, world
            > stderr 'hello, world'
            matched: hello, world
            > cd hello
            > go run .
            [stderr]
            hello, world
        script_test.go:154: FAIL: run_hello_pkg.txt:5: go run .: signal: killed
2023-05-18 13:41 aix-ppc64 go@33a601bf cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41466
https://vcs-test.golang.org rerouted to https://127.0.0.1:41467
go test proxy running at GOPROXY=http://127.0.0.1:41468/mod
--- FAIL: TestScript (0.14s)
    --- FAIL: TestScript/cgo_path (9.28s)
        script_test.go:134: 2023-05-18T14:53:37Z
        script_test.go:136: $WORK=/ramdisk8GB/workdir-host-aix-ppc64-osuosl/tmp/cmd-go-test-86947044/tmpdir1550266586/cgo_path1720696092
        script_test.go:154: 
            > [!cgo] skip
            [condition not met]
...
            panic: runtime error: invalid memory address or nil pointer dereference
            [signal SIGSEGV: segmentation violation code=0x33 addr=0x0 pc=0x1006b8dec]

            goroutine 2494 [running]:
            panic({0x100943320?, 0x110036620?})
            	runtime/panic.go:1017 +0x48c fp=0xa00010006528da0 sp=0xa00010006528ce0 pc=0x10004dc6c
            runtime.panicmem(...)
            	runtime/panic.go:261
            runtime.sigpanic()
            	runtime/signal_unix.go:852 +0x388 fp=0xa00010006528e10 sp=0xa00010006528da0 pc=0x100069b48
...
            cmd/compile/internal/ssagen.Compile(0xa00010002c31600, 0x0?)
            	cmd/compile/internal/ssagen/pgen.go:187 +0x48 fp=0xa00010006529f30 sp=0xa00010006529d60 pc=0x1006a98d8
            cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
            	cmd/compile/internal/gc/compile.go:184 +0x4c fp=0xa00010006529f80 sp=0xa00010006529f30 pc=0x1008c5a0c
            cmd/compile/internal/gc.compileFunctions.func3.1()
            	cmd/compile/internal/gc/compile.go:166 +0x54 fp=0xa00010006529fc0 sp=0xa00010006529f80 pc=0x1008c5df4
            runtime.goexit()
            	runtime/asm_ppc64x.s:912 +0x4 fp=0xa00010006529fc0 sp=0xa00010006529fc0 pc=0x10008c204
            created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 234
            	cmd/compile/internal/gc/compile.go:165 +0x20c
2023-05-22 17:47 darwin-amd64-longtest go@1cfacfbe cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:64410
https://vcs-test.golang.org rerouted to https://127.0.0.1:64411
go test proxy running at GOPROXY=http://127.0.0.1:64412/mod
2023/05/22 14:51:23 http: TLS handshake error from 127.0.0.1:49608: EOF
2023/05/22 14:51:23 http: TLS handshake error from 127.0.0.1:49609: read tcp 127.0.0.1:64411->127.0.0.1:49609: read: connection reset by peer
2023/05/22 14:51:25 http: TLS handshake error from 127.0.0.1:49620: EOF
SIGQUIT: quit
PC=0x7ff8102f71fe m=0 sigcode=0

rax    0x104
...
	/tmp/buildlet/go/src/cmd/go/internal/script/engine.go:590 +0x304 fp=0xc000d29838 sp=0xc000d29768 pc=0x16287e4
cmd/go/internal/script.(*Engine).Execute(0xc0000c4888, 0xc0001e68f0, {0xc0002e8030, 0xe}, 0x18?, {0x18ba2c0, 0xc00040e5c0})
	/tmp/buildlet/go/src/cmd/go/internal/script/engine.go:292 +0x92b fp=0xc000d29b10 sp=0xc000d29838 pc=0x1625eeb
cmd/go/internal/script/scripttest.Run.func1({0x18c4bb8, 0xc00042f1e0}, 0xc0001e68f0, 0x4a1f24f0?, {0xc0002e8030, 0xe}, {0x18ba3a0?, 0xc000c86c90})
	/tmp/buildlet/go/src/cmd/go/internal/script/scripttest/scripttest.go:89 +0x6dd fp=0xc000d29d90 sp=0xc000d29b10 pc=0x163c7fd
cmd/go/internal/script/scripttest.Run({0x18c4bb8, 0xc00042f1e0}, 0x178794d?, 0xc000379ee8?, {0xc0002e8030, 0xe}, {0x18ba3a0, 0xc000c86c90})
	/tmp/buildlet/go/src/cmd/go/internal/script/scripttest/scripttest.go:90 +0x94 fp=0xc000d29e10 sp=0xc000d29d90 pc=0x163bf14
cmd/go_test.TestScript.func3(0xc00042f1e0)
	/tmp/buildlet/go/src/cmd/go/script_test.go:154 +0x610 fp=0xc000d29f70 sp=0xc000d29e10 pc=0x16589b0
testing.tRunner(0xc00042f1e0, 0xc0003d2dc0)
2023-05-30 20:19 linux-386-longtest go@993707a9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41033
https://vcs-test.golang.org rerouted to https://127.0.0.1:44293
go test proxy running at GOPROXY=http://127.0.0.1:33489/mod
2023/05/30 20:43:18 http: TLS handshake error from 127.0.0.1:58502: EOF
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37808: read tcp 127.0.0.1:44293->127.0.0.1:37808: read: connection reset by peer
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37814: EOF
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37798: EOF
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37844: EOF
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37836: EOF
2023/05/30 20:43:33 http: TLS handshake error from 127.0.0.1:37858: EOF
...
--- FAIL: TestScript (0.04s)
    --- FAIL: TestScript/cover_pkgall_multiple_mains (4.21s)
        script_test.go:134: 2023-05-30T20:43:38Z
        script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-223945188/tmpdir2096818138/cover_pkgall_multiple_mains1642764577
        script_test.go:158: 
            # This test checks that multiple main packages can be tested
            # with -coverpkg=all without duplicate symbol errors.
            # Verifies golang.org/issue/30374, golang.org/issue/34114. (4.209s)
            > [short] skip
            [condition not met]
...
            testing.(*M).Run.func4()
            	/workdir/go/src/testing/testing.go:1917 +0x27 fp=0x8884dfc sp=0x8884df4 pc=0x82140d7
            testing.(*M).Run(0x885e0a0)
            	/workdir/go/src/testing/testing.go:1963 +0x1185 fp=0x8884f60 sp=0x8884dfc pc=0x8213d25
            main.main()
            	_testmain.go:81 +0x1c5 fp=0x8884fa4 sp=0x8884f60 pc=0x8235f55
            runtime.main()
            	/workdir/go/src/runtime/proc.go:267 +0x54a fp=0x8884ff0 sp=0x8884fa4 pc=0x80b7c4a
            runtime.goexit()
            	/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8884ff4 sp=0x8884ff0 pc=0x810fe31
2023-06-06 17:46 linux-386-longtest go@7fe60b5d cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:41195/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/reuse_git (52.61s)
        script_test.go:271: 
            # (2023-06-06T18:14:41Z)
            # go mod download with the pseudo-version should invoke git but not have a TagSum or Ref. (9.594s)
            # go mod download vcstest/hello should invoke git, print origin info (0.621s)
            # pseudo-version again should not invoke git fetch (it has the version from the @latest query)
            # but still be careful not to include a TagSum or a Ref, especially not Ref set to HEAD,
            # which is easy to do when reusing the cached version from the @latest query. (0.018s)
...
    --- FAIL: TestScript/mod_get_major (401.93s)
        script_test.go:271: 
            # (2023-06-06T18:14:56Z)
            # golang.org/issue/34383: if a module path ends in a major-version suffix,
            # ensure that 'direct' mode can resolve the package to a module. (401.932s)
            > go get vcs-test.golang.org/git/v3pkg.git/v3@v3.0.0
            [stderr]
            go: downloading vcs-test.golang.org/git/v3pkg.git/v3 v3.0.0
            go: added vcs-test.golang.org/git/v3pkg.git/v3 v3.0.0
            > go list -m vcs-test.golang.org/git/v3pkg.git/v3
            [stdout]
            vcs-test.golang.org/git/v3pkg.git/v3 v3.0.0
            > stdout '^vcs-test.golang.org/git/v3pkg.git/v3 v3.0.0$'
            > go get vcs-test.golang.org/git/empty-v2-without-v1.git/v2@v2.0.0
            [stderr]
            go: vcs-test.golang.org/git/empty-v2-without-v1.git/v2@v2.0.0: invalid version: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/b33130d0163a055cc673528c56def6d79769cd8850cfaec1f2af480a21497de5: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
            	vcs-test.golang.org[0: 34.110.184.62]: errno=Connection timed out
            [exit status 1]
            FAIL: testdata/script/mod_get_major.txt:16: unexpected command failure

watchflakes

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

No branches or pull requests

2 participants