Skip to content

chore(test): rationalize runner tests#14939

Merged
loicmathieu merged 1 commit intokestra_wipfrom
chore/test-improvements
Mar 6, 2026
Merged

chore(test): rationalize runner tests#14939
loicmathieu merged 1 commit intokestra_wipfrom
chore/test-improvements

Conversation

@loicmathieu
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

🐋 Docker image

ghcr.io/kestra-io/kestra-pr:14939
docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:14939 server local

🧪 Java Unit Tests

TestsPassed ☑️Skipped ⚠️Failed ❌️Time ⏱
Java Tests Report4235 ran4212 ✅22 ⚠️1 ❌42m 31s 832ms
TestResultTime ⏱
Java Tests Report
MultipleConditionEventMessageHandlerTest.initializationError❌ failure2ms

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Tests report quick summary:

failed ❌ > tests: 4236, success: 4212, skipped: 22, failed: 2

Project Status Success Skipped Failed
cli success ✅ 69 0 0
core success ✅ 1891 0 0
executor failed ❌ 30 0 1
jdbc success ✅ 11 0 0
jdbc-h2 success ✅ 532 0 0
jdbc-mysql success ✅ 524 0 0
jdbc-postgres success ✅ 525 0 0
processor success ✅ 7 0 0
queue success ✅ 28 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 56 0 0
script success ✅ 11 0 0
storage-local success ✅ 64 0 0
webserver success ✅ 406 0 0
worker success ✅ 23 0 0
worker-controller success ✅ 56 0 0

Failed tests:

executor > io.kestra.executor.handler.MultipleConditionEventMessageHandlerTest > initializationError failed ❌ in 0.002
io.micronaut.runtime.exceptions.ApplicationStartupException: Unable to start GRPC server: Failed to bind to address 0.0.0.0/0.0.0.0:60990

io.micronaut.runtime.exceptions.ApplicationStartupException: Unable to start GRPC server: Failed to bind to address 0.0.0.0/0.0.0.0:60990
	at io.micronaut.grpc.server.GrpcEmbeddedServer.start(GrpcEmbeddedServer.java:197)
	at io.micronaut.grpc.server.GrpcEmbeddedServerListener.onServerStartupEvent(GrpcEmbeddedServerListener.java:63)
	at io.micronaut.grpc.server.$GrpcEmbeddedServerListener$Definition$Exec.dispatch(Unknown Source)
	at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:456)
	at io.micronaut.context.DefaultBeanContext$BeanExecutionHandle.invoke(DefaultBeanContext.java:3999)
	at io.micronaut.aop.chain.AdapterIntroduction.intercept(AdapterIntroduction.java:91)
	at io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:143)
	at io.micronaut.grpc.server.GrpcEmbeddedServerListener$ApplicationEventListener$onServerStartupEvent1$Intercepted.onApplicationEvent(Unknown Source)
	at io.micronaut.context.event.ApplicationEventPublisherFactory.notifyEventListeners(ApplicationEventPublisherFactory.java:266)
	at io.micronaut.context.event.ApplicationEventPublisherFactory$2.publishEvent(ApplicationEventPublisherFactory.java:226)
	at io.micronaut.http.server.netty.NettyHttpServer.fireStartupEvents(NettyHttpServer.java:737)
	at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:338)
	at io.micronaut.http.server.netty.NettyHttpServer.start(NettyHttpServer.java:132)
	at io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:367)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.beforeAll(MicronautJunit5Extension.java:86)
	at io.kestra.core.junit.extensions.KestraTestExtension.beforeAll(KestraTestExtension.java:51)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:60990
	at io.grpc.netty.NettyServer.start(NettyServer.java:341)
	at io.grpc.internal.ServerImpl.start(ServerImpl.java:185)
	at io.grpc.internal.ServerImpl.start(ServerImpl.java:94)
	at io.micronaut.grpc.server.GrpcEmbeddedServer.start(GrpcEmbeddedServer.java:172)
	... 16 more
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:522)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:335)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:297)
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:148)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:434)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1353)
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:492)
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:471)
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:994)
	at io.netty.channel.Channel.bind(Channel.java:302)
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:384)
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1195)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:1474)


Develocity build scan: https://develocity.kestra.io/s/c5i24jrsk6euu

Copy link
Member

@Skraye Skraye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@loicmathieu loicmathieu merged commit 007dc9f into kestra_wip Mar 6, 2026
9 of 11 checks passed
@github-project-automation github-project-automation bot moved this from To review to Done in Pull Requests Mar 6, 2026
@loicmathieu loicmathieu deleted the chore/test-improvements branch March 6, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants