go cmd/internal/testdir: 测试失败

a7qyws3x  于 6个月前  发布在  Go
关注(0)|答案(2)|浏览(44)
#!watchflakes
default <- pkg == "test" && test == "Test"

自动创建的问题以收集这些故障。
示例( log ):

--- FAIL: Test (0.03s)
    --- FAIL: Test/heapsampling.go (2.60s)
        testdir_test.go:142: exit status 2
            panic: main.allocSmall1:135 want objects in [45000: 55000], got [44892 44699 44957]

            goroutine 1 gp=0x8406128 m=2 mp=0x844a588 [running]:
            panic({0x80d5740, 0x8414030})
            	/workdir/go/src/runtime/panic.go:768 +0x130 fp=0x847cf9c sp=0x847cf48 pc=0x807cd50
            main.main()
            	/workdir/go/test/heapsampling.go:37 +0x75 fp=0x847cfac sp=0x847cf9c pc=0x80caf95
...

            goroutine 35 gp=0x8882248 m=nil [GC worker (idle)]:
            runtime.gopark(0x80ea5d4, 0x8880018, 0x1a, 0xa, 0x0)
            	/workdir/go/src/runtime/proc.go:402 +0x10c fp=0x8835794 sp=0x8835780 pc=0x80804dc
            runtime.gcBgMarkWorker()
            	/workdir/go/src/runtime/mgc.go:1310 +0xf7 fp=0x88357f0 sp=0x8835794 pc=0x805fab7
            runtime.goexit({})
            	/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x88357f4 sp=0x88357f0 pc=0x80abb21
            created by runtime.gcBgMarkStartWorkers in goroutine 1
            	/workdir/go/src/runtime/mgc.go:1234 +0x25

watchflakes

6yjfywim

6yjfywim1#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "test" && test == "Test"

2024-01-25 19:32 linux-386-clang go@4fde3ef2 test.Test ( log )

--- FAIL: Test (0.03s)
    --- FAIL: Test/heapsampling.go (2.60s)
        testdir_test.go:142: exit status 2
            panic: main.allocSmall1:135 want objects in [45000: 55000], got [44892 44699 44957]

            goroutine 1 gp=0x8406128 m=2 mp=0x844a588 [running]:
            panic({0x80d5740, 0x8414030})
            	/workdir/go/src/runtime/panic.go:768 +0x130 fp=0x847cf9c sp=0x847cf48 pc=0x807cd50
            main.main()
            	/workdir/go/test/heapsampling.go:37 +0x75 fp=0x847cfac sp=0x847cf9c pc=0x80caf95
...

            goroutine 35 gp=0x8882248 m=nil [GC worker (idle)]:
            runtime.gopark(0x80ea5d4, 0x8880018, 0x1a, 0xa, 0x0)
            	/workdir/go/src/runtime/proc.go:402 +0x10c fp=0x8835794 sp=0x8835780 pc=0x80804dc
            runtime.gcBgMarkWorker()
            	/workdir/go/src/runtime/mgc.go:1310 +0xf7 fp=0x88357f0 sp=0x8835794 pc=0x805fab7
            runtime.goexit({})
            	/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x88357f4 sp=0x88357f0 pc=0x80abb21
            created by runtime.gcBgMarkStartWorkers in goroutine 1
            	/workdir/go/src/runtime/mgc.go:1234 +0x25

watchflakes

j8ag8udp

j8ag8udp2#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "test" && test == "Test"

2024-02-07 23:35 linux-ppc64le-power10osu go@d3d39098 test.Test ( log )

munmap /root/.config/go/telemetry/local/go-devel-linux-ppc64le-2024-02-07.v1.count: invalid argument
munmap /root/.config/go/telemetry/local/go-devel-linux-ppc64le-2024-02-07.v1.count: invalid argument
--- FAIL: Test (0.03s)
    --- FAIL: Test/fixedbugs/issue5162.go (5.84s)
        testdir_test.go:142: output should be empty when (optional) expected-output file fixedbugs/issue5162.out is not present. Instead saw
            munmap /root/.config/go/telemetry/local/go-devel-linux-ppc64le-2024-02-07.v1.count: invalid argument

watchflakes

相关问题