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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestTraceStacks/Stress
    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=60928360429 size=25
        Sync
        Frequency freq=15625000
        ClockSnapshot dt=182 mono=3899415079059 sec=1751401571 nsec=459196432
        EventBatch gen=1 m=391301 time=60928458845 size=156
        ProcStart dt=105 p=2 p_seq=1
...
        String id=77
            data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go"
        String id=78
            data="runtime.(*cleanupQueue).dequeue"
        String id=79
            data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mcleanup.go"
        String id=80
            data="runtime.runCleanups"

--- FAIL: TestTraceStacks/Stress (2.37s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceStacks/Stress"
2025-06-30 16:00 go1.25-linux-amd64-longtest-aliastypeparams release-branch.go1.25@03ad694d internal/trace.TestTraceStacks/Stress (log) === RUN TestTraceStacks/Stress 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=60928360429 size=25 Sync Frequency freq=15625000 ClockSnapshot dt=182 mono=3899415079059 sec=1751401571 nsec=459196432 EventBatch gen=1 m=391301 time=60928458845 size=156 ProcStart dt=105 p=2 p_seq=1 ... String id=77 data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go" String id=78 data="runtime.(*cleanupQueue).dequeue" String id=79 data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mcleanup.go" String id=80 data="runtime.runCleanups" --- FAIL: TestTraceStacks/Stress (2.37s)
2025-06-30 20:32 go1.25-linux-amd64-longtest-aliastypeparams release-branch.go1.25@8002d283 internal/trace.TestTraceStacks/Stress (log) === RUN TestTraceStacks/Stress 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=22541578817 size=25 Sync Frequency freq=15625000 ClockSnapshot dt=149 mono=1442661053811 sec=1751400383 nsec=271163378 EventBatch gen=1 m=283932 time=22541773631 size=110 ProcStart dt=151 p=1 p_seq=1 ... String id=95 data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt_amd64.s" String id=96 data="main.syncPreemptPoint" String id=97 data="main.main.func12" String id=98 data="runtime.updateMaxProcsGoroutine" --- FAIL: TestTraceStacks/Stress (2.22s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceStacks/Stress"
2025-07-01 17:07 gotip-linux-amd64-longtest-noswissmap go@2f653a5a internal/trace.TestTraceStacks/Stress (log) === RUN TestTraceStacks/Stress 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=2383755173 size=24 Sync Frequency freq=15625000 ClockSnapshot dt=118 mono=152560338612 sec=1751390419 nsec=948924265 EventBatch gen=1 m=25202 time=2383824267 size=113 ProcStart dt=139 p=1 p_seq=1 ... String id=71 data="main.main.func1" String id=72 data="runtime.chansend" String id=73 data="runtime.chansend1" String id=74 data="main.main.func2" --- FAIL: TestTraceStacks/Stress (2.42s)

watchflakes