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

[jira] [Updated] (YUNIKORN-1529) Data race in TestTimeoutPlaceholderAllocReleased

     [ https://issues.apache.org/jira/browse/YUNIKORN-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated YUNIKORN-1529:
-------------------------------------
    Labels: pull-request-available  (was: )

> Data race in TestTimeoutPlaceholderAllocReleased
> ------------------------------------------------
>
>                 Key: YUNIKORN-1529
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1529
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: test - unit
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>
> The following data race was detected during test run:
> {noformat}
> ==================
> WARNING: DATA RACE
> Write at 0x00c00053e898 by goroutine 18:
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).timeoutPlaceholderProcessing()
>       /home/bacskop/repos/incubator-yunikorn-core/pkg/scheduler/objects/application.go:420 +0xdbb
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).timeoutPlaceholderProcessing-fm()
>       <autogenerated>:1 +0x39
> Previous read at 0x00c00053e898 by goroutine 17:
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.TestTimeoutPlaceholderAllocReleased()
>       /home/bacskop/repos/incubator-yunikorn-core/pkg/scheduler/objects/application_test.go:1319 +0x644
>   testing.tRunner()
>       /snap/go/9991/src/testing/testing.go:1439 +0x213
>   testing.(*T).Run.func1()
>       /snap/go/9991/src/testing/testing.go:1486 +0x47
> Goroutine 18 (running) created at:
>   time.goFunc()
>       /snap/go/9991/src/time/sleep.go:176 +0x47
> Goroutine 17 (running) created at:
>   testing.(*T).Run()
>       /snap/go/9991/src/testing/testing.go:1486 +0x724
>   testing.runTests.func1()
>       /snap/go/9991/src/testing/testing.go:1839 +0x99
>   testing.tRunner()
>       /snap/go/9991/src/testing/testing.go:1439 +0x213
>   testing.runTests()
>       /snap/go/9991/src/testing/testing.go:1837 +0x7e4
>   testing.(*M).Run()
>       /snap/go/9991/src/testing/testing.go:1719 +0xa71
>   main.main()
>       _testmain.go:435 +0x3a9
> ==================
> ==================
> WARNING: DATA RACE
> Write at 0x00c0002fc9c8 by goroutine 18:
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).clearPlaceholderTimer()
>       /home/bacskop/repos/incubator-yunikorn-core/pkg/scheduler/objects/application.go:359 +0xfe
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).timeoutPlaceholderProcessing()
>       /home/bacskop/repos/incubator-yunikorn-core/pkg/scheduler/objects/application.go:423 +0xe0b
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).timeoutPlaceholderProcessing-fm()
>       <autogenerated>:1 +0x39
> Previous read at 0x00c0002fc9c8 by goroutine 17:
>   github.com/apache/yunikorn-core/pkg/scheduler/objects.TestTimeoutPlaceholderAllocReleased()
>       /home/bacskop/repos/incubator-yunikorn-core/pkg/scheduler/objects/application_test.go:1323 +0x85a
>   testing.tRunner()
>       /snap/go/9991/src/testing/testing.go:1439 +0x213
>   testing.(*T).Run.func1()
>       /snap/go/9991/src/testing/testing.go:1486 +0x47
> Goroutine 18 (running) created at:
>   time.goFunc()
>       /snap/go/9991/src/time/sleep.go:176 +0x47
> Goroutine 17 (running) created at:
>   testing.(*T).Run()
>       /snap/go/9991/src/testing/testing.go:1486 +0x724
>   testing.runTests.func1()
>       /snap/go/9991/src/testing/testing.go:1839 +0x99
>   testing.tRunner()
>       /snap/go/9991/src/testing/testing.go:1439 +0x213
>   testing.runTests()
>       /snap/go/9991/src/testing/testing.go:1837 +0x7e4
>   testing.(*M).Run()
>       /snap/go/9991/src/testing/testing.go:1719 +0xa71
>   main.main()
>       _testmain.go:435 +0x3a9
> ==================
> {noformat}



--
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