You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/01/04 05:03:00 UTC

[jira] [Commented] (YUNIKORN-1525) data race: TestTryReserve

    [ https://issues.apache.org/jira/browse/YUNIKORN-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654291#comment-17654291 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1525:
-------------------------------------------------

This seems to cause issues often increasing priority and tagging for 1.2.0

> data race: TestTryReserve
> -------------------------
>
>                 Key: YUNIKORN-1525
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1525
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes, test - unit
>            Reporter: Wilfred Spiegelenburg
>            Priority: Critical
>
>  
> {code:java}
> 2022-12-30T10:23:38.762Z    ERROR    cache/context.go:1022    failed to handle application event    {"reason": "application not exist"}
> github.com/apache/yunikorn-k8shim/pkg/cache.(*Context).ApplicationEventHandler.func1
>     /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/context.go:1022
> github.com/apache/yunikorn-k8shim/pkg/dispatcher.Start.func1
>     /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/dispatcher/dispatcher.go:197
> ==================
> WARNING: DATA RACE
> Write at 0x00c0000cdf80 by goroutine 51:
>   runtime.mapassign_faststr()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/runtime/map_faststr.go:203 +0x0
>   github.com/apache/yunikorn-k8shim/pkg/cache.TestTryReserve()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/application_test.go:722 +0x3ec
>   testing.tRunner()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1439 +0x213
>   testing.(*T).Run.func1()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1486 +0x47
> Previous read at 0x00c0000cdf80 by goroutine 54:
>   runtime.mapaccess2_faststr()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/runtime/map_faststr.go:108 +0x0
>   github.com/apache/yunikorn-k8shim/pkg/cache.(*Context).getApplication()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/context.go:768 +0x6e
>   github.com/apache/yunikorn-k8shim/pkg/cache.(*Context).GetApplication()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/context.go:764 +0xf2
>   github.com/apache/yunikorn-k8shim/pkg/cache.(*Context).ApplicationEventHandler.func1()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/context.go:1020 +0xc8
>   github.com/apache/yunikorn-k8shim/pkg/dispatcher.Start.func1()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/dispatcher/dispatcher.go:197 +0x2eb
> Goroutine 51 (running) created at:
>   testing.(*T).Run()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1486 +0x724
>   testing.runTests.func1()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1839 +0x99
>   testing.tRunner()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1439 +0x213
>   testing.runTests()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1837 +0x7e4
>   testing.(*M).Run()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1719 +0xa71
>   main.main()
>       _testmain.go:355 +0x3a9
> Goroutine 54 (running) created at:
>   github.com/apache/yunikorn-k8shim/pkg/dispatcher.Start()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/dispatcher/dispatcher.go:187 +0x150
>   github.com/apache/yunikorn-k8shim/pkg/cache.TestTryReserve()
>       /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/pkg/cache/application_test.go:705 +0x64
>   testing.tRunner()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1439 +0x213
>   testing.(*T).Run.func1()
>       /opt/hostedtoolcache/go/1.18.9/x64/src/testing/testing.go:1486 +0x47
> ==================
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org