Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump ktor from 2.3.12 to 3.0.2 #1223

Closed
wants to merge 2 commits into from

build(model-server): migrate to ktor 3

343d8db
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

build(deps): bump ktor from 2.3.12 to 3.0.2 #1223

build(model-server): migrate to ktor 3
343d8db
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Dec 6, 2024 in 0s

4 fail, 7 skipped, 1 030 pass in 34m 30s

  184 files  +  184    184 suites  +184   34m 30s ⏱️ + 34m 30s
1 041 tests +1 041  1 030 ✅ +1 030  7 💤 +7  4 ❌ +4 
1 051 runs  +1 051  1 040 ✅ +1 040  7 💤 +7  4 ❌ +4 

Results for commit 343d8db. ± Comparison against earlier commit c45c4db.

Annotations

Check warning on line 0 in org.modelix.model.server.handlers.ModelReplicationServerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

server closes connection when failing to compute delta after starting to respond() (org.modelix.model.server.handlers.ModelReplicationServerTest) failed

model-server/build/test-results/test/TEST-org.modelix.model.server.handlers.ModelReplicationServerTest.xml [took 2s]
Raw output
java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
	at io.ktor.network.sockets.SocketImpl.connect$ktor_network(SocketImpl.kt:50)
	at io.ktor.network.sockets.SocketImpl$connect$1.invokeSuspend(SocketImpl.kt)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.ktor.client.engine.HttpClientEngine$DefaultImpls.executeWithinCallContext(HttpClientEngine.kt:100)
	at io.ktor.client.engine.HttpClientEngine$install$1.invokeSuspend(HttpClientEngine.kt:70)
	at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
	at io.ktor.client.plugins.HttpSend$DefaultSender.execute(HttpSend.kt:118)
	at io.ktor.client.plugins.HttpTimeoutKt$HttpTimeout$2$1.invokeSuspend(HttpTimeout.kt:175)
	at io.ktor.client.plugins.api.Send$install$1.invokeSuspend(CommonHooks.kt:46)
	at io.ktor.client.plugins.HttpRedirectKt$HttpRedirect$2$1.invokeSuspend(HttpRedirect.kt:97)
	at io.ktor.client.plugins.api.Send$install$1.invokeSuspend(CommonHooks.kt:46)
	at io.ktor.client.plugins.HttpCallValidatorKt$HttpCallValidator$2$2.invokeSuspend(HttpCallValidator.kt:112)
	at io.ktor.client.plugins.api.Send$install$1.invokeSuspend(CommonHooks.kt:46)
	at io.ktor.client.plugins.HttpSend$Plugin$install$1.invokeSuspend(HttpSend.kt:84)
	at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
	at io.ktor.client.plugins.RequestError$install$1.invokeSuspend(HttpCallValidator.kt:134)
	at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
	at io.ktor.client.plugins.HttpRequestLifecycleKt$HttpRequestLifecycle$1$1.invokeSuspend(HttpRequestLifecycle.kt:27)
	at io.ktor.client.plugins.SetupRequestContext$install$1.invokeSuspend(HttpRequestLifecycle.kt:40)
	at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
	at io.ktor.client.HttpClient.execute$ktor_client_core(HttpClient.kt:1393)
	at io.ktor.client.statement.HttpStatement.fetchResponse(HttpStatement.kt:147)
	at org.modelix.model.server.handlers.ModelReplicationServerTest$server closes connection when failing to compute delta after starting to respond$1$testBlock$1$1.invokeSuspend(ModelReplicationServerTest.kt:536)
	at org.modelix.model.server.handlers.ModelReplicationServerTest$server closes connection when failing to compute delta after starting to respond$1$testBlock$1.invokeSuspend(ModelReplicationServerTest.kt:305)
	at org.modelix.model.server.ModelServerTestUtilKt$runWithNettyServer$1.invokeSuspend(ModelServerTestUtil.kt:86)
Caused by: java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777)
	at io.ktor.network.sockets.SocketImpl.connect$ktor_network(SocketImpl.kt:50)
	at io.ktor.network.sockets.SocketImpl$connect$1.invokeSuspend(SocketImpl.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)

Check warning on line 0 in org.modelix.model.server.PullPerformanceTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

bulk requests are used() (org.modelix.model.server.PullPerformanceTest) failed

model-server/build/test-results/test/TEST-org.modelix.model.server.PullPerformanceTest.xml [took 1m 0s]
Raw output
kotlinx.coroutines.test.UncompletedCoroutinesError: After waiting for 1m, the test body did not run to completion
	at app//kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$2.invokeSuspend$lambda$0(TestBuilders.kt:354)
	at app//kotlinx.coroutines.InvokeOnCancelling.invoke(JobSupport.kt:1571)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1604)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:826)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:786)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:702)
	at app//kotlinx.coroutines.JobSupport.cancelCoroutine(JobSupport.kt:689)
	at app//kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at app//kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at app//kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at [email protected]/java.lang.Thread.run(Thread.java:829)
	Suppressed: io.ktor.client.plugins.HttpRequestTimeoutException: Request timeout has expired [url=http://localhost/v2/repositories/repo1/objects, request_timeout=30000 ms]
		at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
		at io.ktor.test.dispatcher.TestCommonKt$runTestWithRealTime$1.invokeSuspend(TestCommon.kt:39)
		at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:318)

Check warning on line 0 in org.modelix.model.server.ReplicatedRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: repetition 1 of 10 (org.modelix.model.server.ReplicatedRepositoryTest)

model-server/build/test-results/test/TEST-org.modelix.model.server.ReplicatedRepositoryTest.xml [took 1m 1s]
Raw output
kotlinx.coroutines.test.UncompletedCoroutinesError: After waiting for 1m, the test body did not run to completion
	at app//kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$2.invokeSuspend$lambda$0(TestBuilders.kt:354)
	at app//kotlinx.coroutines.InvokeOnCancelling.invoke(JobSupport.kt:1571)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1604)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:826)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:786)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:702)
	at app//kotlinx.coroutines.JobSupport.cancelCoroutine(JobSupport.kt:689)
	at app//kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at app//kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at app//kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at [email protected]/java.lang.Thread.run(Thread.java:829)

Check warning on line 0 in org.modelix.model.server.ModelClientV2Test

See this annotation in the file changed.

@github-actions github-actions / Test Results

modelQL is executed efficiently using bulk requests() (org.modelix.model.server.ModelClientV2Test) failed

model-server/build/test-results/test/TEST-org.modelix.model.server.ModelClientV2Test.xml [took 1m 0s]
Raw output
kotlinx.coroutines.test.UncompletedCoroutinesError: After waiting for 1m, the test body did not run to completion
	at app//kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$2.invokeSuspend$lambda$0(TestBuilders.kt:354)
	at app//kotlinx.coroutines.InvokeOnCancelling.invoke(JobSupport.kt:1571)
	at app//kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1604)
	at app//kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:826)
	at app//kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:786)
	at app//kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:702)
	at app//kotlinx.coroutines.JobSupport.cancelCoroutine(JobSupport.kt:689)
	at app//kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at app//kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at app//kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at [email protected]/java.lang.Thread.run(Thread.java:829)
	Suppressed: io.ktor.client.plugins.HttpRequestTimeoutException: Request timeout has expired [url=http://localhost/v2/repositories/repo1/objects, request_timeout=30000 ms]
		at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
		at io.ktor.test.dispatcher.TestCommonKt$runTestWithRealTime$1.invokeSuspend(TestCommon.kt:39)
		at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:318)