-
Notifications
You must be signed in to change notification settings - Fork 239
[CALCITE-6854] ConnectionPropertiesHATest fails when running in eclip… #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+21
−4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…se-temurin:8 docker container on Windows
F21
approved these changes
Feb 25, 2025
Member
F21
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirming the tests pass now on Docker Desktop on WSL2 on Windows 11:
# ./gradlew check
> Configure project :
Building Apache Calcite Avatica 1.27.0-SNAPSHOT
> Task :metrics-dropwizardmetrics:test
0.1sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardCounterTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardGaugeTest
0.6sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardHistogramTest
0.1sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMeterTest
0.0sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMetricsSystemFactoryTest
0.2sec, 5 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMetricsSystemTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardTimerTest
1.4sec, 13 completed, 0 failed, 0 skipped, Gradle Test Run :metrics-dropwizardmetrics:test
> Task :metrics:test
1.1sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.MetricsSystemLoaderTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.noop.NoopMetricsSystemFactoryTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.noop.NoopMetricsSystemTest
1.8sec, 6 completed, 0 failed, 0 skipped, Gradle Test Run :metrics:test
> Task :core:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :core:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :server:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :shaded:avatica:getLicenses
License overrides were declared but unused for the following dependencies: [org.slf4j:slf4j-api:1.7.25]
> Task :standalone-server:getLicenses
License overrides were declared but unused for the following dependencies: [org.slf4j:slf4j-api:1.7.25]
> Task :core:test
1.4sec, 49 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaClosedConnectionTest
0.2sec, 101 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaClosedPreparedStatementTest
0.1sec, 187 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaClosedResultSetTest
0.1sec, 187 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaClosedResultSetWithNullStatementTest
0.0sec, 45 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaClosedStatementTest
0.2sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaConnectionTest
0.1sec, 1026 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaResultSetConversionsTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaResultSetTest
0.0sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaResultSetThrowsSqlExceptionTest
0.2sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaStatementTest
0.0sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.ConnectionConfigImplTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.ConnectionPropertiesImplTest
0.0sec, 5 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.CursorFactoryDeduceTest
0.0sec, 20 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.FrameTest
0.0sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.MetaImplCollectTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.MetaImplCreateIterableTest
0.0sec, 25 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.MetaResultSetTest
0.1sec, 26 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.QueryStateTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.RepTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.UnregisteredDriverTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.ha.RandomSelectLBStrategyTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.ha.RoundRobinLBStrategyTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.ha.ShuffledRoundRobinLBStrategyTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.metrics.MetricsHelperTest
0.2sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.AbstractHandlerTest
> Task :shaded:avatica:test
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.shadetest.ShadingTest
0.3sec, 1 completed, 0 failed, 0 skipped, Gradle Test Run :shaded:avatica:test
> Task :core:test
org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest > testPersistentContextThreadSafety STANDARD_ERROR
Exception in thread "Thread-5" java.lang.AssertionError: Threaded request failed with exception: Failed to execute HTTP Request, got HTTP/0
at org.junit.Assert.fail(Assert.java:89)
at org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest.lambda$testPersistentContextThreadSafety$0(AvaticaCommonsHttpClientImplTest.java:164)
at java.lang.Thread.run(Thread.java:750)
Exception in thread "Thread-7" java.lang.AssertionError: Threaded request failed with exception: Failed to execute HTTP Request, got HTTP/0
at org.junit.Assert.fail(Assert.java:89)
at org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest.lambda$testPersistentContextThreadSafety$0(AvaticaCommonsHttpClientImplTest.java:164)
at java.lang.Thread.run(Thread.java:750)
Exception in thread "Thread-6" java.lang.AssertionError: Threaded request failed with exception: Failed to execute HTTP Request, got HTTP/0
at org.junit.Assert.fail(Assert.java:89)
at org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest.lambda$testPersistentContextThreadSafety$0(AvaticaCommonsHttpClientImplTest.java:164)
at java.lang.Thread.run(Thread.java:750)
Exception in thread "Thread-4" java.lang.AssertionError: Threaded request failed with exception: Failed to execute HTTP Request, got HTTP/0
at org.junit.Assert.fail(Assert.java:89)
at org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest.lambda$testPersistentContextThreadSafety$0(AvaticaCommonsHttpClientImplTest.java:164)
at java.lang.Thread.run(Thread.java:750)
Exception in thread "Thread-8" java.lang.AssertionError: Threaded request failed with exception: Failed to execute HTTP Request, got HTTP/0
at org.junit.Assert.fail(Assert.java:89)
at org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest.lambda$testPersistentContextThreadSafety$0(AvaticaCommonsHttpClientImplTest.java:164)
at java.lang.Thread.run(Thread.java:750)
0.4sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.AvaticaCommonsHttpClientImplTest
0.1sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.AvaticaHttpClientFactoryTest
0.1sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.AvaticaHttpClientTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ErrorResponseTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ExecuteBatchRequestTest
0.0sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ExecuteRequestTest
0.1sec, 5 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.KerberosConnectionTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.MetaDataOperationTest
0.1sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ProtobufHandlerTest
0.0sec, 7 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ProtobufSerializationTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ProtobufServiceTest
0.1sec, 54 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ProtobufTranslationImplTest
0.0sec, 21 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.TypedValueTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.AvaticaClientRuntimeExceptionTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.AvaticaSeverityTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.AvaticaSqlExceptionTest
0.0sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.AvaticaUtilsTest
0.0sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.ConnectStringParserTest
0.2sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.test.JsonHandlerTest
0.0sec, 10 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.ArrayAccessorTest
0.0sec, 9 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.ArrayImplTest
0.0sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.DateAccessorTest
0.1sec, 14 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.DateFromNumberAccessorTest
0.2sec, 57 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.DateTimeUtilsTest
0.0sec, 17 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.LastDayTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.NumberAccessorTest
0.0sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.StructImplTest
0.0sec, 5 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.TimeAccessorTest
0.0sec, 8 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.TimeFromNumberAccessorTest
0.0sec, 11 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.TimestampAccessorTest
0.1sec, 16 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.TimestampFromNumberAccessorTest
0.0sec, 11 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.TimestampFromUtilDateAccessorTest
0.0sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.util.UnsynchronizedBufferTest
5.1sec, 2001 completed, 0 failed, 0 skipped, Gradle Test Run :core:test
> Task :standalone-server:test
0.1sec, 1 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.shadetest.ShadingTest
0.3sec, 1 completed, 0 failed, 0 skipped, Gradle Test Run :standalone-server:test
> Task :server:test
5.0sec, 8 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.AvaticaSpnegoTest
WARNING 0.0sec, 16 completed, 0 failed, 8 skipped, org.apache.calcite.avatica.RemoteDriverMockTest
WARNING 0.3sec, 82 completed, 0 failed, 4 skipped, org.apache.calcite.avatica.RemoteDriverTest
org.apache.calcite.avatica.SslDriverTest > testInvalidKeyStoreType[jdbc:avatica:remote:url=https://localhost:36409;serialization=JSON;truststore=/calcite-avatica/server/build/avatica-test-emptypw.jks] STANDARD_OUT
2025-02-25 09:54:44,810 [Test worker] ERROR - HTTPS TlsSocketStrategy configuration failed
org.apache.calcite.avatica.SslDriverTest > testInvalidKeyStoreType[jdbc:avatica:remote:url=https://localhost:39225;serialization=JSON;truststore=/calcite-avatica/server/build/avatica-test.jks;truststore_password=avaticasecret] STANDARD_OUT
2025-02-25 09:54:44,854 [Test worker] ERROR - HTTPS TlsSocketStrategy configuration failed
org.apache.calcite.avatica.SslDriverTest > testInvalidKeyStoreType[jdbc:avatica:remote:url=https://localhost:42623;serialization=PROTOBUF;truststore=/calcite-avatica/server/build/avatica-test-emptypw.jks] STANDARD_OUT
2025-02-25 09:54:44,893 [Test worker] ERROR - HTTPS TlsSocketStrategy configuration failed
org.apache.calcite.avatica.SslDriverTest > testInvalidKeyStoreType[jdbc:avatica:remote:url=https://localhost:44663;serialization=PROTOBUF;truststore=/calcite-avatica/server/build/avatica-test.jks;truststore_password=avaticasecret] STANDARD_OUT
2025-02-25 09:54:44,927 [Test worker] ERROR - HTTPS TlsSocketStrategy configuration failed
0.3sec, 12 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.SslDriverTest
4.1sec, org.apache.calcite.avatica.ha.ConnectionPropertiesHATest > testConnectionPropertiesHALBFailover
6.9sec, org.apache.calcite.avatica.ha.ConnectionPropertiesHATest > testConnectionPropertiesHATestInvalidLBUrl
WARNING 11.4sec, 12 completed, 0 failed, 1 skipped, org.apache.calcite.avatica.ha.ConnectionPropertiesHATest
0.1sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.jdbc.JdbcMetaTest
0.1sec, 5 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.jdbc.StatementInfoTest
0.4sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.AlternatingRemoteMetaTest
0.5sec, 34 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ArrayTypeTest
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSyncNoReconnect[JSON]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSync[JSON]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSyncNoReconnect[PROTOBUF]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSync[PROTOBUF]
40.1sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.ConnectionPropertiesTest
0.1sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.remote.RemoteHttpClientTest
5.0sec, org.apache.calcite.avatica.remote.RemoteMetaTest > testNoTimeout[JSON]
5.0sec, org.apache.calcite.avatica.remote.RemoteMetaTest > testNoTimeout[PROTOBUF]
WARNING 12.3sec, 46 completed, 0 failed, 2 skipped, org.apache.calcite.avatica.remote.RemoteMetaTest
0.1sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.AbstractAvaticaHandlerTest
0.0sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.AvaticaSpnegoAuthenticatorTest
0.0sec, 7 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.BasicAuthHttpServerTest
0.0sec, 4 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.CustomAuthHttpServerTest
0.0sec, 8 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.DigestAuthHttpServerTest
0.0sec, 2 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.HandlerFactoryTest
0.0sec, 6 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.HttpQueryStringParameterRemoteUserExtractorTest
0.0sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.HttpServerCustomizerTest
0.0sec, 3 completed, 0 failed, 0 skipped, org.apache.calcite.avatica.server.HttpServerSpnegoWithoutJaasTest
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSyncNoReconnect[JSON]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSync[JSON]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSyncNoReconnect[PROTOBUF]
10.0sec, org.apache.calcite.avatica.remote.ConnectionPropertiesTest > testConnectionPropertiesSync[PROTOBUF]
WARNING 40.2sec, 86 completed, 0 failed, 4 skipped, org.apache.calcite.avatica.test.AvaticaSuite
WARNING 112.3sec, 358 completed, 0 failed, 19 skipped, Gradle Test Run :server:test
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 2m 3s
111 actionable tasks: 111 executed
Contributor
Author
|
merged manually |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…se-temurin:8 docker container on Windows