Skip to content

internal/trace/v2: TestTraceStressStartStop/Default failures #65318

Closed
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStressStartStop/Default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestTraceStressStartStop/Default
    reader_test.go:112: unexpected error while reading the trace: broken trace: failed to advance: frontier:
        [gen=5]
        
        M 1098478 [ProcStart time=61707444740480 p=3 p_seq=15]
        
        G 12 [status=Waiting seq=0 (gen=5)]
        G 13 [status=Waiting seq=0 (gen=5)]
        G 11 [status=Waiting seq=0 (gen=5)]
        G 43 [status=Waiting seq=1 (gen=5)]
...
        String id=129
        	data="net.(*conn).Write"
        String id=130
        	data="sync.(*WaitGroup).Wait"
        String id=131
        	data="runtime.block"
        String id=132
        	data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/select.go"
        
--- FAIL: TestTraceStressStartStop/Default (0.89s)

watchflakes

Activity

added
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Jan 26, 2024
gopherbot

gopherbot commented on Jan 26, 2024

@gopherbot
ContributorAuthor

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStressStartStop/Default"
2024-01-26 17:53 gotip-linux-386-longtest go@8081c084 internal/trace/v2.TestTraceStressStartStop/Default (log)
=== RUN   TestTraceStressStartStop/Default
    reader_test.go:112: unexpected error while reading the trace: broken trace: failed to advance: frontier:
        [gen=5]
        
        M 1098478 [ProcStart time=61707444740480 p=3 p_seq=15]
        
        G 12 [status=Waiting seq=0 (gen=5)]
        G 13 [status=Waiting seq=0 (gen=5)]
        G 11 [status=Waiting seq=0 (gen=5)]
        G 43 [status=Waiting seq=1 (gen=5)]
...
        String id=129
        	data="net.(*conn).Write"
        String id=130
        	data="sync.(*WaitGroup).Wait"
        String id=131
        	data="runtime.block"
        String id=132
        	data="/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/select.go"
        
--- FAIL: TestTraceStressStartStop/Default (0.89s)

watchflakes

bcmills

bcmills commented on Jan 29, 2024

@bcmills
Contributor

(Note that linux/386 is currently a first class port.)

added this to the Backlog milestone on Jan 31, 2024
self-assigned this
on Jan 31, 2024
mknyszek

mknyszek commented on Feb 2, 2024

@mknyszek
Contributor

I see the problem here. P states aren't always correctly cleaned up for future generations when the trace stops. I'll send a CL for this.

moved this from Todo to In Progress in Go Compiler / Runtimeon Feb 2, 2024
gopherbot

gopherbot commented on Feb 26, 2024

@gopherbot
ContributorAuthor

Change https://go.dev/cl/567077 mentions this issue: runtime: clean up dead P trace state when disabling tracing too

7 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Done

Status

Done

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @mknyszek@bcmills@gopherbot

      Issue actions

        internal/trace/v2: TestTraceStressStartStop/Default failures · Issue #65318 · golang/go