Skip to content

migrate ktor (tcp and websocket) and nodejs tcp transport to new API #26

migrate ktor (tcp and websocket) and nodejs tcp transport to new API

migrate ktor (tcp and websocket) and nodejs tcp transport to new API #26

GitHub Actions / Test Results failed May 25, 2024 in 0s

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

  866 files  ±0    866 suites  ±0   57m 11s ⏱️ -57s
3 801 tests ±0  3 078 ✅  - 2    721 💤 ±0  2 ❌ +2 
8 040 runs  ±0  6 488 ✅  - 2  1 550 💤 ±0  2 ❌ +2 

Results for commit fc6b2a3. ± Comparison against earlier commit 8745aac.

Annotations

Check warning on line 0 in io.rsocket.kotlin.core.SequentialLocalRSocketTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 4 runs failed: testErrorPropagatesCorrectly[jvm] (io.rsocket.kotlin.core.SequentialLocalRSocketTest)

test-reports/rsocket-core/build/test-results/jvmTest/TEST-io.rsocket.kotlin.core.SequentialLocalRSocketTest.xml [took 0s]
Raw output
java.lang.AssertionError: Expected an exception of class java.lang.IllegalStateException to be thrown, but was completed successfully.
	at org.junit.Assert.fail(Assert.java:89)
	at kotlin.test.junit.JUnitAsserter.fail(JUnitSupport.kt:56)
	at kotlin.test.AssertionsKt__AssertionsImplKt.checkResultIsFailure(AssertionsImpl.kt:22)
	at kotlin.test.AssertionsKt.checkResultIsFailure(Unknown Source)
	at io.rsocket.kotlin.core.RSocketTest$testErrorPropagatesCorrectly$1.invokeSuspend(RSocketTest.kt:334)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	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: java.lang.AssertionError: Expected an exception of class java.lang.IllegalStateException to be thrown, but was completed successfully.
	at org.junit.Assert.fail(Assert.java:89)
	at kotlin.test.junit.JUnitAsserter.fail(JUnitSupport.kt:56)
	at kotlin.test.AssertionsKt__AssertionsImplKt.checkResultIsFailure(AssertionsImpl.kt:22)
	at kotlin.test.AssertionsKt.checkResultIsFailure(Unknown Source)
	at io.rsocket.kotlin.core.RSocketTest$testErrorPropagatesCorrectly$1.invokeSuspend(RSocketTest.kt:334)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	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)

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: requestStream5[watchosSimulatorArm64] (io.rsocket.kotlin.transport.ktor.websocket.server.CIOKtorWebSocketTransportTest)

