Yun Gao created FLINK-26402:
-------------------------------

             Summary: 
MinioTestContainerTest.testS3EndpointNeedsToBeSpecifiedBeforeInitializingFileSyste
 failed due to Container startup failed
                 Key: FLINK-26402
                 URL: https://issues.apache.org/jira/browse/FLINK-26402
             Project: Flink
          Issue Type: Bug
          Components: FileSystems
    Affects Versions: 1.15.0
            Reporter: Yun Gao


{code:java}
2022-02-24T02:49:59.3646340Z Feb 24 02:49:59 [ERROR] Tests run: 6, Failures: 0, 
Errors: 1, Skipped: 0, Time elapsed: 49.457 s <<< FAILURE! - in 
org.apache.flink.fs.s3.common.MinioTestContainerTest
2022-02-24T02:49:59.3648027Z Feb 24 02:49:59 [ERROR] 
org.apache.flink.fs.s3.common.MinioTestContainerTest.testS3EndpointNeedsToBeSpecifiedBeforeInitializingFileSyste
  Time elapsed: 5.751 s  <<< ERROR!
2022-02-24T02:49:59.3648805Z Feb 24 02:49:59 
org.testcontainers.containers.ContainerLaunchException: Container startup failed
2022-02-24T02:49:59.3651640Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:336)
2022-02-24T02:49:59.3652820Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
2022-02-24T02:49:59.3653619Z Feb 24 02:49:59    at 
org.apache.flink.core.testutils.TestContainerExtension.instantiateTestContainer(TestContainerExtension.java:59)
2022-02-24T02:49:59.3654319Z Feb 24 02:49:59    at 
org.apache.flink.core.testutils.TestContainerExtension.before(TestContainerExtension.java:70)
2022-02-24T02:49:59.3655057Z Feb 24 02:49:59    at 
org.apache.flink.core.testutils.EachCallbackWrapper.beforeEach(EachCallbackWrapper.java:45)
2022-02-24T02:49:59.3656153Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachCallbacks$2(TestMethodTestDescriptor.java:163)
2022-02-24T02:49:59.3657088Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:199)
2022-02-24T02:49:59.3657905Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3659016Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:199)
2022-02-24T02:49:59.3660004Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachCallbacks(TestMethodTestDescriptor.java:162)
2022-02-24T02:49:59.3660997Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:129)
2022-02-24T02:49:59.3662153Z Feb 24 02:49:59    at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
2022-02-24T02:49:59.3663189Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
2022-02-24T02:49:59.3664211Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3664971Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2022-02-24T02:49:59.3665623Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2022-02-24T02:49:59.3666433Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2022-02-24T02:49:59.3667322Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3668024Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2022-02-24T02:49:59.3669276Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2022-02-24T02:49:59.3669881Z Feb 24 02:49:59    at 
java.util.ArrayList.forEach(ArrayList.java:1259)
2022-02-24T02:49:59.3670715Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
2022-02-24T02:49:59.3671652Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
2022-02-24T02:49:59.3672725Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3673436Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2022-02-24T02:49:59.3682533Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2022-02-24T02:49:59.3683383Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2022-02-24T02:49:59.3684081Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3684890Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2022-02-24T02:49:59.3685547Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2022-02-24T02:49:59.3686250Z Feb 24 02:49:59    at 
java.util.ArrayList.forEach(ArrayList.java:1259)
2022-02-24T02:49:59.3686918Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
2022-02-24T02:49:59.3688009Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
2022-02-24T02:49:59.3688987Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3689805Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2022-02-24T02:49:59.3690447Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2022-02-24T02:49:59.3691203Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2022-02-24T02:49:59.3692232Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2022-02-24T02:49:59.3692927Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2022-02-24T02:49:59.3693712Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2022-02-24T02:49:59.3694482Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
2022-02-24T02:49:59.3695394Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
2022-02-24T02:49:59.3696109Z Feb 24 02:49:59    at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
2022-02-24T02:49:59.3696929Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
2022-02-24T02:49:59.3697733Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
2022-02-24T02:49:59.3698609Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
2022-02-24T02:49:59.3699505Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
2022-02-24T02:49:59.3700228Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
2022-02-24T02:49:59.3700877Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
2022-02-24T02:49:59.3701555Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
2022-02-24T02:49:59.3702574Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
2022-02-24T02:49:59.3703489Z Feb 24 02:49:59    at 
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
2022-02-24T02:49:59.3704552Z Feb 24 02:49:59    at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:199)
2022-02-24T02:49:59.3705187Z Feb 24 02:49:59    at 
java.util.Iterator.forEachRemaining(Iterator.java:116)
2022-02-24T02:49:59.3705816Z Feb 24 02:49:59    at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:193)
2022-02-24T02:49:59.3706777Z Feb 24 02:49:59    at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
2022-02-24T02:49:59.3707569Z Feb 24 02:49:59    at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120)
2022-02-24T02:49:59.3708546Z Feb 24 02:49:59    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
2022-02-24T02:49:59.3709487Z Feb 24 02:49:59    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
2022-02-24T02:49:59.3710303Z Feb 24 02:49:59    at 
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
2022-02-24T02:49:59.3710880Z Feb 24 02:49:59    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
2022-02-24T02:49:59.3711639Z Feb 24 02:49:59 Caused by: 
org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
2022-02-24T02:49:59.3712526Z Feb 24 02:49:59    at 
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
2022-02-24T02:49:59.3713396Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:329)
2022-02-24T02:49:59.3713895Z Feb 24 02:49:59    ... 60 more
2022-02-24T02:49:59.3714527Z Feb 24 02:49:59 Caused by: 
org.testcontainers.containers.ContainerLaunchException: Could not create/start 
container
2022-02-24T02:49:59.3715344Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:525)
2022-02-24T02:49:59.3715974Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:331)
2022-02-24T02:49:59.3716747Z Feb 24 02:49:59    at 
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
2022-02-24T02:49:59.3717424Z Feb 24 02:49:59    ... 61 more
2022-02-24T02:49:59.3718767Z Feb 24 02:49:59 Caused by: 
com.amazonaws.services.s3.model.AmazonS3Exception: Server not initialized, 
please try again. (Service: Amazon S3; Status Code: 503; Error Code: 
XMinioServerNotInitialized; Request ID: 16D699089DE1A760; S3 Extended Request 
ID: 16D699089DE1A760; Proxy: null), S3 Extended Request ID: 16D699089DE1A760
2022-02-24T02:49:59.3720373Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1819)
2022-02-24T02:49:59.3721601Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1403)
2022-02-24T02:49:59.3722805Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1372)
2022-02-24T02:49:59.3723757Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1145)
2022-02-24T02:49:59.3724980Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802)
2022-02-24T02:49:59.3725967Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770)
2022-02-24T02:49:59.3726874Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744)
2022-02-24T02:49:59.3727827Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704)
2022-02-24T02:49:59.3728861Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686)
2022-02-24T02:49:59.3729846Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550)
2022-02-24T02:49:59.3730950Z Feb 24 02:49:59    at 
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530)
2022-02-24T02:49:59.3732135Z Feb 24 02:49:59    at 
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5259)
2022-02-24T02:49:59.3733030Z Feb 24 02:49:59    at 
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5206)
2022-02-24T02:49:59.3733909Z Feb 24 02:49:59    at 
com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:1119)
2022-02-24T02:49:59.3734654Z Feb 24 02:49:59    at 
com.amazonaws.services.s3.AmazonS3Client.createBucket(AmazonS3Client.java:1051)
2022-02-24T02:49:59.3735270Z Feb 24 02:49:59    at 
org.apache.flink.fs.s3.common.MinioTestContainer.createDefaultBucket(MinioTestContainer.java:128)
2022-02-24T02:49:59.3735940Z Feb 24 02:49:59    at 
org.apache.flink.fs.s3.common.MinioTestContainer.containerIsStarted(MinioTestContainer.java:83)
2022-02-24T02:49:59.3736598Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.containerIsStarted(GenericContainer.java:688)
2022-02-24T02:49:59.3737237Z Feb 24 02:49:59    at 
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:504)
2022-02-24T02:49:59.3737711Z Feb 24 02:49:59    ... 63 more {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to