Skip to content

fix Netty WS

fix Netty WS #284

GitHub Actions / Test Results failed Apr 12, 2024 in 0s

1 fail, 727 skipped, 3 088 pass in 54m 53s

  852 files  ±0    852 suites  ±0   54m 53s ⏱️ - 2m 5s
3 816 tests ±0  3 088 ✅ +11    727 💤 ±0  1 ❌  - 11 
8 118 runs  ±0  6 543 ✅ +14  1 574 💤 ±0  1 ❌  - 14 

Results for commit 3a68fb4. ± Comparison against earlier commit d80c65c.

Annotations

Check warning on line 0 in io.rsocket.kotlin.internal.RSocketRequesterTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 4 runs failed: cancelRequesterToCloseConnection[jvm] (io.rsocket.kotlin.internal.RSocketRequesterTest)

test-reports/rsocket-core/build/test-results/jvmTest/TEST-io.rsocket.kotlin.internal.RSocketRequesterTest.xml [took 0s]
Raw output
app.cash.turbine.TurbineAssertionError: Expected item but found Error(CancellationException)
	at app.cash.turbine.ChannelKt.unexpectedEvent(channel.kt:253)
	at app.cash.turbine.ChannelKt.awaitItem(channel.kt:192)
	at app.cash.turbine.ChannelKt$awaitItem$1.invokeSuspend(channel.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
Caused by: java.util.concurrent.CancellationException: Requester cancelled
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at kotlinx.coroutines.channels.BufferedChannel$BufferedChannelIterator.onClosedHasNext(BufferedChannel.kt:1620)
	at kotlinx.coroutines.channels.BufferedChannel$BufferedChannelIterator.hasNext(BufferedChannel.kt:1610)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:32)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt(Channels.kt:1)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt)
Caused by: java.util.concurrent.CancellationException: Requester cancelled
	at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:17)
	at kotlinx.coroutines.JobKt__JobKt.cancel(Job.kt:607)
	at kotlinx.coroutines.JobKt.cancel(Unknown Source)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler$handleConnection$2.invoke(ConnectionEstablishmentHandler.kt:70)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler$handleConnection$2.invoke(ConnectionEstablishmentHandler.kt:69)
	at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1382)
	at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1492)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:907)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:864)
	at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:697)
	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:668)
	at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:633)
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:618)
	at kotlinx.coroutines.CoroutineScopeKt.cancel(CoroutineScope.kt:284)
	at kotlinx.coroutines.CoroutineScopeKt.cancel$default(CoroutineScope.kt:282)
	at io.rsocket.kotlin.internal.RSocketRequesterTest$cancelRequesterToCloseConnection$1$1.invokeSuspend(RSocketRequesterTest.kt:415)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.rsocket.kotlin.TestConnection$connectClient$1.invokeSuspend(TestConnection.kt:48)
Caused by: java.util.concurrent.CancellationException: Requester cancelled
	at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:17)
	at kotlinx.coroutines.JobKt__JobKt.cancel(Job.kt:607)
	at kotlinx.coroutines.JobKt.cancel(Unknown Source)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler$handleConnection$2.invoke(ConnectionEstablishmentHandler.kt:70)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler$handleConnection$2.invoke(ConnectionEstablishmentHandler.kt:69)
	at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1382)
	at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1492)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:907)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:864)
	at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:697)
	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:668)
	at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:633)
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:618)
	at kotlinx.coroutines.CoroutineScopeKt.cancel(CoroutineScope.kt:284)
	at kotlinx.coroutines.CoroutineScopeKt.cancel$default(CoroutineScope.kt:282)
	at io.rsocket.kotlin.internal.RSocketRequesterTest$cancelRequesterToCloseConnection$1$1.invokeSuspend(RSocketRequesterTest.kt:415)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelled}@5aad48cf
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1551)
	... 12 more