SqlServer 2017 tests failing #5344
7 passed, 1 failed and 2 skipped
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$DB2_TaskExecutionQueryIT.xml
1 tests were completed in 5ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$DB2_TaskExecutionQueryIT | 1⚪ | 5ms |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MariaDB_10_6_TaskExecutionQueryIT.xml
1 tests were completed in 32s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MariaDB_10_6_TaskExecutionQueryIT | 1✅ | 32s |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MariaDB_11_TaskExecutionQueryIT.xml
1 tests were completed in 35s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MariaDB_11_TaskExecutionQueryIT | 1✅ | 35s |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MySql_5_7_TaskExecutionQueryIT.xml
1 tests were completed in 78s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MySql_5_7_TaskExecutionQueryIT | 1✅ | 78s |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MySql_8_TaskExecutionQueryIT.xml
1 tests were completed in 93s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$MySql_8_TaskExecutionQueryIT | 1✅ | 93s |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$Oracle_TaskExecutionQueryIT.xml
1 tests were completed in 5ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$Oracle_TaskExecutionQueryIT | 1⚪ | 5ms |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$PostgreSQL_TaskExecutionQueryIT.xml
1 tests were completed in 30s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$PostgreSQL_TaskExecutionQueryIT | 1✅ | 30s |
❌ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2017_TaskExecutionQueryIT.xml
1 tests were completed in 254s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2017_TaskExecutionQueryIT | 1❌ | 254s |
❌ org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2017_TaskExecutionQueryIT
❌
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2017-latest
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2019_TaskExecutionQueryIT.xml
1 tests were completed in 61s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2019_TaskExecutionQueryIT | 1✅ | 61s |
✅ spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2022_TaskExecutionQueryIT.xml
1 tests were completed in 62s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2022_TaskExecutionQueryIT | 1✅ | 62s |
Annotations
github-actions / Integration Tests
org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2017_TaskExecutionQueryIT ►
Failed test found in:
spring-cloud-dataflow-server/target/surefire-reports/TEST-org.springframework.cloud.dataflow.integration.test.tasks.TaskExecutionQueryContainer$SqlServer_2017_TaskExecutionQueryIT.xml
Error:
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2017-latest
Raw output
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mcr.microsoft.com/mssql/server:2017-latest
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
at org.springframework.cloud.dataflow.server.db.arm64.SqlServerArm64ContainerSupport.startContainer(SqlServerArm64ContainerSupport.java:51)
at org.springframework.cloud.dataflow.server.db.SqlServer_2017_ContainerSupport.startContainer(SqlServer_2017_ContainerSupport.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:126)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:68)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$11(ClassBasedTestDescriptor.java:397)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:395)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:209)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:80)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:344)
... 63 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:563)
at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:354)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 64 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container exited with code 1
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:533)
... 66 more
Caused by: java.lang.IllegalStateException: Container is started, but cannot be accessed by (JDBC URL: jdbc:sqlserver://localhost:32771;encrypt=false), please check container logs
at org.testcontainers.containers.JdbcDatabaseContainer.waitUntilContainerStarted(JdbcDatabaseContainer.java:177)
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:500)
... 66 more
Caused by: java.sql.SQLException: Could not create new connection
at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:263)
at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:219)
at org.testcontainers.containers.JdbcDatabaseContainer.waitUntilContainerStarted(JdbcDatabaseContainer.java:159)
... 67 more
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 32771 has failed. Error: "Connection refused (Connection refused). Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:237)
at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:288)
at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2654)
at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:695)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3180)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2833)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2671)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1640)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:936)
at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:254)
... 69 more