-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update lincheck to 2.5 #1520
Update lincheck to 2.5 #1520
Conversation
f94049c
to
09f29b8
Compare
|
64801b5
to
66084f5
Compare
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeListLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/internal/SegmentQueueLCStressTest.kt
Outdated
Show resolved
Hide resolved
c95162f
to
3ae9a93
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also note that it fails on tests. See https://teamcity.jetbrains.com/viewLog.html?buildId=2530509&buildTypeId=KotlinTools_KotlinxCoroutines_BuildAggregated
on ChannelsLCStressTest.test[ArrayChannel(1)]
:
= Invalid execution results: =
Parallel part:
| receiveViaSelect(): suspended | offer(2): true | poll(): null |
| | poll(): 2 | sendViaSelect(1): void |
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeTaskQueueLCStressTest.kt
Outdated
Show resolved
Hide resolved
aca59e7
to
8b7984c
Compare
7bc99f6
to
d089b64
Compare
kotlinx-coroutines-core/jvm/test/linearizability/ChannelsLCStressTest.kt
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeTaskQueueLCStressTest.kt
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeTaskQueueLCStressTest.kt
Outdated
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeListLCStressTest.kt
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeListLCStressTest.kt
Show resolved
Hide resolved
kotlinx-coroutines-core/jvm/test/linearizability/LockFreeListLCStressTest.kt
Show resolved
Hide resolved
aec3e3b
to
caee8d5
Compare
Still fails on tests. |
I also added a sequential channel implementation |
9ceec6d
to
f9c9170
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stress tests are still too slow. On Mac they take ~1h40m each. That's too much. In develop
branch each stress test takes ~4m. Please, tune options to keep stress tests under 5m each.
kotlinx.coroutines.linearizability.LockFreeListLCStressTest (1h:40m:15s)
kotlinx.coroutines.linearizability.SegmentQueueLCStressTest (1h:40m:55s)
kotlinx.coroutines.linearizability.MCLockFreeTaskQueueWithRemoveLCStressTest (1h:38m:13s)
kotlinx.coroutines.linearizability.MCLockFreeTaskQueueWithRemoveLCStressTest.testWithRemoveForQuiescentConsistency (1h:38m:13s)
The build kotlinx-coroutines::Nightly Stress (Mac) #1645 {buildId=2630796} has been running for more than 480 minutes. Terminating...
1d47511
to
27fc5ba
Compare
8bd23c4
to
769078b
Compare
564fca6
to
fba1900
Compare
fba1900
to
4212689
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Good to go!
Update lincheck to 2.5 and re-write tests with
suspend
operations using it