#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceStacks/Default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestTraceStacks/Default
    trace_test.go:499: no match for StateTransition Match=Goroutine Running->Runnable Stack=[]trace_test.frame{trace_test.frame{fn:"main.syncPreemptPoint", line:0}, trace_test.frame{fn:"main.main.func12", line:0}}
    trace_test.go:668: found bad trace; dumping to test log...
    trace_test.go:679: Trace Go1.25
        EventBatch gen=1 m=18446744073709551615 time=3561093234 size=23
        Sync
        Frequency freq=15625000
        ClockSnapshot dt=122 mono=227909974775 sec=1751057236 nsec=143347899
        EventBatch gen=1 m=28599 time=3562885851 size=7
        ProcStart dt=217 p=2 p_seq=3
...
        String id=237
            data="/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/sock_cloexec.go"
        String id=238
            data="runtime.createfing"
        String id=239
            data="runtime.SetFinalizer"
        String id=240
            data="net.(*netFD).setAddr"

--- FAIL: TestTraceStacks/Default (7.67s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceStacks/Default"
2025-06-27 20:38 gotip-linux-amd64-longtest go@2a22aefa internal/trace.TestTraceStacks/Default (log) === RUN TestTraceStacks/Default trace_test.go:499: no match for StateTransition Match=Goroutine Running->Runnable Stack=[]trace_test.frame{trace_test.frame{fn:"main.syncPreemptPoint", line:0}, trace_test.frame{fn:"main.main.func12", line:0}} trace_test.go:668: found bad trace; dumping to test log... trace_test.go:679: Trace Go1.25 EventBatch gen=1 m=18446744073709551615 time=3561093234 size=23 Sync Frequency freq=15625000 ClockSnapshot dt=122 mono=227909974775 sec=1751057236 nsec=143347899 EventBatch gen=1 m=28599 time=3562885851 size=7 ProcStart dt=217 p=2 p_seq=3 ... String id=237 data="/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/sock_cloexec.go" String id=238 data="runtime.createfing" String id=239 data="runtime.SetFinalizer" String id=240 data="net.(*netFD).setAddr" --- FAIL: TestTraceStacks/Default (7.67s)
2025-06-27 20:56 gotip-linux-amd64-asan-clang15 go@e81c6246 internal/trace.TestTraceStacks/Default (log) === RUN TestTraceStacks/Default trace_test.go:499: no match for StateTransition Match=Goroutine Running->Runnable Stack=[]trace_test.frame{trace_test.frame{fn:"main.syncPreemptPoint", line:0}, trace_test.frame{fn:"main.main.func12", line:0}} trace_test.go:668: found bad trace; dumping to test log... trace_test.go:679: Trace Go1.25 EventBatch gen=1 m=18446744073709551615 time=2564254135 size=23 Sync Frequency freq=15625000 ClockSnapshot dt=121 mono=164112272358 sec=1751058486 nsec=147607058 EventBatch gen=1 m=26939 time=2566829469 size=293 ProcStart dt=194 p=4 p_seq=1 ... String id=250 data="sync.(*WaitGroup).Done" String id=251 data="runtime.forcegchelper" String id=252 data="net.setNoDelay" String id=253 data="/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsockopt_posix.go" --- FAIL: TestTraceStacks/Default (4.68s)

watchflakes

Comment From: thepudds

CC @mknyszek. (Maybe related to runtime: account for missing frame pointer in preamble, or maybe not 😅)

Comment From: thepudds

And watchflakes issue #74418 seems plausibly related.