Skip to content

Migrate transport

Migrate transport #355

GitHub Actions / Test Results failed Oct 21, 2024 in 0s

2 fail, 721 skipped, 3 078 pass in 57m 58s

  866 files  +  192    866 suites  +192   57m 58s ⏱️ + 13m 42s
3 801 tests +  868  3 078 ✅ +  667    721 💤 +200  2 ❌ +1 
8 040 runs  +1 736  6 488 ✅ +1 335  1 550 💤 +400  2 ❌ +1 

Results for commit 69cedfc. ± Comparison against earlier commit fc6b2a3.

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/jvm21Test/TEST-io.rsocket.kotlin.internal.RSocketRequesterTest.xml [took 0s]
Raw output
app.cash.turbine.TurbineAssertionError: Expected item but found Error(CancellationException)
	at app//app.cash.turbine.TurbineAssertionError$Companion.invoke(TurbineAssertionError.kt:32)
	at app//app.cash.turbine.ChannelKt.unexpectedEvent(channel.kt:253)
	at app//app.cash.turbine.ChannelKt.awaitItem(channel.kt:192)
	at app//app.cash.turbine.ChannelKt$awaitItem$1.invokeSuspend(channel.kt)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at app//kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
	at app//kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at app//kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
Caused by: java.util.concurrent.CancellationException: Requester cancelled
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at kotlinx.coroutines.channels.BufferedChannel$BufferedChannelIterator.onClosedHasNext(BufferedChannel.kt:1643)
	at kotlinx.coroutines.channels.BufferedChannel$BufferedChannelIterator.hasNext(BufferedChannel.kt:1633)
	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:601)
	at kotlinx.coroutines.JobKt.cancel(Unknown Source)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler.handleConnection$lambda$1(ConnectionEstablishmentHandler.kt:70)
	at kotlinx.coroutines.InternalCompletionHandler$UserSupplied.invoke(CompletionHandler.common.kt:67)
	at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1392)
	at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1502)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:917)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:874)
	at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:707)
	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:678)
	at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:643)
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:628)
	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:601)
	at kotlinx.coroutines.JobKt.cancel(Unknown Source)
	at io.rsocket.kotlin.connection.ConnectionEstablishmentHandler.handleConnection$lambda$1(ConnectionEstablishmentHandler.kt:70)
	at kotlinx.coroutines.InternalCompletionHandler$UserSupplied.invoke(CompletionHandler.common.kt:67)
	at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1392)
	at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1502)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:917)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:874)
	at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:707)
	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:678)
	at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:643)
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:628)
	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:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelled}@26c27063
	at app//kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1556)
	... 12 more

Check warning on line 0 in io.rsocket.kotlin.transport.ktor.websocket.server.JettyServerWebSocketTransportTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 4 runs failed: requestChannel500NoLeak[jvm] (io.rsocket.kotlin.transport.ktor.websocket.server.JettyServerWebSocketTransportTest)

test-reports/rsocket-transports/ktor-websocket-server/build/test-results/jvm21Test/TEST-io.rsocket.kotlin.transport.ktor.websocket.server.JettyServerWebSocketTransportTest.xml [took 10s]
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.rsocket.kotlin.test.SuspendTest.runWithTimeout-KLykuaI(SuspendTest.kt:102)
	at io.rsocket.kotlin.test.SuspendTest.runPhase-dWUq8MI(SuspendTest.kt:76)
	at io.rsocket.kotlin.test.SuspendTest$test$1$1.invokeSuspend(SuspendTest.kt:53)
	at io.rsocket.kotlin.test.SuspendTest$test$1.invokeSuspend(SuspendTest.kt:45)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
	at app//kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:188)
	at app//kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at app//kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:498)
	at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
	at app//kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at java.base@21.0.4/java.lang.Thread.run(Thread.java:1583)