test-reports/rsocket-transports/ktor-websocket-server/build/test-results/watchosSimulatorArm64Test/TEST-io.rsocket.kotlin.transport.ktor.websocket.server.CIOKtorWebSocketTransportTest.xml [took 0s]
Raw output
kotlinx.coroutines.CompletionHandlerException: Exception in completion handler ChildCompletion@10311560[job@1ea10e08] for StandaloneCoroutine{Cancelled}@1ea10e08
	at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:25)
	at kotlin.RuntimeException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:36)
	at kotlinx.coroutines.CompletionHandlerException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Exceptions.common.kt:9)
	at kotlinx.coroutines.JobSupport.notifyCompletion#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:361)
	at kotlinx.coroutines.JobSupport.completeStateFinalization#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:917)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:874)
	at kotlinx.coroutines.JobSupport#makeCompletingOnce(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:839)
	at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:97)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlinx.coroutines.internal.ScopeCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/Scopes.kt:28)
	at kotlinx.coroutines.AbstractCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt)
	at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:99)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlinx.coroutines.UndispatchedCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/CoroutineContext.kt:52)
	at kotlinx.coroutines.AbstractCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt)
	at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:99)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
	at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:104)
	at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:10)
	at kotlinx.coroutines.DarwinGlobalQueueDispatcher.dispatch$lambda$0#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt:22)
	at kotlinx.coroutines.DarwinGlobalQueueDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt:21)
	at kotlinx.coroutines.DarwinGlobalQueueDispatcher.$dispatch$lambda$0$FUNCTION_REFERENCE$0.$<bridge-UNN>invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt:21)
	at kotlin.Function0#invoke(/Users/runner/.gradle/daemon/8.7/[K][Suspend]Functions:1)
	at <global>._6f72672e6a6574627261696e732e6b6f746c696e783a6b6f746c696e782d636f726f7574696e65732d636f72652f6f70742f6275696c644167656e742f776f726b2f343465633665383530643563363366302f6b6f746c696e782d636f726f7574696e65732d636f72652f6e617469766544617277696e2f7372632f44697370617463686572732e6b74_knbridge4(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt:21)
	at <global>._dispatch_call_block_and_release(Unknown Source)
	at <global>._dispatch_client_callout(Unknown Source)
	at <global>._dispatch_root_queue_drain(Unknown Source)
	at <global>._dispatch_worker_thread2(Unknown Source)
	at <global>._pthread_wqthread(Unknown Source)
	at <global>.start_wqthread(Unknown Source)
	at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:25)
	at kotlin.RuntimeException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:36)
	at kotlinx.coroutines.CompletionHandlerException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Exceptions.common.kt:9)
	at kotlinx.coroutines.JobSupport.notifyCompletion#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:361)
	at kotlinx.coroutines.JobSupport.completeStateFinalization#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.continueCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:946)
	at kotlinx.coroutines.JobSupport.ChildCompletion.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:1166)
	at kotlinx.coroutines.JobNode#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt)
	at kotlinx.coroutines.JobSupport.notifyCompletion#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:361)
	at kotlinx.coroutines.JobSupport.completeStateFinalization#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:322)
	at kotlin.Throwable#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
	at kotlin.RuntimeException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:34)
	at kotlin.IllegalStateException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:70)
	at io.ktor.utils.io.core.internal.ChunkBuffer#release(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/internal/ChunkBuffer.kt:117)
	at io.ktor.utils.io.core.internal.ChunkBuffer#release(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/internal/ChunkBuffer.kt:64)
	at io.ktor.utils.io.core.internal.ChunkBuffer#release(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/internal/ChunkBuffer.kt)
	at io.ktor.utils.io.core#releaseAll__at__io.ktor.utils.io.core.internal.ChunkBuffer?(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/Buffers.kt:27)
	at io.ktor.utils.io.core.Output.flushChain#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/Output.kt:69)
	at io.ktor.utils.io.core.Output#flush(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/Output.kt:58)
	at io.ktor.utils.io.core.Output#close(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/Output.kt:154)
	at io.ktor.utils.io.core.Output#release(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/core/Output.kt:350)
	at io.ktor.utils.io.ByteChannelSequentialBase#close(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/ByteChannelSequential.kt:752)
	at io.ktor.utils.io.ByteChannelNative#close(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/ByteChannelNative.kt:247)
	at io.ktor.utils.io.ByteChannelSequentialBase#close(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/ByteChannelSequential.kt:746)
	at io.ktor.utils.io.ByteChannelSequentialBase#cancel(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/ByteChannelSequential.kt:743)
	at io.ktor.utils.io.ByteReadChannel#cancel(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/ByteReadChannelNative.kt:213)
	at io.ktor.utils.io#cancel__at__io.ktor.utils.io.ByteReadChannel(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/ByteReadChannel.kt:221)
	at io.ktor.server.cio.CIOApplicationResponse.respondUpgrade$lambda$0#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-server/ktor-server-cio/jvmAndNix/src/io/ktor/server/cio/CIOApplicationResponse.kt:58)
	at io.ktor.server.cio.CIOApplicationResponse.$respondUpgrade$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-server/ktor-server-cio/jvmAndNix/src/io/ktor/server/cio/CIOApplicationResponse.kt:58)
	at io.ktor.server.cio.CIOApplicationResponse.$respondUpgrade$lambda$0$FUNCTION_REFERENCE$0.$<bridge-UNNN>invoke(/opt/buildAgent/work/8d547b974a7be21f/ktor-server/ktor-server-cio/jvmAndNix/src/io/ktor/server/cio/CIOApplicationResponse.kt:58)
	at kotlin.Function1#invoke(/Users/runner/.gradle/daemon/8.7/[K][Suspend]Functions:1)
	at kotlinx.coroutines.InternalCompletionHandler.UserSupplied#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CompletionHandler.common.kt:67)
	at kotlinx.coroutines.InternalCompletionHandler#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CompletionHandler.common.kt:58)
	at kotlinx.coroutines.InvokeOnCompletion.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:1392)
	at kotlinx.coroutines.JobNode#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt)
	at kotlinx.coroutines.JobSupport.notifyCompletion#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:361)
	at kotlinx.coroutines.JobSupport.completeStateFinalization#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:322)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:239)
	at kotlinx.coroutines.JobSupport.continueCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:946)
	at kotlinx.coroutines.JobSupport.ChildCompletion.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:1166)
	at kotlinx.coroutines.JobNode#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt)
	at kotlinx.coroutines.JobSupport.notifyCompletion#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:361)
	at kotlinx.coroutines.JobSupport.completeStateFinalization#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:322)