-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add support for com.alibaba:transmittable-thread-local:2.14.2
#201
Comments
|
> Task :nativeTestCompile
[native-image-plugin] GraalVM Toolchain detection is enabled
[native-image-plugin] GraalVM uses toolchain detection. Selected:
[native-image-plugin] - language version: 17
[native-image-plugin] - vendor: GraalVM Community
[native-image-plugin] - runtime version: 17.0.5+8-jvmci-22.3-b08
[native-image-plugin] Native Image executable path: /home/linghengqian/.sdkman/candidates/java/22.3.r17-grl/lib/svm/bin/native-image
========================================================================================================================
GraalVM Native Image: Generating 'transmittable-thread-local-tests' (executable)...
========================================================================================================================
Warning: Could not resolve System for reflection configuration. Reason: java.lang.ClassNotFoundException: System.
Warning: Could not resolve android.os.Build$VERSION for reflection configuration. Reason: java.lang.ClassNotFoundException: android.os.Build$VERSION.
Warning: Could not resolve io.kotest.core.spec.AutoCloseable for reflection configuration. Reason: java.lang.ClassNotFoundException: io.kotest.core.spec.AutoCloseable.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$4cscpe10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$4cscpe10.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$5j4bem00 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$5j4bem00.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$61en0h10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$61en0h10.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$7m9oaq00 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$7m9oaq00.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$9pqdof10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$9pqdof10.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$g7qoll10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$g7qoll10.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$ialm8210 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$ialm8210.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$mf9m8g30 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$mf9m8g30.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$q3087630 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$q3087630.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$sgdndr30 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$sgdndr30.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$snj05d20 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$snj05d20.
Warning: Could not resolve io.mockk.renamed.java.util.List$Subclass2$auxiliary$t8gh0920 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.List$Subclass2$auxiliary$t8gh0920.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$4cscpe10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$4cscpe10.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$5j4bem00 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$5j4bem00.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$7m9oaq00 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$7m9oaq00.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$9pqdof10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$9pqdof10.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$ekfldu10 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$ekfldu10.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$mf9m8g30 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$mf9m8g30.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$q3087630 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$q3087630.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$sgdndr30 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$sgdndr30.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$snj05d20 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$snj05d20.
Warning: Could not resolve io.mockk.renamed.java.util.Set$Subclass1$auxiliary$t8gh0920 for reflection configuration. Reason: java.lang.ClassNotFoundException: io.mockk.renamed.java.util.Set$Subclass1$auxiliary$t8gh0920.
Warning: Could not resolve kotlin.Any for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Any.
Warning: Could not resolve kotlin.Array for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Array.
Warning: Could not resolve kotlin.Boolean for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Boolean.
Warning: Could not resolve kotlin.ClassCastException for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.ClassCastException.
Warning: Could not resolve kotlin.Function2 for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Function2.
Warning: Could not resolve kotlin.Int for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Int.
Warning: Could not resolve kotlin.Long for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Long.
Warning: Could not resolve kotlin.Nothing for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Nothing.
Warning: Could not resolve kotlin.String for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.String.
Warning: Could not resolve kotlin.Throwable for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.Throwable.
Warning: Could not resolve kotlin.collections.List for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.collections.List.
Warning: Could not resolve kotlin.collections.Set for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.collections.Set.
Warning: Could not resolve kotlin.coroutines.SuspendFunction1 for reflection configuration. Reason: java.lang.ClassNotFoundException: kotlin.coroutines.SuspendFunction1.
Warning: Could not resolve net.bytebuddy.utility.Invoker$Dispatcher for reflection configuration. Reason: java.lang.ClassNotFoundException: net.bytebuddy.utility.Invoker$Dispatcher.
Warning: Could not resolve org.slf4j.impl.StaticLoggerBinder for reflection configuration. Reason: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder.
Warning: Could not resolve worker.org.gradle.internal.classloader.ClassLoaderHierarchy for reflection configuration. Reason: java.lang.ClassNotFoundException: worker.org.gradle.internal.classloader.ClassLoaderHierarchy.
Warning: Could not resolve worker.org.gradle.internal.classloader.FilteringClassLoader for reflection configuration. Reason: java.lang.ClassNotFoundException: worker.org.gradle.internal.classloader.FilteringClassLoader.
[1/7] Initializing... (13.5s @ 0.35GB)
Version info: 'GraalVM 22.3.0 Java 17 CE'
Java version info: '17.0.5+8-jvmci-22.3-b08'
C compiler: gcc (linux, x86_64, 11.3.0)
Garbage collector: Serial GC
1 user-specific feature(s)
- org.graalvm.junit.platform.JUnitPlatformFeature
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/linghengqian/TwinklingLiftWorks/git/public/graalvm-trace-metadata-smoketest/transmittable-thread-local/build/test-results/test/testlist] and its subfolders.
Fatal error: org.junit.platform.commons.JUnitException: TestEngine with ID 'kotest' failed to discover tests
at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:160)
at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely(EngineDiscoveryOrchestrator.java:132)
at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover(EngineDiscoveryOrchestrator.java:78)
at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:110)
at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:78)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.discover(DefaultLauncherSession.java:81)
at org.junit.platform.launcher.core.SessionPerRequestLauncher.discover(SessionPerRequestLauncher.java:46)
at org.graalvm.junit.platform.JUnitPlatformFeature.discoverTestsAndRegisterTestClassesForReflection(JUnitPlatformFeature.java:135)
at org.graalvm.junit.platform.JUnitPlatformFeature.beforeAnalysis(JUnitPlatformFeature.java:94)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$9(NativeImageGenerator.java:736)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:85)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:736)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:578)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:580)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
Caused by: java.lang.RuntimeException: Kotest does not allow running tests via uniqueId
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.discover(KotestJunitPlatformTestEngine.kt:120)
at io.kotest.runner.junit.platform.KotestJunitPlatformTestEngine.discover(KotestJunitPlatformTestEngine.kt:30)
at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot(EngineDiscoveryOrchestrator.java:152)
... 17 more
------------------------------------------------------------------------------------------------------------------------
0.8s (5.3% of total time) in 11 GCs | Peak RSS: 0.95GB | CPU load: 2.15
========================================================================================================================
Failed generating 'transmittable-thread-local-tests' after 13.9s.
Error: Image build request failed with exit status 1
> Task :nativeTestCompile FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':nativeTestCompile'.
> Process 'command '/home/linghengqian/.sdkman/candidates/java/22.3.r17-grl/bin/native-image'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 29s
8 actionable tasks: 8 executed
|
|
|
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
com.alibaba:transmittable-thread-local:2.14.2
.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Metadata generated at Some plan to write additional unit tests for the class library need GraalVM Reachability Metadata linghengqian/graalvm-trace-metadata-smoketest#1 .
Linkes to Make ShardingSphere Proxy in GraalVM Native Image form available apache/shardingsphere#21347 .
The text was updated successfully, but these errors were encountered: