You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2025/07/27 12:09:58 UTC

Re: [I] Support running nativeTest under GraalVM Native Image on Windows 11 [shardingsphere]

linghengqian commented on issue #35052:
URL: https://github.com/apache/shardingsphere/issues/35052#issuecomment-3124354842

   - I strongly suspect that the failed CI on Windows Server 2025 in https://github.com/apache/shardingsphere/pull/36078 is related to https://github.com/oracle/graal/pull/10431 . This will have to wait for the release of GraalVM CE For JDK 25.
   - A third-party test at https://github.com/linghengqian/hive-server2-jdbc-driver/actions/runs/16550767465/job/46805233344?pr=37 shows that once any Linux Container is started on Windows Server 2025 through Rancher Desktop and testcontainers-java, the entire GraalVM Native Image will return an error code.
   ```shell
   JUnit Platform on Native Image - report
   ----------------------------------------
   12:03:20,546 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [resource:/logback-test.xml]
   12:03:20,547 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs multiple times on the classpath.
   12:03:20,547 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [resource:/logback-test.xml#1]
   12:03:20,547 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [resource:/logback-test.xml]
   12:03:20,547 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@17589019 - URL [resource:/logback-test.xml] is not of type file
   12:03:20,548 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
   12:03:20,548 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
   12:03:20,549 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
   12:03:20,549 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
   12:03:20,554 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.testcontainers] to INFO
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [tc] to INFO
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.github.dockerjava] to WARN
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.github.dockerjava.zerodep.shaded.org.apache.hc.client5.http.wire] to OFF
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
   12:03:20,554 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@e0046d1 - Registering current configuration as safe fallback point
   12:03:20.556 [main] INFO  org.testcontainers.images.PullPolicy - Image pull policy will be performed by: DefaultPullPolicy()
   12:03:20.557 [main] INFO  org.testcontainers.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
   12:03:20.564 [main] INFO  org.testcontainers.DockerClientFactory - Testcontainers version: 1.21.3
   12:03:20.571 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
   12:03:20.610 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with local Npipe socket (npipe:////./pipe/docker_engine)
   12:03:20.611 [main] INFO  org.testcontainers.DockerClientFactory - Docker host IP address is localhost
   12:03:20.631 [main] INFO  org.testcontainers.DockerClientFactory - Connected to docker: 
     Server Version: 27.3.1
     API Version: 1.47
     Operating System: Rancher Desktop WSL Distribution
     Total Memory: 7941 MB
   12:03:20.641 [main] INFO  tc.testcontainers/ryuk:0.12.0 - Creating container for image: testcontainers/ryuk:0.12.0
   12:03:20.684 [main] INFO  org.testcontainers.utility.RegistryAuthLocator - Credential helper/store (docker-credential-wincred) does not have credentials for https://index.docker.io/v1/
   12:03:20.760 [main] INFO  tc.testcontainers/ryuk:0.12.0 - Container testcontainers/ryuk:0.12.0 is starting: bdbef6c41b6ab94baf4b5feeb43b1f795700a6ae641f295a8c2bfc48b70d9297
   12:03:21.278 [main] INFO  tc.testcontainers/ryuk:0.12.0 - Container testcontainers/ryuk:0.12.0 started in PT0.6376133S
   12:03:21.282 [main] INFO  org.testcontainers.utility.RyukResourceReaper - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
   12:03:21.282 [main] INFO  org.testcontainers.DockerClientFactory - Checking the system...
   12:03:21.282 [main] INFO  org.testcontainers.DockerClientFactory - ✔︎ Docker server version should be at least 1.6.0
   12:03:21.282 [main] INFO  tc.apache/hive:4.0.1 - Creating container for image: apache/hive:4.0.1
   12:03:21.361 [main] INFO  tc.apache/hive:4.0.1 - Container apache/hive:4.0.1 is starting: 942c6221afb78efbf42fd2b7806bf8e3dc58bef2bfcdd420dccc9d3f95a8052b
   12:03:46.148 [main] INFO  tc.apache/hive:4.0.1 - Container apache/hive:4.0.1 started in PT24.8657545S
   Error: Process completed with exit code 1.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org