Netty TCP and WebSocket transports #230
GitHub Actions / Test Results
failed
Nov 17, 2023 in 0s
1 fail, 515 skipped, 2 301 pass in 52m 29s
Annotations
Check warning on line 0 in io.rsocket.kotlin.transport.ktor.tcp.TcpServerTest
github-actions / Test Results
1 out of 2 runs failed: testFailedHandler[iosX64] (io.rsocket.kotlin.transport.ktor.tcp.TcpServerTest)
test-reports/rsocket-transport-ktor-tcp/build/test-results/iosX64Test/TEST-io.rsocket.kotlin.transport.ktor.tcp.TcpServerTest.xml [took 0s]
Raw output
kotlinx.coroutines.JobCancellationException: Parent job is Cancelling; job=JobImpl{Cancelled}@25db61e0
at kotlin.Exception#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:25)
at kotlin.RuntimeException#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:36)
at kotlin.IllegalStateException#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:72)
at kotlin.coroutines.cancellation.CancellationException#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/cancellation/CancellationException.kt:12)
at kotlinx.coroutines.JobCancellationException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Exceptions.kt:27)
at kotlinx.coroutines.JobSupport#getChildJobCancellationCause(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:718)
at kotlinx.coroutines.ParentJob#getChildJobCancellationCause(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Job.kt:452)
at kotlinx.coroutines.JobSupport.createCauseException#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:724)
at kotlinx.coroutines.JobSupport.cancelMakeCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:699)
at kotlinx.coroutines.JobSupport#cancelImpl(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:671)
at kotlinx.coroutines.JobSupport#parentCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:641)
at kotlinx.coroutines.ChildJob#parentCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Job.kt:431)
at kotlinx.coroutines.ChildHandleNode#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:1439)
at kotlinx.coroutines.JobNode#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt)
at kotlinx.coroutines.JobSupport.notifyCancelling#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:332)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:904)
at kotlinx.coroutines.JobSupport.tryMakeCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:867)
at kotlinx.coroutines.JobSupport.cancelMakeCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:700)
at kotlinx.coroutines.JobSupport#cancelImpl(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:671)
at kotlinx.coroutines.JobSupport#childCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:655)
at kotlinx.coroutines.JobSupport#childCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:653)
at kotlinx.coroutines.ChildHandleNode#childCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:1440)
at kotlinx.coroutines.ChildHandle#childCancelled(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Job.kt:480)
at kotlinx.coroutines.JobSupport.cancelParent#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:360)
at kotlinx.coroutines.JobSupport.notifyCancelling#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:334)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:904)
at kotlinx.coroutines.JobSupport.tryMakeCompleting#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:867)
at kotlinx.coroutines.JobSupport#makeCompletingOnce(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/JobSupport.kt:832)
at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:100)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/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:108)
at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
at kotlinx.coroutines.internal.LimitedDispatcher.Worker.run#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/LimitedDispatcher.kt:115)
at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
at kotlinx.coroutines.MultiWorkerDispatcher.$workerRunLoop$lambda$2COROUTINE$0.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:114)
at kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:50)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/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:108)
at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
at kotlinx.coroutines.EventLoop#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:52)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
at kotlinx.coroutines.MultiWorkerDispatcher.workerRunLoop#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:100)
at kotlinx.coroutines.MultiWorkerDispatcher.<init>$lambda$1$lambda$0#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:87)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:87)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$5.$<bridge-UNN>invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:87)
at kotlin.Function0#invoke(/Users/runner/.gradle/daemon/8.3/[K][Suspend]Functions:1)
at <global>.WorkerLaunchpad(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/Internal.kt:107)
at <global>._ZN6Worker19processQueueElementEb(Unknown Source)
at <global>._ZN12_GLOBAL__N_113workerRoutineEPv(Unknown Source)
at <global>._pthread_start(Unknown Source)
at <global>.thread_start(Unknown Source)
at kotlin.Throwable#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
at kotlin.Exception#<init>(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
at io.ktor.utils.io.errors.PosixException#<init>(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/errors/PosixErrors.kt:33)
at io.ktor.utils.io.errors.PosixException.BadFileDescriptorException#<init>(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/errors/PosixErrors.kt:34)
at io.ktor.utils.io.errors.PosixException.Companion#forErrno(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/errors/PosixErrors.kt:92)
at io.ktor.utils.io.errors.PosixException.Companion#forErrno$default(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/errors/PosixErrors.kt:76)
at io.ktor.network.sockets.$attachForReadingImpl$lambda$0COROUTINE$0.invokeSuspend#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/nix/src/io/ktor/network/sockets/CIOReader.kt:20)
at io.ktor.network.sockets.attachForReadingImpl$lambda$0#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/nix/src/io/ktor/network/sockets/CIOReader.kt:20)
at io.ktor.network.sockets.$attachForReadingImpl$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/nix/src/io/ktor/network/sockets/CIOReader.kt:20)
at kotlin.coroutines.SuspendFunction1#invoke#suspend(/Users/runner/.gradle/daemon/8.3/[K][Suspend]Functions:1)
at io.ktor.utils.io.$launchChannel$lambda$0COROUTINE$0.invokeSuspend#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt:147)
at io.ktor.utils.io.launchChannel$lambda$0#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt:138)
at io.ktor.utils.io.$launchChannel$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt:138)
at kotlin.Function2#invoke(/Users/runner/.gradle/daemon/8.3/[K][Suspend]Functions:1)
at kotlin.coroutines.intrinsics.object-3.invokeSuspend#internal(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
at kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:50)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlinx.coroutines.internal#resumeCancellableWith__at__kotlin.coroutines.Continuation<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedContinuation.kt:282)
at kotlinx.coroutines.intrinsics#startCoroutineCancellable__at__kotlin.coroutines.SuspendFunction1<0:0,0:1>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Cancellable.kt:30)
at kotlinx.coroutines.intrinsics#startCoroutineCancellable$default__at__kotlin.coroutines.SuspendFunction1<0:0,0:1>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Cancellable.kt:25)
at kotlinx.coroutines.CoroutineStart#invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineStart.kt:110)
at kotlinx.coroutines.AbstractCoroutine#start(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:126)
at kotlinx.coroutines#launch__at__kotlinx.coroutines.CoroutineScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:56)
at kotlinx.coroutines#launch$default__at__kotlinx.coroutines.CoroutineScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:47)
at io.ktor.utils.io.launchChannel#internal(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt:138)
at io.ktor.utils.io#writer__at__kotlinx.coroutines.CoroutineScope(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/Coroutines.kt:87)
at io.ktor.network.sockets#attachForReadingImpl__at__kotlinx.coroutines.CoroutineScope(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/nix/src/io/ktor/network/sockets/CIOReader.kt:20)
at io.ktor.network.sockets.TCPSocketNative#attachForReading(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/nix/src/io/ktor/network/sockets/TCPSocketNative.kt:30)
at io.ktor.network.sockets.AReadable#attachForReading(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/jvmAndNix/src/io/ktor/network/sockets/Sockets.kt:85)
at io.ktor.network.sockets#openReadChannel__at__io.ktor.network.sockets.AReadable(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/jvmAndNix/src/io/ktor/network/sockets/Sockets.kt:110)
at io.ktor.network.sockets#connection__at__io.ktor.network.sockets.Socket(/opt/buildAgent/work/8d547b974a7be21f/ktor-network/jvmAndNix/src/io/ktor/network/sockets/Sockets.kt:145)
at io.rsocket.kotlin.transport.ktor.tcp.TcpConnection#<init>(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-transport-ktor-tcp/src/commonMain/kotlin/io/rsocket/kotlin/transport/ktor/tcp/TcpConnection.kt:34)
at io.rsocket.kotlin.transport.ktor.tcp.$TcpClientTransport$lambda$3COROUTINE$0.invokeSuspend#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-transport-ktor-tcp/src/commonMain/kotlin/io/rsocket/kotlin/transport/ktor/tcp/TcpClientTransport.kt:54)
at io.rsocket.kotlin.transport.ktor.tcp.TcpClientTransport$lambda$3#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-transport-ktor-tcp/src/commonMain/kotlin/io/rsocket/kotlin/transport/ktor/tcp/TcpClientTransport.kt:52)
at io.rsocket.kotlin.transport.ktor.tcp.$TcpClientTransport$lambda$3$FUNCTION_REFERENCE$1.connect#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-transport-ktor-tcp/src/commonMain/kotlin/io/rsocket/kotlin/transport/ktor/tcp/TcpClientTransport.kt:52)
at io.rsocket.kotlin.transport.ClientTransport#connect#suspend(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/transport/ClientTransport.kt:27)
at io.rsocket.kotlin.transport.object-1.connect#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/transport/ClientTransport.kt:36)
at io.rsocket.kotlin.transport.ClientTransport#connect#suspend(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/transport/ClientTransport.kt:27)
at io.rsocket.kotlin.core.RSocketConnector.object-1.$createSessionCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:47)
at io.rsocket.kotlin.core.RSocketConnector.object-1.createSession#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:46)
at io.rsocket.kotlin.transport.RSocketClientTransport#createSession#suspend(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/transport/RSocketClientTransport.kt:22)
at io.rsocket.kotlin.core.RSocketConnector.$connectOnceCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:65)
at io.rsocket.kotlin.core.RSocketConnector.connectOnce#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:64)
at io.rsocket.kotlin.core.RSocketConnector.connect$lambda$0#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:54)
at io.rsocket.kotlin.core.RSocketConnector.$connect$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/rsocket-kotlin/rsocket-kotlin/rsocket-core/src/commonMain/kotlin/io/rsocket/kotlin/core/RSocketConnector.kt:54)
at kotlin.Function2#invoke(/Users/runner/.gradle/daemon/8.3/[K][Suspend]Functions:1)
at kotlin.coroutines.intrinsics.object-3.invokeSuspend#internal(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
at kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:50)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/2fed3917837e7e79/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
Loading