Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: TestDeepSubtestRace failures #66183

Open
gopherbot opened this issue Mar 8, 2024 · 1 comment
Open

testing: TestDeepSubtestRace failures #66183

gopherbot opened this issue Mar 8, 2024 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

#!watchflakes
default <- pkg == "testing" && test == "TestDeepSubtestRace"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestDeepSubtestRace (0.02s)
    testing_test.go:485: C:\Users\gopher\AppData\Local\Temp\1\go-build686162820\b001\testing.test.exe -test.run=^TestDeepSubtestRace$ -test.bench=TestDeepSubtestRace -test.v -test.parallel=2 -test.benchtime=2x: exit status 1
        === RUN   TestDeepSubtestRace
        === RUN   TestDeepSubtestRace/sub
        === RUN   TestDeepSubtestRace/sub/subsub
        === RUN   TestDeepSubtestRace/sub/subsub/subsubsub
        ==================
        WARNING: DATA RACE
        Write at 0x00c00000aa48 by goroutine 11:
          testing_test.doRace.func1()
...
          testing.(*T).Run.gowrap1()
              C:/workdir/go/src/testing/testing.go:1742 +0x44
        ==================
            testing.go:1398: race detected during execution of test
        --- FAIL: TestDeepSubtestRace (0.00s)
            --- FAIL: TestDeepSubtestRace/sub (0.00s)
                --- FAIL: TestDeepSubtestRace/sub/subsub (0.00s)
                    --- FAIL: TestDeepSubtestRace/sub/subsub/subsubsub (0.00s)
        FAIL
    testing_test.go:494: got 1 race reports, want 2

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "testing" && test == "TestDeepSubtestRace"
2024-03-08 01:59 windows-amd64-race go@80a91d34 testing.TestDeepSubtestRace (log)
--- FAIL: TestDeepSubtestRace (0.02s)
    testing_test.go:485: C:\Users\gopher\AppData\Local\Temp\1\go-build686162820\b001\testing.test.exe -test.run=^TestDeepSubtestRace$ -test.bench=TestDeepSubtestRace -test.v -test.parallel=2 -test.benchtime=2x: exit status 1
        === RUN   TestDeepSubtestRace
        === RUN   TestDeepSubtestRace/sub
        === RUN   TestDeepSubtestRace/sub/subsub
        === RUN   TestDeepSubtestRace/sub/subsub/subsubsub
        ==================
        WARNING: DATA RACE
        Write at 0x00c00000aa48 by goroutine 11:
          testing_test.doRace.func1()
...
          testing.(*T).Run.gowrap1()
              C:/workdir/go/src/testing/testing.go:1742 +0x44
        ==================
            testing.go:1398: race detected during execution of test
        --- FAIL: TestDeepSubtestRace (0.00s)
            --- FAIL: TestDeepSubtestRace/sub (0.00s)
                --- FAIL: TestDeepSubtestRace/sub/subsub (0.00s)
                    --- FAIL: TestDeepSubtestRace/sub/subsub/subsubsub (0.00s)
        FAIL
    testing_test.go:494: got 1 race reports, want 2

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

1 participant