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

[Bug] Data race in scenario.go #124

Open
stephanos opened this issue Dec 13, 2024 · 0 comments
Open

[Bug] Data race in scenario.go #124

stephanos opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stephanos
Copy link
Contributor

stephanos commented Dec 13, 2024

WARNING: DATA RACE
Read at #HEX by go routine: #DIG:
  github.com/temporalio/omes/loadgen.(*Run).ExecuteKitchenSinkWorkflow()
      /omes/loadgen/scenario.go:272 +0x984
  github.com/temporalio/omes/loadgen.FuzzExecutor.Run.func1()
      /omes/loadgen/fuzz_executor.go:84 +0x22b
  github.com/temporalio/omes/loadgen.(*genericRun).Run.func2()
      /omes/loadgen/generic_executor.go:133 +0xf1

Previous write at #HEX by go routine: #DIG:
  github.com/temporalio/omes/loadgen.(*Run).ExecuteKitchenSinkWorkflow.func1()
      /omes/loadgen/scenario.go:254 +0x15c

go routine: #DIG (running) created at:
  github.com/temporalio/omes/loadgen.(*genericRun).Run()
      /omes/loadgen/generic_executor.go:131 +0x86e
  github.com/temporalio/omes/loadgen.(*GenericExecutor).Run()
      /omes/loadgen/generic_executor.go:37 +0xcc
  github.com/temporalio/omes/loadgen.FuzzExecutor.Run()
      /omes/loadgen/fuzz_executor.go:87 +0xaac
  github.com/temporalio/omes/loadgen.(*FuzzExecutor).Run()
      <autogenerated>:1 +0x130
  main.(*scenarioRunner).run()
      /omes/cmd/run_scenario.go:158 +0xd8c
  main.(*workerWithScenarioRunner).run()
      /omes/cmd/run_scenario_with_worker.go:75 +0x76f
  main.runScenarioWithWorkerCmd.func1()
      /omes/cmd/run_scenario_with_worker.go:19 +0xac
  github.com/spf13/cobra.(*Command).execute()
      /go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0xe50
  github.com/spf13/cobra.(*Command).ExecuteC()
      /go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x617
  github.com/spf13/cobra.(*Command).Execute()
      /go/pkg/mod/github.com/spf13/[email protected]/command.go:992 +0x3f0
  main.main()
      /omes/cmd/main.go:26 +0x3f1

go routine: #DIG (finished) created at:
  github.com/temporalio/omes/loadgen.(*Run).ExecuteKitchenSinkWorkflow()
      /omes/loadgen/scenario.go:253 +0x84b
  github.com/temporalio/omes/loadgen.FuzzExecutor.Run.func1()
      /omes/loadgen/fuzz_executor.go:84 +0x22b
  github.com/temporalio/omes/loadgen.(*genericRun).Run.func2()
      /omes/loadgen/generic_executor.go:133 +0xf1

L254

clientActionsErr = executor.ExecuteClientSequence(cancelCtx, clientSeq)

L272

if clientActionsErr != nil {
	return fmt.Errorf("kitchen sink client actions failed: %w", clientActionsErr)
}
@stephanos stephanos added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant