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

SqlClientITCase.testMatchRecognize fails with "bash -c rm -rf /opt/flink/checkpoint/*" returned non-zero exit code 1

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=47893&view=logs&j=af184cdd-c6d8-5084-0b69-7e9c67b35f7a&t=160c9ae5-96fd-516e-1c91-deb81f59292a&l=12715

      2023-04-04T08:11:47.8601739Z Apr 04 08:11:47 [ERROR] Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 205.218 s <<< FAILURE! - in SqlClientITCase
      2023-04-04T08:11:47.8736401Z Apr 04 08:11:47 [ERROR] SqlClientITCase.testMatchRecognize  Time elapsed: 42.257 s  <<< ERROR!
      2023-04-04T08:11:47.8736940Z Apr 04 08:11:47 java.lang.IllegalStateException: 
      2023-04-04T08:11:47.8737556Z Apr 04 08:11:47 Command "bash -c rm -rf /opt/flink/checkpoint/*" returned non-zero exit code 1. 
      2023-04-04T08:11:47.8737861Z Apr 04 08:11:47 STDOUT: 
      2023-04-04T08:11:47.8738297Z Apr 04 08:11:47 STDERR: rm: cannot remove '/opt/flink/checkpoint/e2b7cbfc940e5f066e587037f80e74af': Directory not empty
      2023-04-04T08:11:47.8738611Z Apr 04 08:11:47 
      2023-04-04T08:11:47.8738971Z Apr 04 08:11:47 	at org.apache.flink.connector.testframe.container.FlinkContainers.deleteJobManagerTemporaryFiles(FlinkContainers.java:471)
      2023-04-04T08:11:47.8740127Z Apr 04 08:11:47 	at org.apache.flink.connector.testframe.container.FlinkContainers.stop(FlinkContainers.java:241)
      2023-04-04T08:11:47.8740803Z Apr 04 08:11:47 	at SqlClientITCase.tearDown(SqlClientITCase.java:114)
      2023-04-04T08:11:47.8741144Z Apr 04 08:11:47 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2023-04-04T08:11:47.8741677Z Apr 04 08:11:47 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2023-04-04T08:11:47.8742090Z Apr 04 08:11:47 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2023-04-04T08:11:47.8742463Z Apr 04 08:11:47 	at java.lang.reflect.Method.invoke(Method.java:498)
      2023-04-04T08:11:47.8742825Z Apr 04 08:11:47 	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
      2023-04-04T08:11:47.8743253Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      2023-04-04T08:11:47.8743709Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
      2023-04-04T08:11:47.8744443Z Apr 04 08:11:47 	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
      2023-04-04T08:11:47.8744880Z Apr 04 08:11:47 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
      2023-04-04T08:11:47.8745318Z Apr 04 08:11:47 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptAfterEachMethod(TimeoutExtension.java:110)
      2023-04-04T08:11:47.8745812Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
      2023-04-04T08:11:47.8746540Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
      2023-04-04T08:11:47.8747033Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
      2023-04-04T08:11:47.8747515Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
      2023-04-04T08:11:47.8747969Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
      2023-04-04T08:11:47.8748418Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
      2023-04-04T08:11:47.8748845Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
      2023-04-04T08:11:47.8749300Z Apr 04 08:11:47 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
      2023-04-04T08:11:47.8749890Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:520)
      2023-04-04T08:11:47.8750393Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeAfterEachMethodAdapter$24(ClassBasedTestDescriptor.java:510)
      2023-04-04T08:11:47.8751271Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAfterEachMethods$10(TestMethodTestDescriptor.java:243)
      2023-04-04T08:11:47.8751861Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$13(TestMethodTestDescriptor.java:276)
      2023-04-04T08:11:47.8752334Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8752977Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$14(TestMethodTestDescriptor.java:276)
      2023-04-04T08:11:47.8753405Z Apr 04 08:11:47 	at java.util.ArrayList.forEach(ArrayList.java:1259)
      2023-04-04T08:11:47.8753827Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAllAfterMethodsOrCallbacks(TestMethodTestDescriptor.java:275)
      2023-04-04T08:11:47.8754862Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAfterEachMethods(TestMethodTestDescriptor.java:241)
      2023-04-04T08:11:47.8755320Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:142)
      2023-04-04T08:11:47.8755758Z Apr 04 08:11:47 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
      2023-04-04T08:11:47.8756184Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
      2023-04-04T08:11:47.8756808Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8757258Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2023-04-04T08:11:47.8757761Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2023-04-04T08:11:47.8758168Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2023-04-04T08:11:47.8758600Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8759690Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2023-04-04T08:11:47.8760112Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2023-04-04T08:11:47.8760607Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2023-04-04T08:11:47.8761676Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
      2023-04-04T08:11:47.8762600Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
      2023-04-04T08:11:47.8763091Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
      2023-04-04T08:11:47.8763523Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8763942Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2023-04-04T08:11:47.8764766Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2023-04-04T08:11:47.8765629Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2023-04-04T08:11:47.8766644Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8768161Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2023-04-04T08:11:47.8768494Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2023-04-04T08:11:47.8768888Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2023-04-04T08:11:47.8769343Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:129)
      2023-04-04T08:11:47.8769946Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
      2023-04-04T08:11:47.8770401Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8770751Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2023-04-04T08:11:47.8771861Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2023-04-04T08:11:47.8772183Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2023-04-04T08:11:47.8772528Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2023-04-04T08:11:47.8772875Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2023-04-04T08:11:47.8773277Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2023-04-04T08:11:47.8774075Z Apr 04 08:11:47 	at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
      2023-04-04T08:11:47.8774539Z Apr 04 08:11:47 	at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      2023-04-04T08:11:47.8774830Z Apr 04 08:11:47 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2023-04-04T08:11:47.8775105Z Apr 04 08:11:47 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      2023-04-04T08:11:47.8775389Z Apr 04 08:11:47 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      2023-04-04T08:11:47.8775676Z Apr 04 08:11:47 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
      

      Attachments

        Activity

          People

            renqs Qingsheng Ren
            Sergey Nuyanzin Sergey Nuyanzin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: