Guowei Ma created FLINK-22720:
--------------------------------- Summary: UpsertKafkaTableITCase.testAggregate fail due to ConcurrentModificationException Key: FLINK-22720 URL: https://issues.apache.org/jira/browse/FLINK-22720 Project: Flink Issue Type: Bug Components: Connectors / Kafka, Tests Affects Versions: 1.14.0 Reporter: Guowei Ma https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=18151&view=logs&j=c5612577-f1f7-5977-6ff6-7432788526f7&t=53f6305f-55e6-561c-8f1e-3a1dde2c77df&l=6613 {code:java} 2021-05-19T21:28:02.8689083Z May 19 21:28:02 [ERROR] testAggregate[format = avro](org.apache.flink.streaming.connectors.kafka.table.UpsertKafkaTableITCase) Time elapsed: 2.067 s <<< ERROR! 2021-05-19T21:28:02.8708337Z May 19 21:28:02 java.util.ConcurrentModificationException 2021-05-19T21:28:02.8710333Z May 19 21:28:02 at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) 2021-05-19T21:28:02.8712083Z May 19 21:28:02 at java.util.HashMap$ValueIterator.next(HashMap.java:1474) 2021-05-19T21:28:02.8712680Z May 19 21:28:02 at java.util.AbstractCollection.toArray(AbstractCollection.java:141) 2021-05-19T21:28:02.8713142Z May 19 21:28:02 at java.util.ArrayList.addAll(ArrayList.java:583) 2021-05-19T21:28:02.8716029Z May 19 21:28:02 at org.apache.flink.table.planner.factories.TestValuesRuntimeFunctions.lambda$getResults$0(TestValuesRuntimeFunctions.java:114) 2021-05-19T21:28:02.8717007Z May 19 21:28:02 at java.util.HashMap$Values.forEach(HashMap.java:981) 2021-05-19T21:28:02.8718041Z May 19 21:28:02 at org.apache.flink.table.planner.factories.TestValuesRuntimeFunctions.getResults(TestValuesRuntimeFunctions.java:114) 2021-05-19T21:28:02.8719339Z May 19 21:28:02 at org.apache.flink.table.planner.factories.TestValuesTableFactory.getResults(TestValuesTableFactory.java:184) 2021-05-19T21:28:02.8720309Z May 19 21:28:02 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableTestUtils.waitingExpectedResults(KafkaTableTestUtils.java:82) 2021-05-19T21:28:02.8721311Z May 19 21:28:02 at org.apache.flink.streaming.connectors.kafka.table.UpsertKafkaTableITCase.wordFreqToUpsertKafka(UpsertKafkaTableITCase.java:440) 2021-05-19T21:28:02.8730402Z May 19 21:28:02 at org.apache.flink.streaming.connectors.kafka.table.UpsertKafkaTableITCase.testAggregate(UpsertKafkaTableITCase.java:73) 2021-05-19T21:28:02.8731390Z May 19 21:28:02 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021-05-19T21:28:02.8732095Z May 19 21:28:02 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021-05-19T21:28:02.8732935Z May 19 21:28:02 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021-05-19T21:28:02.8733726Z May 19 21:28:02 at java.lang.reflect.Method.invoke(Method.java:498) 2021-05-19T21:28:02.8734598Z May 19 21:28:02 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 2021-05-19T21:28:02.8735450Z May 19 21:28:02 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2021-05-19T21:28:02.8736313Z May 19 21:28:02 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 2021-05-19T21:28:02.8737329Z May 19 21:28:02 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 2021-05-19T21:28:02.8738165Z May 19 21:28:02 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) 2021-05-19T21:28:02.8738989Z May 19 21:28:02 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 2021-05-19T21:28:02.8739741Z May 19 21:28:02 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) 2021-05-19T21:28:02.8740563Z May 19 21:28:02 at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45) 2021-05-19T21:28:02.8741340Z May 19 21:28:02 at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 2021-05-19T21:28:02.8742077Z May 19 21:28:02 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2021-05-19T21:28:02.8742802Z May 19 21:28:02 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) 2021-05-19T21:28:02.8743594Z May 19 21:28:02 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) 2021-05-19T21:28:02.8744811Z May 19 21:28:02 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) 2021-05-19T21:28:02.8745580Z May 19 21:28:02 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 2021-05-19T21:28:02.8746330Z May 19 21:28:02 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 2021-05-19T21:28:02.8747222Z May 19 21:28:02 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 2021-05-19T21:28:02.8748007Z May 19 21:28:02 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 2021-05-19T21:28:02.8748791Z May 19 21:28:02 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 2021-05-19T21:28:02.8749564Z May 19 21:28:02 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2021-05-19T21:28:02.8750251Z May 19 21:28:02 at org.junit.runners.Suite.runChild(Suite.java:128) 2021-05-19T21:28:02.8785419Z May 19 21:28:02 at org.junit.runners.Suite.runChild(Suite.java:27) 2021-05-19T21:28:02.8786427Z May 19 21:28:02 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 2021-05-19T21:28:02.8787364Z May 19 21:28:02 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 2021-05-19T21:28:02.8788096Z May 19 21:28:02 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 2021-05-19T21:28:02.8788855Z May 19 21:28:02 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 2021-05-19T21:28:02.8789859Z May 19 21:28:02 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 2021-05-19T21:28:02.8790792Z May 19 21:28:02 at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:30) 2021-05-19T21:28:02.8791626Z May 19 21:28:02 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) 2021-05-19T21:28:02.8792399Z May 19 21:28:02 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) 2021-05-19T21:28:02.8793090Z May 19 21:28:02 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2021-05-19T21:28:02.8794167Z May 19 21:28:02 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2021-05-19T21:28:02.8794864Z May 19 21:28:02 at org.junit.runners.Suite.runChild(Suite.java:128) 2021-05-19T21:28:02.8795467Z May 19 21:28:02 at org.junit.runners.Suite.runChild(Suite.java:27) 2021-05-19T21:28:02.8796145Z May 19 21:28:02 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 2021-05-19T21:28:02.8796795Z May 19 21:28:02 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 2021-05-19T21:28:02.8797701Z May 19 21:28:02 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 2021-05-19T21:28:02.8798488Z May 19 21:28:02 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 2021-05-19T21:28:02.8799258Z May 19 21:28:02 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 2021-05-19T21:28:02.8799967Z May 19 21:28:02 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 2021-05-19T21:28:02.8800706Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) 2021-05-19T21:28:02.8801594Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) 2021-05-19T21:28:02.8802426Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) 2021-05-19T21:28:02.8803344Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) 2021-05-19T21:28:02.8804358Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) 2021-05-19T21:28:02.8805238Z May 19 21:28:02 at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) 2021-05-19T21:28:02.8806153Z May 19 21:28:02 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 2021-05-19T21:28:02.8807081Z May 19 21:28:02 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 2021-05-19T21:28:02.8808226Z May 19 21:28:02 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 2021-05-19T21:28:02.8809039Z May 19 21:28:02 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2021-05-19T21:28:02.8809548Z May 19 21:28:02 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |