PoAn Yang created YUNIKORN-2058:
-----------------------------------
Summary: Potential data race function EventSystemImpl .reloadConfig
Key: YUNIKORN-2058
URL: https://issues.apache.org/jira/browse/YUNIKORN-2058
Project: Apache YuniKorn
Issue Type: Task
Components: core - common
Reporter: PoAn Yang
Assignee: PoAn Yang
Fix For: 1.4.0
{noformat}
WARNING: DATA RACE
390Write at 0x00c00012bfc0 by goroutine 131:
391
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).reloadConfig()
392
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:200
+0x46
393
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).StartServiceWithPublisher.func1.1()
394
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:117
+0x33
395
396Previous write at 0x00c00012bfc0 by goroutine 127:
397
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).StartServiceWithPublisher()
398
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:122
+0x1b3
399 github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).Restart()
400
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:196
+0x35
401
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).reloadConfig()
402
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:207
+0x9c
403
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).StartServiceWithPublisher.func1.1()
404
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:117
+0x33
405
406Goroutine 131 (running) created at:
407
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).StartServiceWithPublisher.func1()
408
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:117
+0x8d
409
github.com/apache/yunikorn-core/pkg/common/configs.processConfigMapCallbacks()
410
/home/runner/work/yunikorn-core/yunikorn-core/pkg/common/configs/configs.go:121
+0x51
411 runtime.deferreturn()
412 /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:477 +0x30
413
github.com/apache/yunikorn-core/pkg/webservice.TestGetEventsWhenTrackingDisabled.func1()
414
/home/runner/work/yunikorn-core/yunikorn-core/pkg/webservice/handlers_test.go:1453
+0x6e
415 runtime.deferreturn()
416 /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:477 +0x30
417 testing.tRunner()
418 /opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0x238
419 testing.(*T).Run.func1()
420 /opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1648 +0x44
421
422Goroutine 127 (finished) created at:
423
github.com/apache/yunikorn-core/pkg/events.(*EventSystemImpl).StartServiceWithPublisher.func1()
424
/home/runner/work/yunikorn-core/yunikorn-core/pkg/events/event_system.go:117
+0x8d
425
github.com/apache/yunikorn-core/pkg/common/configs.processConfigMapCallbacks()
426
/home/runner/work/yunikorn-core/yunikorn-core/pkg/common/configs/configs.go:121
+0x51
427 runtime.deferreturn()
428 /opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:477 +0x30
429
github.com/apache/yunikorn-core/pkg/webservice.TestGetEventsWhenTrackingDisabled()
430
/home/runner/work/yunikorn-core/yunikorn-core/pkg/webservice/handlers_test.go:1458
+0xe4
431 testing.tRunner()
432 /opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0x238
433 testing.(*T).Run.func1()
434 /opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1648
+0x44{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]