Yun Gao created FLINK-26243: ------------------------------- Summary: RoundRobinTopicRouterTest.routeMessagesInRoundRobin failed on azure due to divide by zero Key: FLINK-26243 URL: https://issues.apache.org/jira/browse/FLINK-26243 Project: Flink Issue Type: Bug Components: Connectors / Pulsar Affects Versions: 1.15.0 Reporter: Yun Gao
{code:java} Feb 18 03:17:52 [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.013 s <<< FAILURE! - in org.apache.flink.connector.pulsar.sink.writer.router.RoundRobinTopicRouterTest Feb 18 03:17:52 [ERROR] org.apache.flink.connector.pulsar.sink.writer.router.RoundRobinTopicRouterTest.routeMessagesInRoundRobin Time elapsed: 0.005 s <<< ERROR! Feb 18 03:17:52 java.lang.ArithmeticException: / by zero Feb 18 03:17:52 at org.apache.flink.connector.pulsar.sink.writer.router.RoundRobinTopicRouter.route(RoundRobinTopicRouter.java:57) Feb 18 03:17:52 at org.apache.flink.connector.pulsar.sink.writer.router.RoundRobinTopicRouterTest.routeMessagesInRoundRobin(RoundRobinTopicRouterTest.java:78) Feb 18 03:17:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Feb 18 03:17:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) Feb 18 03:17:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Feb 18 03:17:52 at java.lang.reflect.Method.invoke(Method.java:498) Feb 18 03:17:52 at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) Feb 18 03:17:52 at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) Feb 18 03:17:52 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) Feb 18 03:17:52 at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) Feb 18 03:17:52 at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) Feb 18 03:17:52 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) Feb 18 03:17:52 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210) Feb 18 03:17:52 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135) Feb 18 03:17:52 at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) Feb 18 03:17:52 at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) Feb 18 03:17:52 at java.util.ArrayList.forEach(ArrayList.java:1259) {code} https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=31807&view=logs&j=245e1f2e-ba5b-5570-d689-25ae21e5302f&t=d04c9862-880c-52f5-574b-a7a79fef8e0f&l=26780 -- This message was sent by Atlassian Jira (v8.20.1#820001)