Skip to content

revert publishing changes (#271) #45

revert publishing changes (#271)

revert publishing changes (#271) #45

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

2 fail, 229 skipped, 1 957 pass in 24m 4s

  717 files    717 suites   24m 4s ⏱️
2 188 tests 1 957 ✅ 229 💤 2 ❌
4 580 runs  4 048 ✅ 530 💤 2 ❌

Results for commit bce4ca8.

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

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

test-reports/rsocket-ktor/rsocket-ktor-server/build/test-results/jvm11Test/TEST-io.rsocket.kotlin.transport.ktor.websocket.server.WebSocketConnectionTest.xml [took 0s]
Raw output
kotlinx.coroutines.JobCancellationException: LazyStandaloneCoroutine is cancelling; job="coroutine#4":LazyStandaloneCoroutine{Cancelled}@5cb36f17
	at app//kotlinx.coroutines.JobSupport.toCancellationException(JobSupport.kt:1523)
	at app//kotlinx.coroutines.JobSupport.getCancellationException(JobSupport.kt:415)
	at app//kotlinx.coroutines.JobSupport$AwaitContinuation.getContinuationCancellationCause(JobSupport.kt:1182)
	at app//kotlinx.coroutines.ChildContinuation.invoke(JobSupport.kt:1457)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1483)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:806)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:766)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:682)
	at app//kotlinx.coroutines.JobSupport.childCancelled(JobSupport.kt:662)
	at app//kotlinx.coroutines.ChildHandleNode.childCancelled(JobSupport.kt:1447)
	at app//kotlinx.coroutines.JobSupport.cancelParent(JobSupport.kt:357)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:331)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:806)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:766)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:682)
	at app//kotlinx.coroutines.JobSupport.childCancelled(JobSupport.kt:662)
	at app//kotlinx.coroutines.ChildHandleNode.childCancelled(JobSupport.kt:1447)
	at app//kotlinx.coroutines.JobSupport.cancelParent(JobSupport.kt:357)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:331)
	at app//kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:911)
	at app//kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:874)
	at app//kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:839)
	at app//kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:97)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.ktor.server.cio.CIOApplicationEngine$initServerJob$1.invokeSuspend(CIOApplicationEngine.kt:216)
	at io.ktor.server.cio.CIOApplicationEngine$start$2.invokeSuspend(CIOApplicationEngine.kt:73)
	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)
	Suppressed: java.net.BindException: Address already in use
		at java.base/sun.nio.ch.Net.bind0(Native Method)
		at java.base/sun.nio.ch.Net.bind(Net.java:459)
		at java.base/sun.nio.ch.Net.bind(Net.java:448)
		at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
		at io.ktor.network.sockets.ConnectUtilsJvmKt.bind(ConnectUtilsJvm.kt:35)
		at io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:45)
		at io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:29)
		at io.ktor.server.cio.backend.HttpServerKt$httpServer$acceptJob$1.invokeSuspend(HttpServer.kt:48)
		at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
		at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
		at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
		at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
		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: LazyStandaloneCoroutine is cancelling; job="coroutine#4":LazyStandaloneCoroutine{Cancelled}@5cb36f17
	at app//kotlinx.coroutines.JobSupport.toCancellationException(JobSupport.kt:1523)
	at app//kotlinx.coroutines.JobSupport.getCancellationException(JobSupport.kt:415)
	at app//kotlinx.coroutines.JobSupport$AwaitContinuation.getContinuationCancellationCause(JobSupport.kt:1182)
	at app//kotlinx.coroutines.ChildContinuation.invoke(JobSupport.kt:1457)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1483)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:806)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:766)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:682)
	at app//kotlinx.coroutines.JobSupport.childCancelled(JobSupport.kt:662)
	at app//kotlinx.coroutines.ChildHandleNode.childCancelled(JobSupport.kt:1447)
	at app//kotlinx.coroutines.JobSupport.cancelParent(JobSupport.kt:357)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:331)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:806)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:766)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:682)
	at app//kotlinx.coroutines.JobSupport.childCancelled(JobSupport.kt:662)
	at app//kotlinx.coroutines.ChildHandleNode.childCancelled(JobSupport.kt:1447)
	at app//kotlinx.coroutines.JobSupport.cancelParent(JobSupport.kt:357)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:331)
	at app//kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:911)
	at app//kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:874)
	at app//kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:839)
	at app//kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:97)
	at app//kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at app//kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at app//kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at app//kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	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.net.BindException: Address already in use
	at java.base/sun.nio.ch.Net.bind0(Native Method)
	at java.base/sun.nio.ch.Net.bind(Net.java:459)
	at java.base/sun.nio.ch.Net.bind(Net.java:448)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
	at io.ktor.network.sockets.ConnectUtilsJvmKt.bind(ConnectUtilsJvm.kt:35)
	at io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:45)
	at io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:29)
	at io.ktor.server.cio.backend.HttpServerKt$httpServer$acceptJob$1.invokeSuspend(HttpServer.kt:48)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	... 7 more

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

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

test-reports/rsocket-core/build/test-results/jvm17Test/TEST-io.rsocket.kotlin.core.RSocketTest.xml [took 0s]
Raw output
java.lang.IllegalStateException: Unable to release: it is already released.
	at io.ktor.utils.io.core.internal.ChunkBuffer.release$ktor_io(ChunkBuffer.kt:117)
	at io.ktor.utils.io.core.internal.ChunkBuffer.release(ChunkBuffer.kt:64)
	at io.ktor.utils.io.core.BuffersKt.releaseAll(Buffers.kt:27)
	at io.ktor.utils.io.core.Input.release(Input.kt:203)
	at io.ktor.utils.io.core.Input.close(Input.kt:212)
	at io.rsocket.kotlin.payload.Payload.close(Payload.kt:30)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit$suspendImpl(RequestFlow.kt:90)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit(RequestFlow.kt)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit(RequestFlow.kt:73)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:33)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAll(Channels.kt:26)
	at kotlinx.coroutines.flow.FlowKt.emitAll(Unknown Source)
	at io.rsocket.kotlin.internal.RSocketRequester$requestStream$$inlined$requestFlow$1.collect(RequestFlow.kt:56)
	at io.rsocket.kotlin.internal.RequestFlow.collect$suspendImpl(RequestFlow.kt:63)
	at io.rsocket.kotlin.internal.RequestFlow.collect(RequestFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperatorImpl.flowCollect(ChannelFlow.kt:191)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invokeSuspend(ChannelFlow.kt:148)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invoke(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invoke(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowKt.withContextUndispatched(ChannelFlow.kt:223)
	at kotlinx.coroutines.flow.internal.ChannelFlowKt.withContextUndispatched$default(ChannelFlow.kt:215)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectWithContextUndispatched(ChannelFlow.kt:148)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collect$suspendImpl(ChannelFlow.kt:166)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collect(ChannelFlow.kt)
	at kotlinx.coroutines.flow.FlowKt__LimitKt$take$$inlined$unsafeFlow$1.collect(SafeCollector.common.kt:115)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperatorImpl.flowCollect(ChannelFlow.kt:191)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo$suspendImpl(ChannelFlow.kt:153)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:56)
	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:49)
	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.IllegalStateException: Unable to release: it is already released.
	at io.ktor.utils.io.core.internal.ChunkBuffer.release$ktor_io(ChunkBuffer.kt:117)
	at io.ktor.utils.io.core.internal.ChunkBuffer.release(ChunkBuffer.kt:64)
	at io.ktor.utils.io.core.BuffersKt.releaseAll(Buffers.kt:27)
	at io.ktor.utils.io.core.Input.release(Input.kt:203)
	at io.ktor.utils.io.core.Input.close(Input.kt:212)
	at io.rsocket.kotlin.payload.Payload.close(Payload.kt:30)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit$suspendImpl(RequestFlow.kt:90)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit(RequestFlow.kt)
	at io.rsocket.kotlin.internal.RequestFlowCollector.emit(RequestFlow.kt:73)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:33)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAll(Channels.kt:26)
	at kotlinx.coroutines.flow.FlowKt.emitAll(Unknown Source)
	at io.rsocket.kotlin.internal.RSocketRequester$requestStream$$inlined$requestFlow$1.collect(RequestFlow.kt:56)
	at io.rsocket.kotlin.internal.RequestFlow.collect$suspendImpl(RequestFlow.kt:63)
	at io.rsocket.kotlin.internal.RequestFlow.collect(RequestFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperatorImpl.flowCollect(ChannelFlow.kt:191)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invokeSuspend(ChannelFlow.kt:148)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invoke(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator$collectWithContextUndispatched$2.invoke(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowKt.withContextUndispatched(ChannelFlow.kt:223)
	at kotlinx.coroutines.flow.internal.ChannelFlowKt.withContextUndispatched$default(ChannelFlow.kt:215)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectWithContextUndispatched(ChannelFlow.kt:148)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collect$suspendImpl(ChannelFlow.kt:166)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collect(ChannelFlow.kt)
	at kotlinx.coroutines.flow.FlowKt__LimitKt$take$$inlined$unsafeFlow$1.collect(SafeCollector.common.kt:115)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperatorImpl.flowCollect(ChannelFlow.kt:191)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo$suspendImpl(ChannelFlow.kt:153)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:56)
	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)