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

runtime: TestNetpollDeadlock failures #55206

Closed
gopherbot opened this issue Sep 20, 2022 · 10 comments
Closed

runtime: TestNetpollDeadlock failures #55206

gopherbot opened this issue Sep 20, 2022 · 10 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Sep 20, 2022

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock" && date < "2024-01-01"

Bug automatically created to track these flakes.

— 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 Sep 20, 2022
@gopherbot
Copy link
Author

gopherbot commented Sep 20, 2022

Found new matching flaky dashboard failures for:

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock"
2022-08-18 17:26 freebsd-amd64-race go@07cf24bd runtime.TestNetpollDeadlock (log)
--- FAIL: TestNetpollDeadlock (60.04s)
    testenv.go:468: [/tmp/workdir/tmp/go-build2829729280/testprognet.exe NetpollDeadlock] exit status: exit status 2
    crash_test.go:463: output does not start with "done\n":
        dialing
        SIGQUIT: quit
        PC=0x46403e m=0 sigcode=65537

        rax    0x4
        rbx    0x0
        rcx    0x18
        rdx    0x0
        rdi    0x5d7650
        rsi    0xf
        rbp    0x7fffffffe600
        rsp    0x7fffffffe5a8
        r8     0x0
        r9     0x0
        r10    0x1
        r11    0x10
        r12    0x43d200
        r13    0x1
        r14    0x5d6f60
        r15    0x1
        rip    0x46403e
        rflags 0x247
        cs     0x43
        fs     0x13
        gs     0x1b

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Sep 20, 2022
@rsc
Copy link
Contributor

rsc commented Sep 20, 2022

Stopped.

@rsc rsc closed this as completed Sep 20, 2022
@gopherbot gopherbot changed the title runtime: flaky TestNetpollDeadlock runtime: TestNetpollDeadlock failures Sep 20, 2022
@gopherbot gopherbot reopened this Nov 4, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock"
2022-10-31 21:40 linux-amd64-longtest go@9ce27fea runtime.TestNetpollDeadlock (log)
--- FAIL: TestNetpollDeadlock (2.10s)
    crash_test.go:59: /workdir/tmp/go-build1753537901/testprognet.exe NetpollDeadlock failed to start: exec: WaitDelay expired before I/O complete

watchflakes

@mknyszek
Copy link
Contributor

mknyszek commented Nov 9, 2022

Gut reaction is that this detected a timeout but perhaps not a real deadlock. Let's wait for more failures.

@mknyszek mknyszek added this to the Go1.20 milestone Nov 9, 2022
@mknyszek
Copy link
Contributor

Checking manually, the latest instance of this is

2022-11-01T20:46:55-50c5919/solaris-amd64-oraclerel

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock"
2022-11-18 23:57 openbsd-386-71 go@04d6aa65 runtime.TestNetpollDeadlock (log)
--- FAIL: TestNetpollDeadlock (0.00s)
    crash_test.go:58: /tmp/workdir/tmp/go-build3123997662/testprognet.exe NetpollDeadlock failed to start: context deadline exceeded

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock"
2023-01-20 09:34 windows-amd64-race go@8259ac49 runtime.TestNetpollDeadlock (log)
runtime: marked free object in span 0x28580a08, elemsize=352 freeindex=0 (bad use of unsafe.Pointer? try -d=checkptr)
0xc0000da000 alloc marked  
0xc0000da160 alloc marked  
0xc0000da2c0 alloc marked  
0xc0000da420 alloc marked  
0xc0000da580 alloc marked  
0xc0000da6e0 free  marked   zombie
0x000000c0000da6e0:  0x0055005c003a0043  0x0073007200650073 
0x000000c0000da6f0:  0x0070006f0067005c  0x005c007200650068 
0x000000c0000da700:  0x0044007000700041  0x005c006100740061 
...
fatal error: found pointer to free object

runtime.cgocall(0x4c4a20, 0xc0002b8ac0)
	C:/workdir/go/src/runtime/cgocall.go:157 +0x5a fp=0xc000117290 sp=0xc000117258 pc=0x44a1da
syscall.SyscallN(0xa42?, {0xc000117328?, 0xc00017ea00?, 0x4c5b65?})
	C:/workdir/go/src/runtime/syscall_windows.go:557 +0x10c fp=0xc000117308 sp=0xc000117290 pc=0x4bf44c
syscall.Syscall12(0x5f454d49544e5552?, 0x4f48535f54534554?, 0x313d5452?, 0x0?, 0x0?, 0x0?, 0xc000098740?, 0xd88e60?, 0x49af12?, 0x0, ...)
	C:/workdir/go/src/runtime/syscall_windows.go:513 +0xac fp=0xc000117398 sp=0xc000117308 pc=0x4bf32c
syscall.CreateProcess(0xc000180120, 0xc0000da6e0, 0x0, 0x0, 0x1, 0x80400, 0xc00017ea00, 0x0, 0xc0001176e0, 0xc000117580)
	C:/workdir/go/src/syscall/zsyscall_windows.go:545 +0x1fe fp=0xc000117490 sp=0xc000117398 pc=0x4e183e
...
	C:/workdir/go/src/os/exec/exec.go:587 +0x31 fp=0xc000117c00 sp=0xc000117bc0 pc=0x61eaf1
os/exec.(*Cmd).CombinedOutput(0xc0002802c0)
	C:/workdir/go/src/os/exec/exec.go:1005 +0x20a fp=0xc000117c78 sp=0xc000117c00 pc=0x621fea
runtime_test.runBuiltTestProg(0xc000243380, {0xc0001db000, 0x47}, {0xa5e893, 0xf}, {0x0, 0x0, 0xc0000849c0?})
	C:/workdir/go/src/runtime/crash_test.go:75 +0x41d fp=0xc000117d88 sp=0xc000117c78 pc=0x8ba5dd
runtime_test.runTestProg(0xc000243380, {0xa5c3a3, 0xb}, {0xa5e893, 0xf}, {0x0, 0x0, 0x0})
	C:/workdir/go/src/runtime/crash_test.go:58 +0x1cb fp=0xc000117e20 sp=0xc000117d88 pc=0x8ba12b
runtime_test.TestNetpollDeadlock(0xc000243380)
	C:/workdir/go/src/runtime/crash_test.go:474 +0x65 fp=0xc000117ea0 sp=0xc000117e20 pc=0x8be425
testing.tRunner(0xc000243380, 0xa85e48)

watchflakes

@gopherbot gopherbot modified the milestones: Go1.20, Go1.21 Feb 1, 2023
@mknyszek
Copy link
Contributor

mknyszek commented Jun 7, 2023

This hasn't been seen since Jan 25th.

@mknyszek mknyszek closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
@gopherbot gopherbot reopened this Aug 23, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "runtime" && test == "TestNetpollDeadlock"
2023-08-22 21:17 linux-s390x-ibm go@08a08083 runtime.TestNetpollDeadlock (log)
--- FAIL: TestNetpollDeadlock (0.67s)
    crash_test.go:477: /data/golang/workdir/tmp/go-build3376925139/testprognet.exe NetpollDeadlock: exec: WaitDelay expired before I/O complete

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Jan 11, 2024

That last one is #58901.

@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. 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

4 participants