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

Issue created automatically to collect these failures.

Example (log):

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

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/references/test.txt"
2025-07-08 18:57 x_tools-go1.25-linux-amd64-race tools@986a3c00 release-branch.go1.25@e73dadc7 x/tools/gopls/internal/test/marker.Test/references/test.txt (log) === RUN Test/references/test.txt === PAUSE Test/references/test.txt === CONT Test/references/test.txt ================== WARNING: DATA RACE Write at 0x00c013365660 by goroutine 334: runtime.closechan() /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/chan.go:414 +0x0 golang.org/x/tools/gopls/internal/test/integration.(*Env).Close() /home/swarming/.swarming/w/ir/x/w/targetrepo1100742697/gopls/internal/test/integration/wrappers.go:644 +0x44e ... /home/swarming/.swarming/w/ir/x/w/targetrepo1100742697/gopls/internal/test/marker/marker_test.go:1016 +0x108b golang.org/x/tools/gopls/internal/test/marker.Test.func1() /home/swarming/.swarming/w/ir/x/w/targetrepo1100742697/gopls/internal/test/marker/marker_test.go:191 +0xf2f testing.tRunner() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1934 +0x21c testing.(*T).Run.gowrap1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1997 +0x44 ================== testing.go:1617: race detected during execution of test --- FAIL: Test/references/test.txt (5.19s)

watchflakes