Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.15.0
-
None
Description
2022-03-11T02:31:04.2072037Z Mar 11 02:31:04 [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 263.981 s <<< FAILURE! - in org.apache.flink.connector.jdbc.dialect.oracle.OracleTableSinkITCase 2022-03-11T02:31:04.2171609Z Mar 11 02:31:04 [ERROR] org.apache.flink.connector.jdbc.dialect.oracle.OracleTableSinkITCase Time elapsed: 263.981 s <<< FAILURE! 2022-03-11T02:31:04.2173200Z Mar 11 02:31:04 org.opentest4j.MultipleFailuresError: 2022-03-11T02:31:04.2176044Z Mar 11 02:31:04 Multiple Failures (2 failures) 2022-03-11T02:31:04.2176669Z Mar 11 02:31:04 org.testcontainers.containers.ContainerLaunchException: Container startup failed 2022-03-11T02:31:04.2177257Z Mar 11 02:31:04 java.sql.SQLException: The url cannot be null 2022-03-11T02:31:04.2177927Z Mar 11 02:31:04 at org.junit.vintage.engine.execution.TestRun.getStoredResultOrSuccessful(TestRun.java:196) 2022-03-11T02:31:04.2178740Z Mar 11 02:31:04 at org.junit.vintage.engine.execution.RunListenerAdapter.fireExecutionFinished(RunListenerAdapter.java:226) 2022-03-11T02:31:04.2179576Z Mar 11 02:31:04 at org.junit.vintage.engine.execution.RunListenerAdapter.testRunFinished(RunListenerAdapter.java:93) 2022-03-11T02:31:04.2180710Z Mar 11 02:31:04 at org.junit.runner.notification.SynchronizedRunListener.testRunFinished(SynchronizedRunListener.java:42) 2022-03-11T02:31:04.2181538Z Mar 11 02:31:04 at org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:103) 2022-03-11T02:31:04.2182254Z Mar 11 02:31:04 at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) 2022-03-11T02:31:04.2182990Z Mar 11 02:31:04 at org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:100) 2022-03-11T02:31:04.2640543Z Mar 11 02:31:04 at org.junit.runner.JUnitCore.run(JUnitCore.java:138) 2022-03-11T02:31:04.2641130Z Mar 11 02:31:04 at org.junit.runner.JUnitCore.run(JUnitCore.java:115) 2022-03-11T02:31:04.2641982Z Mar 11 02:31:04 at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) 2022-03-11T02:31:04.2642709Z Mar 11 02:31:04 at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) 2022-03-11T02:31:04.3102739Z Mar 11 02:31:04 at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) 2022-03-11T02:31:04.3103584Z Mar 11 02:31:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) 2022-03-11T02:31:04.3104431Z Mar 11 02:31:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 2022-03-11T02:31:04.3105311Z Mar 11 02:31:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 2022-03-11T02:31:04.3106260Z Mar 11 02:31:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 2022-03-11T02:31:04.3107149Z Mar 11 02:31:04 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 2022-03-11T02:31:04.3107938Z Mar 11 02:31:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) 2022-03-11T02:31:04.3108678Z Mar 11 02:31:04 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) 2022-03-11T02:31:04.3109488Z Mar 11 02:31:04 at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 2022-03-11T02:31:04.3110543Z Mar 11 02:31:04 at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) 2022-03-11T02:31:04.3111372Z Mar 11 02:31:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188) 2022-03-11T02:31:04.3112234Z Mar 11 02:31:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 2022-03-11T02:31:04.3113070Z Mar 11 02:31:04 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) 2022-03-11T02:31:04.3113862Z Mar 11 02:31:04 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) 2022-03-11T02:31:04.3114601Z Mar 11 02:31:04 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) 2022-03-11T02:31:04.3115298Z Mar 11 02:31:04 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) 2022-03-11T02:31:04.3115981Z Mar 11 02:31:04 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) 2022-03-11T02:31:04.3116654Z Mar 11 02:31:04 Suppressed: org.testcontainers.containers.ContainerLaunchException: Container startup failed 2022-03-11T02:31:04.3117365Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:336) 2022-03-11T02:31:04.3118082Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317) 2022-03-11T02:31:04.3118885Z Mar 11 02:31:04 at org.apache.flink.connector.jdbc.dialect.oracle.OracleTableSinkITCase.beforeAll(OracleTableSinkITCase.java:83) 2022-03-11T02:31:04.3119644Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-03-11T02:31:04.3120486Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-03-11T02:31:04.3121301Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-03-11T02:31:04.3122002Z Mar 11 02:31:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-03-11T02:31:04.3122671Z Mar 11 02:31:04 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) 2022-03-11T02:31:04.3123626Z Mar 11 02:31:04 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2022-03-11T02:31:04.3124367Z Mar 11 02:31:04 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) 2022-03-11T02:31:04.3125090Z Mar 11 02:31:04 at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) 2022-03-11T02:31:04.3125890Z Mar 11 02:31:04 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) 2022-03-11T02:31:04.3126586Z Mar 11 02:31:04 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 2022-03-11T02:31:04.3127270Z Mar 11 02:31:04 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-03-11T02:31:04.3127943Z Mar 11 02:31:04 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-03-11T02:31:04.3128566Z Mar 11 02:31:04 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2022-03-11T02:31:04.3129189Z Mar 11 02:31:04 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 2022-03-11T02:31:04.3129816Z Mar 11 02:31:04 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 2022-03-11T02:31:04.3130572Z Mar 11 02:31:04 at org.junit.runner.JUnitCore.run(JUnitCore.java:137) 2022-03-11T02:31:04.3131050Z Mar 11 02:31:04 ... 20 more 2022-03-11T02:31:04.3131559Z Mar 11 02:31:04 Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception 2022-03-11T02:31:04.3132264Z Mar 11 02:31:04 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) 2022-03-11T02:31:04.3132997Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:329) 2022-03-11T02:31:04.3133541Z Mar 11 02:31:04 ... 38 more 2022-03-11T02:31:04.3134053Z Mar 11 02:31:04 Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container 2022-03-11T02:31:04.3134774Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:525) 2022-03-11T02:31:04.3135524Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:331) 2022-03-11T02:31:04.3136274Z Mar 11 02:31:04 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) 2022-03-11T02:31:04.3136819Z Mar 11 02:31:04 ... 39 more 2022-03-11T02:31:04.3137532Z Mar 11 02:31:04 Caused by: java.lang.IllegalStateException: Container is started, but cannot be accessed by (JDBC URL: jdbc:oracle:thin:system/oracle@172.17.0.1:51660:xe), please check container logs 2022-03-11T02:31:04.3138506Z Mar 11 02:31:04 at org.testcontainers.containers.JdbcDatabaseContainer.waitUntilContainerStarted(JdbcDatabaseContainer.java:165) 2022-03-11T02:31:04.3139305Z Mar 11 02:31:04 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:468) 2022-03-11T02:31:04.3139863Z Mar 11 02:31:04 ... 41 more 2022-03-11T02:31:04.3140300Z Mar 11 02:31:04 Suppressed: java.sql.SQLException: The url cannot be null 2022-03-11T02:31:04.3141018Z Mar 11 02:31:04 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:660) 2022-03-11T02:31:04.3141672Z Mar 11 02:31:04 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251) 2022-03-11T02:31:04.3142434Z Mar 11 02:31:04 at org.apache.flink.connector.jdbc.dialect.oracle.OracleTableSinkITCase.afterAll(OracleTableSinkITCase.java:135) 2022-03-11T02:31:04.3143204Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-03-11T02:31:04.3143914Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-03-11T02:31:04.3144708Z Mar 11 02:31:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-03-11T02:31:04.3145428Z Mar 11 02:31:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 2022-03-11T02:31:04.3146186Z Mar 11 02:31:04 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) 2022-03-11T02:31:04.3146926Z Mar 11 02:31:04 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2022-03-11T02:31:04.3147663Z Mar 11 02:31:04 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) 2022-03-11T02:31:04.3148453Z Mar 11 02:31:04 at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46) 2022-03-11T02:31:04.3149147Z Mar 11 02:31:04 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) 2022-03-11T02:31:04.3149830Z Mar 11 02:31:04 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-03-11T02:31:04.3150624Z Mar 11 02:31:04 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-03-11T02:31:04.3151257Z Mar 11 02:31:04 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2022-03-11T02:31:04.3151877Z Mar 11 02:31:04 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 2022-03-11T02:31:04.3152508Z Mar 11 02:31:04 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 2022-03-11T02:31:04.3153088Z Mar 11 02:31:04 at org.junit.runner.JUnitCore.run(JUnitCore.java:137) 2022-03-11T02:31:04.3153551Z Mar 11 02:31:04 ... 20 more 2022-03-11T02:31:04.3153882Z Mar 11 02:31:04 2022-03-11T02:31:07.9976115Z Mar 11 02:31:07 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-03-11T02:31:09.6902051Z Mar 11 02:31:09 [INFO] Running org.apache.flink.connector.jdbc.catalog.PostgresCatalogITCase 2022-03-11T02:32:01.7059120Z Mar 11 02:32:01 [ERROR] WARNING: An illegal reflective access operation has occurred 2022-03-11T02:32:01.7062334Z Mar 11 02:32:01 [ERROR] WARNING: Illegal reflective access by org.apache.flink.api.java.ClosureCleaner (file:/__w/2/.m2/repository/org/apache/flink/flink-core/1.15-SNAPSHOT/flink-core-1.15-SNAPSHOT.jar) to field java.lang.Class.ANNOTATION 2022-03-11T02:32:01.7063469Z Mar 11 02:32:01 [ERROR] WARNING: Please consider reporting this to the maintainers of org.apache.flink.api.java.ClosureCleaner 2022-03-11T02:32:01.7064432Z Mar 11 02:32:01 [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 2022-03-11T02:32:01.7065098Z Mar 11 02:32:01 [ERROR] WARNING: All illegal access operations will be denied in a future release 2022-03-11T02:32:32.4408094Z Mar 11 02:32:32 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.743 s - in org.apache.flink.connector.jdbc.catalog.PostgresCatalogITCase 2022-03-11T02:32:55.1702479Z Mar 11 02:32:55 [ERROR] WARNING: An illegal reflective access operation has occurred 2022-03-11T02:32:55.1969462Z Mar 11 02:32:55 [ERROR] WARNING: Illegal reflective access by org.apache.flink.api.java.ClosureCleaner (file:/__w/2/.m2/repository/org/apache/flink/flink-core/1.15-SNAPSHOT/flink-core-1.15-SNAPSHOT.jar) to field java.lang.Class.ANNOTATION 2022-03-11T02:32:55.1971732Z Mar 11 02:32:55 [ERROR] WARNING: Please consider reporting this to the maintainers of org.apache.flink.api.java.ClosureCleaner 2022-03-11T02:32:55.1973635Z Mar 11 02:32:55 [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 2022-03-11T02:32:55.1974803Z Mar 11 02:32:55 [ERROR] WARNING: All illegal access operations will be denied in a future release 2022-03-11T02:32:58.5242653Z Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2022-03-11T02:33:25.5712886Z Mar 11 02:33:25 [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 262.281 s - in org.apache.flink.connector.jdbc.catalog.MySqlCatalogITCase 2022-03-11T02:33:26.0513972Z Mar 11 02:33:26 [INFO] 2022-03-11T02:33:26.0515293Z Mar 11 02:33:26 [INFO] Results: 2022-03-11T02:33:26.0516152Z Mar 11 02:33:26 [INFO] 2022-03-11T02:33:26.0516540Z Mar 11 02:33:26 [ERROR] Failures: 2022-03-11T02:33:26.0516980Z Mar 11 02:33:26 [ERROR] OracleTableSinkITCase Multiple Failures (2 failures) 2022-03-11T02:33:26.0518582Z Mar 11 02:33:26 org.testcontainers.containers.ContainerLaunchException: Container startup failed 2022-03-11T02:33:26.0519237Z Mar 11 02:33:26 java.sql.SQLException: The url cannot be null
Attachments
Issue Links
- duplicates
-
FLINK-26597 OracleTableSinkITCase failed on azure due to container failed to startup
- Open