Skip to content

Deprecate old transport API for removal in next release #308

Deprecate old transport API for removal in next release

Deprecate old transport API for removal in next release #308

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

2 fail, 751 skipped, 3 159 pass in 1h 4m 11s

  868 files  ±0    868 suites  ±0   1h 4m 11s ⏱️ - 1m 16s
3 912 tests ±0  3 159 ✅  - 1    751 💤 ±0  2 ❌ +1 
8 502 runs  ±0  6 830 ✅  - 1  1 670 💤 ±0  2 ❌ +1 

Results for commit 6fcc361. ± Comparison against earlier commit f116f8f.

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}@42868e14
	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1551)
	... 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: largePayloadRequestChannel200[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.2/java.lang.Thread.run(Thread.java:1583)