#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/format/generated.txt"

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test/format/generated.txt
=== PAUSE Test/format/generated.txt
=== CONT  Test/format/generated.txt
==================
WARNING: DATA RACE
Write at 0x00c0074a8390 by goroutine 322:
  runtime.closechan()
      /Volumes/Work/s/w/ir/x/w/goroot/src/runtime/chan.go:414 +0x0
  golang.org/x/tools/gopls/internal/test/integration.(*Env).Close()
      /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/integration/wrappers.go:644 +0x44e
...
      /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/marker/marker_test.go:1016 +0x108b
  golang.org/x/tools/gopls/internal/test/marker.Test.func1()
      /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/marker/marker_test.go:191 +0xf2f
  testing.tRunner()
      /Volumes/Work/s/w/ir/x/w/goroot/src/testing/testing.go:1934 +0x21c
  testing.(*T).Run.gowrap1()
      /Volumes/Work/s/w/ir/x/w/goroot/src/testing/testing.go:1997 +0x44
==================
    testing.go:1617: race detected during execution of test
--- FAIL: Test/format/generated.txt (6.15s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/format/generated.txt"
2025-07-08 13:34 x_tools-gotip-darwin-amd64-race tools@02a89fc3 go@86b5ba73 x/tools/gopls/internal/test/marker.Test/format/generated.txt (log) === RUN Test/format/generated.txt === PAUSE Test/format/generated.txt === CONT Test/format/generated.txt ================== WARNING: DATA RACE Write at 0x00c0074a8390 by goroutine 322: runtime.closechan() /Volumes/Work/s/w/ir/x/w/goroot/src/runtime/chan.go:414 +0x0 golang.org/x/tools/gopls/internal/test/integration.(*Env).Close() /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/integration/wrappers.go:644 +0x44e ... /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/marker/marker_test.go:1016 +0x108b golang.org/x/tools/gopls/internal/test/marker.Test.func1() /Volumes/Work/s/w/ir/x/w/targetrepo3935731211/gopls/internal/test/marker/marker_test.go:191 +0xf2f testing.tRunner() /Volumes/Work/s/w/ir/x/w/goroot/src/testing/testing.go:1934 +0x21c testing.(*T).Run.gowrap1() /Volumes/Work/s/w/ir/x/w/goroot/src/testing/testing.go:1997 +0x44 ================== testing.go:1617: race detected during execution of test --- FAIL: Test/format/generated.txt (6.15s)

watchflakes