Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29105

KubernetesStateHandleStoreTest.testAddAndLockShouldNotThrowAlreadyExistExceptionWithSameContents failed with AssertionFailedError

    XMLWordPrintableJSON

Details

    Description

      2022-08-25T04:19:22.1429302Z Aug 25 04:19:22 [ERROR] Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.827 s <<< FAILURE! - in org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest
      2022-08-25T04:19:22.1447098Z Aug 25 04:19:22 [ERROR] org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest.testAddAndLockShouldNotThrowAlreadyExistExceptionWithSameContents  Time elapsed: 0.031 s  <<< FAILURE!
      2022-08-25T04:19:22.1447862Z Aug 25 04:19:22 org.opentest4j.AssertionFailedError: 
      2022-08-25T04:19:22.1448236Z Aug 25 04:19:22 
      2022-08-25T04:19:22.1448561Z Aug 25 04:19:22 expected: 2
      2022-08-25T04:19:22.1448893Z Aug 25 04:19:22  but was: 0
      2022-08-25T04:19:22.1449330Z Aug 25 04:19:22 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2022-08-25T04:19:22.1450330Z Aug 25 04:19:22 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      2022-08-25T04:19:22.1451114Z Aug 25 04:19:22 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      2022-08-25T04:19:22.1452006Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest.retryWithFirstFailedK8sOperation(KubernetesStateHandleStoreTest.java:1218)
      2022-08-25T04:19:22.1452956Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest.access$600(KubernetesStateHandleStoreTest.java:59)
      2022-08-25T04:19:22.1453863Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest$5.lambda$null$0(KubernetesStateHandleStoreTest.java:245)
      2022-08-25T04:19:22.1454744Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.kubeclient.TestingFlinkKubeClient.checkAndUpdateConfigMap(TestingFlinkKubeClient.java:182)
      2022-08-25T04:19:22.1455619Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStore.updateConfigMap(KubernetesStateHandleStore.java:634)
      2022-08-25T04:19:22.1456553Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStore.addAndLock(KubernetesStateHandleStore.java:219)
      2022-08-25T04:19:22.1457435Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest$5.lambda$new$1(KubernetesStateHandleStoreTest.java:258)
      2022-08-25T04:19:22.1458482Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesHighAvailabilityTestBase$Context.runTest(KubernetesHighAvailabilityTestBase.java:107)
      2022-08-25T04:19:22.1459383Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest$5.<init>(KubernetesStateHandleStoreTest.java:237)
      2022-08-25T04:19:22.1460391Z Aug 25 04:19:22 	at org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStoreTest.testAddAndLockShouldNotThrowAlreadyExistExceptionWithSameContents(KubernetesStateHandleStoreTest.java:235)
      2022-08-25T04:19:22.1461357Z Aug 25 04:19:22 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2022-08-25T04:19:22.1461965Z Aug 25 04:19:22 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2022-08-25T04:19:22.1462653Z Aug 25 04:19:22 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2022-08-25T04:19:22.1463280Z Aug 25 04:19:22 	at java.lang.reflect.Method.invoke(Method.java:498)
      2022-08-25T04:19:22.1463903Z Aug 25 04:19:22 	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
      2022-08-25T04:19:22.1464604Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      2022-08-25T04:19:22.1465397Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
      2022-08-25T04:19:22.1466211Z Aug 25 04:19:22 	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
      2022-08-25T04:19:22.1466943Z Aug 25 04:19:22 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
      2022-08-25T04:19:22.1467701Z Aug 25 04:19:22 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
      2022-08-25T04:19:22.1468531Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
      2022-08-25T04:19:22.1469350Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
      2022-08-25T04:19:22.1470180Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
      2022-08-25T04:19:22.1471027Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
      2022-08-25T04:19:22.1471919Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
      2022-08-25T04:19:22.1472727Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
      2022-08-25T04:19:22.1473455Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
      2022-08-25T04:19:22.1474161Z Aug 25 04:19:22 	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
      2022-08-25T04:19:22.1474946Z Aug 25 04:19:22 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
      2022-08-25T04:19:22.1475761Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1476561Z Aug 25 04:19:22 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
      2022-08-25T04:19:22.1477360Z Aug 25 04:19:22 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
      2022-08-25T04:19:22.1478133Z Aug 25 04:19:22 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
      2022-08-25T04:19:22.1478911Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
      2022-08-25T04:19:22.1479701Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1480486Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2022-08-25T04:19:22.1481214Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2022-08-25T04:19:22.1481944Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2022-08-25T04:19:22.1482797Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1483563Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2022-08-25T04:19:22.1484287Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2022-08-25T04:19:22.1485176Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2022-08-25T04:19:22.1486258Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
      2022-08-25T04:19:22.1487314Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
      2022-08-25T04:19:22.1488228Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
      2022-08-25T04:19:22.1489017Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1489801Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2022-08-25T04:19:22.1490525Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2022-08-25T04:19:22.1491248Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2022-08-25T04:19:22.1492090Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1492846Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2022-08-25T04:19:22.1493581Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2022-08-25T04:19:22.1494474Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2022-08-25T04:19:22.1495547Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:129)
      2022-08-25T04:19:22.1496450Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
      2022-08-25T04:19:22.1497242Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1498115Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2022-08-25T04:19:22.1498842Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2022-08-25T04:19:22.1499553Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2022-08-25T04:19:22.1500336Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2022-08-25T04:19:22.1501101Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2022-08-25T04:19:22.1501835Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2022-08-25T04:19:22.1502727Z Aug 25 04:19:22 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2022-08-25T04:19:22.1503654Z Aug 25 04:19:22 	at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      2022-08-25T04:19:22.1504262Z Aug 25 04:19:22 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2022-08-25T04:19:22.1504872Z Aug 25 04:19:22 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      2022-08-25T04:19:22.1505502Z Aug 25 04:19:22 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      2022-08-25T04:19:22.1506135Z Aug 25 04:19:22 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
      2022-08-25T04:19:22.1506610Z Aug 25 04:19:22  

      https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_apis/build/builds/40355/logs/956

      Attachments

        Issue Links

          Activity

            People

              wangyang0918 Yang Wang
              hxb Xingbo Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: