native-image run on ubuntu-latest / JDK 25 / mode current-defaults
Failure kind: native-image run
OS: ubuntu-latest
JDK: 25
Native-image mode: current-defaults
Reproducer: env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):
ions on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
[1/8] Initializing... (6.8s @ 0.14GB)
Java version: 25.0.4+7-LTS, vendor version: Oracle GraalVM 25.0.4+7.1
Graal compiler: optimization level: b, target machine: x86-64-v3, PGO: off
C compiler: gcc (linux, x86_64, 13.3.0)
Garbage collector: Serial GC (max heap size: 80% of RAM)
2 user-specific feature(s):
- com.oracle.svm.thirdparty.gson.GsonFeature
- org.graalvm.junit.platform.JUnitPlatformFeature
------------------------------------------------------------------------------------------------------------------------
1 experimental option(s) unlocked:
- '-H:BuildOutputJSONFile' (origin(s): command line)
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 12.67GB of memory (75.6% of system memory, $CI set to 'true')
- 4 thread(s) (100.0% of 4 available processor(s), determined at start)
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
[2/8] Performing analysis... [*****] (37.9s @ 0.90GB)
8,733 types, 10,028 fields, and 39,119 methods found reachable
3,044 types, 776 fields, and 4,124 methods registered for reflection
61 types, 68 fields, and 53 methods registered for JNI access
0 downcalls and 0 upcalls registered for foreign access
4 native libraries: dl, pthread, rt, z
[3/8] Building universe... (4.8s @ 1.02GB)
[4/8] Parsing methods... [**] (4.2s @ 0.65GB)
[5/8] Inlining methods... [***] (2.2s @ 0.70GB)
[6/8] Compiling methods... [****] (19.8s @ 0.86GB)
[7/8] Laying out methods... [**] (4.0s @ 0.82GB)
[8/8] Creating image... [**] (4.2s @ 0.97GB)
10.27MB (36.05%) for code area: 24,470 compilation units
14.16MB (49.70%) for image heap: 220,581 objects and 153 resources
4.06MB (14.24%) for other data
28.48MB in total image size, 26.28MB in total file size
------------------------------------------------------------------------------------------------------------------------
Top 10 origins of code area: Top 10 object types in image heap:
4.71MB java.base 3.01MB byte[] for code metadata
2.23MB svm.jar (Native Image) 2.71MB byte[] for java.lang.String
538.82kB assertj-core-3.22.0.jar 1.43MB java.lang.String
481.39kB java.xml 1.10MB java.lang.Class
251.50kB netty-common-4.1.105.Final.jar 908.23kB com.oracle.svm.core.hub.DynamicHubCompanion
204.48kB junit-jupiter-engine-5.9.2.jar 709.78kB byte[] for general heap data
190.03kB netty-buffer-4.1.105.Final.jar 453.15kB java.util.concurrent.ConcurrentHashMap$Node
145.75kB java.desktop 447.62kB heap alignment
122.97kB junit-platform-launcher-1.9.2.jar 397.10kB byte[] for reflection metadata
109.21kB netty-transport-4.1.105.Final.jar 301.47kB java.util.HashMap$Node
901.40kB for 34 more packages 2.69MB for 2041 more object types
Use '--emit build-report' to create a report with more details.
------------------------------------------------------------------------------------------------------------------------
Security report:
- Binary includes Java deserialization.
- CycloneDX SBOM with 25 component(s) is embedded in binary (1.28kB). 13 type(s) could not be associated to a component.
- Advanced obfuscation not enabled; enable with '-H:AdvancedObfuscation=""' (experimental support).
------------------------------------------------------------------------------------------------------------------------
Recommendations:
G1GC: Use the G1 GC ('--gc=G1') for improved latency and throughput.
PGO: Use Profile-Guided Optimizations ('--pgo') for improved throughput.
FUTR: Use '--future-defaults=all' to prepare for future releases.
HEAP: Set max heap for improved and more predictable memory usage.
CPU: Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
5.9s (6.8% of total time) in 757 GCs | Peak RSS: 1.75GB | CPU load: 3.59
------------------------------------------------------------------------------------------------------------------------
Build artifacts:
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests (executable)
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/libmanagement_ext.so (jdk_library)
/tmp/native-image-build-output.json (build_info)
========================================================================================================================
Finished generating 'io.netty.netty-codec_tests-tests' in 1m 26s.
[native-image-plugin] Native Image written to: /home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile
> Task :nativeTest FAILED
[junit-platform-native] WARNING: -djunit.platform.listeners.uid.tracking.output.dir not specified, trying to find test-ids on default Gradle/Maven locations. As this is a fallback mode, it could take a while. This should only happen if you are running tests executable manually and you didn't pass uid output directory with -djunit.platform.listeners.uid.tracking.output.dir=<path>.
[junit-platform-native] WARNING: Using test-ids from default Gradle project location:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
JUnit Platform on Native Image - report
----------------------------------------
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest > gzipDecoderUpdatesChecksumFromDirectInputBuffer() FAILED
io_netty.netty_codec.ByteBufChecksumTest > gzipDecoderInitializesChecksumSupport() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > fallsBackToClassForNameWhenLoadClassInitiallyFails() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > resolvesClassesThroughClassLoaderLoadClass() SUCCESSFUL
io_netty.netty_codec.CompactObjectInputStreamTest > resolvesFatArrayDescriptorThroughObjectInputStreamFallback() FAILED
io_netty.netty_codec.CompatibleObjectEncoderTest > writesSerializableMessagesWithStandardObjectOutputStream() FAILED
io_netty.netty_codec.ObjectDecoderInputStreamTest > readsObjectWrittenByObjectEncoderOutputStream() SUCCESSFUL
io_netty.netty_codec.ObjectEncoderTest > writesLengthPrefixedObjectReadableByObjectDecoder() FAILED
io_netty.netty_codec.ProtobufDecoderNanoTest > decodesNanoMessageUsingPublicNoArgsConstructor() FAILED
Failures (5):
JUnit Jupiter:ByteBufChecksumInnerReflectiveByteBufChecksumTest:gzipDecoderUpdatesChecksumFromDirectInputBuffer()
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
MethodSource [className = 'io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest', methodName = 'gzipDecoderUpdatesChecksumFromDirectInputBuffer', methodParameterTypes = '']
WARNING: sun.misc.Unsafe::getLong has been called by io.netty.util.internal.PlatformDependent0$4 (file:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests)
=> java.lang.ExceptionInInitializerError
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
WARNING: sun.misc.Unsafe::getLong will be removed in a future release
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
FAILURE: Build failed with an exception.
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest.gzipDecoderUpdatesChecksumFromDirectInputBuffer(ByteBufChecksumInnerReflectiveByteBufChecksumTest.java:36)
* What went wrong:
[...]
Execution failed for task ':nativeTest'.
Caused by: java.lang.IllegalArgumentException: Can't find '[touch]' in io.netty.util.ReferenceCountUtil
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests'' finished with non-zero exit value 1
io.netty.util.ResourceLeakDetector.addExclusions(ResourceLeakDetector.java:629)
io.netty.util.ReferenceCountUtil.<clinit>(ReferenceCountUtil.java:31)
* Try:
[...]
> Run with --stacktrace option to get the stack trace.
JUnit Jupiter:CompactObjectInputStreamTest:resolvesFatArrayDescriptorThroughObjectInputStreamFallback()
> Run with --info or --debug option to get more log output.
MethodSource [className = 'io_netty.netty_codec.CompactObjectInputStreamTest', methodName = 'resolvesFatArrayDescriptorThroughObjectInputStreamFallback', methodParameterTypes = '']
> Run with --scan to generate a Build Scan (Powered by Develocity).
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
> Get more help at https://help.gradle.org.
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
BUILD FAILED in 1m 30s
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.CompactObjectInputStreamTest.resolvesFatArrayDescriptorThroughObjectInputStreamFallback(CompactObjectInputStreamTest.java:31)
java.base@25.0.4/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
org.junit.jupiter.api.AssertTimeoutPreemptively.lambda$submitTask$3(AssertTimeoutPreemptively.java:95)
[...]
JUnit Jupiter:CompatibleObjectEncoderTest:writesSerializableMessagesWithStandardObjectOutputStream()
MethodSource [className = 'io_netty.netty_codec.CompatibleObjectEncoderTest', methodName = 'writesSerializableMessagesWithStandardObjectOutputStream', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.CompatibleObjectEncoderTest.writesSerializableMessagesWithStandardObjectOutputStream(CompatibleObjectEncoderTest.java:30)
java.base@25.0.4/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
[...]
JUnit Jupiter:ObjectEncoderTest:writesLengthPrefixedObjectReadableByObjectDecoder()
MethodSource [className = 'io_netty.netty_codec.ObjectEncoderTest', methodName = 'writesLengthPrefixedObjectReadableByObjectDecoder', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.ObjectEncoderTest.writesLengthPrefixedObjectReadableByObjectDecoder(ObjectEncoderTest.java:29)
java.base@25.0.4/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
[...]
JUnit Jupiter:ProtobufDecoderNanoTest:decodesNanoMessageUsingPublicNoArgsConstructor()
MethodSource [className = 'io_netty.netty_codec.ProtobufDecoderNanoTest', methodName = 'decodesNanoMessageUsingPublicNoArgsConstructor', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.ProtobufDecoderNanoTest.decodesNanoMessageUsingPublicNoArgsConstructor(ProtobufDecoderNanoTest.java:30)
java.base@25.0.4/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
org.junit.jupiter.api.AssertTimeoutPreemptively.lambda$submitTask$3(AssertTimeoutPreemptively.java:95)
[...]
Test run finished after 8 ms
[ 10 containers found ]
[ 0 containers skipped ]
[ 10 containers started ]
[ 0 containers aborted ]
[ 10 containers successful ]
[ 0 containers failed ]
[ 9 tests found ]
[ 0 tests skipped ]
[ 9 tests started ]
[ 0 tests aborted ]
[ 4 tests successful ]
[ 5 tests failed ]
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date
> Task :tckTest FAILED
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tckTest'.
> Test for io.netty:netty-codec:4.1.79.Final failed with exit code 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1m 32s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 4.1.105.Final at 2026-08-29T01:03:50Z with exit code 1 after 92s
❌ ERROR: 'native-image run' for 4.1.105.Final failed with exit code 1.
FAILED[native-image run][4.1.105.Final][env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final]
native-image run on ubuntu-latest / JDK latest-ea / mode current-defaults
Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: current-defaults
Reproducer: env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):
shold' is deprecated and might be removed in a future release: It no longer has any effect, and no replacement is available. Please refer to the GraalVM release notes.
========================================================================================================================
GraalVM Native Image: Generating 'io.netty.netty-codec_tests-tests' (executable)...
========================================================================================================================
For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
[1/8] Initializing... (7.4s @ 0.19GiB)
Builder configuration:
- Java version: 25.0.4.1.1+1-LTS, vendor version: Oracle GraalVM 25.3.4.1-dev+1.1
- Graal compiler: optimization level: b, target machine: x86-64-v3, PGO: off
- C compiler: gcc (linux, x86_64, 13.3.0)
- Assertions: disabled, system assertions: disabled
- 1 user-specific feature(s):
- org.graalvm.junit.platform.JUnitPlatformFeature
Image configuration:
- Garbage collector: Serial GC (max heap size: 80% of RAM)
- Assertions: disabled (class-specific config may apply), system assertions: disabled
------------------------------------------------------------------------------------------------------------------------
1 experimental option(s) unlocked:
- '-H:BuildOutputJSONFile' (origin(s): command line)
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 13.27GiB of memory (85% of system memory because $CI set to 'true')
- 4 thread(s) (100.0% of 4 available processor(s), determined at start)
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
[2/8] Performing analysis... [******] (37.4s @ 0.85GiB)
8,858 types, 10,216 fields, and 39,976 methods found reachable
378 types, 131 fields, and 949 methods registered for reflection
61 types, 68 fields, and 53 methods registered for JNI access
153 resource accesses registered with 262.51KiB total size
5 native libraries: dl, m, pthread, rt, z
[3/8] Building universe... (5.5s @ 0.79GiB)
[4/8] Parsing methods... [**] (4.1s @ 0.86GiB)
[5/8] Inlining methods... [***] (2.1s @ 0.90GiB)
[6/8] Compiling methods... [*****] (21.4s @ 0.78GiB)
[7/8] Laying out methods... [**] (3.0s @ 0.95GiB)
[8/8] Creating image... [**] (3.4s @ 1.05GiB)
8.95MiB (36.79%) for code area: 25,021 compilation units
12.63MiB (51.87%) for image heap: 199,764 objects and 21 resources
2.76MiB (11.34%) for other data
24.34MiB in total image size, 22.19MiB in total file size
------------------------------------------------------------------------------------------------------------------------
Top 10 origins of code area: Top 10 object types in image heap:
0.98MiB o.g.n.runtime/com.oracle.svm.core.code 2.72MiB byte[] for string data
708.12KiB java.base/java.util 2.59MiB byte[] for code metadata
403.93KiB java.base/jdk.internal.classfile.impl 1.44MiB java.base/java.lang.String
351.31KiB java.base/java.lang 1.06MiB java.base/java.lang.Class
245.19KiB java.base/java.util.concurrent 968.84KiB o.g.n.runtime/c.o.s.core.hub.DynamicHubCompanion
222.15KiB java.base/java.io 620.13KiB byte[] for general heap data
221.19KiB org.assertj.core.internal.bytebuddy.jar.asm 493.31KiB byte[] for reflection metadata
219.95KiB java.base/java.text 370.04KiB java.base/java.lang.Object[]
213.16KiB java.base/com.sun.crypto.provider 262.92KiB byte[] for embedded resources
178.61KiB io.netty.buffer 217.71KiB java.base/java.lang.String[]
5.27MiB for 338 more packages 1.95MiB for 2083 more object types
Use '--emit build-report' to create a report with more details.
------------------------------------------------------------------------------------------------------------------------
Security report:
- Binary includes Java deserialization.
- CycloneDX SBOM with 24 component(s) is embedded in binary (1.27KiB). 13 type(s) could not be associated to a component.
- Advanced obfuscation not enabled; enable with '-H:AdvancedObfuscation=""' (experimental support).
------------------------------------------------------------------------------------------------------------------------
Recommendations:
G1GC: Use the G1 GC ('--gc=G1') for improved latency and throughput.
PGO: Use Profile-Guided Optimizations ('--pgo') for improved throughput.
FUTR: Use '--future-defaults=all' to prepare for future releases.
HEAP: Set max heap for improved and more predictable memory usage.
CPU: Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
5.9s (6.7% of total time) in 805 GCs | Peak RSS: 1.66GiB | CPU load: 3.63
------------------------------------------------------------------------------------------------------------------------
Build artifacts:
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests (executable, 22.19MiB)
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/libmanagement_ext.so (jdk_library, 32.23KiB)
/tmp/native-image-build-output.json (build_info, 1.03KiB)
========================================================================================================================
Finished generating 'io.netty.netty-codec_tests-tests' in 1m 26s.
The build process encountered 4 warnings.
[native-image-plugin] Native Image written to: /home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::getLong has been called by io.netty.util.internal.PlatformDependent0$4 (file:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::getLong will be removed in a future release
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':nativeTest'.
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests'' 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
> Task :nativeTest FAILED
[junit-platform-native] WARNING: -djunit.platform.listeners.uid.tracking.output.dir not specified, trying to find test-ids on default Gradle/Maven locations. As this is a fallback mode, it could take a while. This should only happen if you are running tests executable manually and you didn't pass uid output directory with -djunit.platform.listeners.uid.tracking.output.dir=<path>.
[junit-platform-native] WARNING: Using test-ids from default Gradle project location:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
JUnit Platform on Native Image - report
----------------------------------------
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest > gzipDecoderUpdatesChecksumFromDirectInputBuffer() FAILED
io_netty.netty_codec.ByteBufChecksumTest > gzipDecoderInitializesChecksumSupport() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > fallsBackToClassForNameWhenLoadClassInitiallyFails() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > resolvesClassesThroughClassLoaderLoadClass() SUCCESSFUL
io_netty.netty_codec.CompactObjectInputStreamTest > resolvesFatArrayDescriptorThroughObjectInputStreamFallback() FAILED
io_netty.netty_codec.CompatibleObjectEncoderTest > writesSerializableMessagesWithStandardObjectOutputStream() FAILED
io_netty.netty_codec.ObjectDecoderInputStreamTest > readsObjectWrittenByObjectEncoderOutputStream() SUCCESSFUL
io_netty.netty_codec.ObjectEncoderTest > writesLengthPrefixedObjectReadableByObjectDecoder() FAILED
io_netty.netty_codec.ProtobufDecoderNanoTest > decodesNanoMessageUsingPublicNoArgsConstructor() FAILED
Failures (5):
JUnit Jupiter:ByteBufChecksumInnerReflectiveByteBufChecksumTest:gzipDecoderUpdatesChecksumFromDirectInputBuffer()
MethodSource [className = 'io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest', methodName = 'gzipDecoderUpdatesChecksumFromDirectInputBuffer', methodParameterTypes = '']
=> java.lang.ExceptionInInitializerError
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest.gzipDecoderUpdatesChecksumFromDirectInputBuffer(ByteBufChecksumInnerReflectiveByteBufChecksumTest.java:36)
[...]
Caused by: java.lang.IllegalArgumentException: Can't find '[touch]' in io.netty.util.ReferenceCountUtil
io.netty.util.ResourceLeakDetector.addExclusions(ResourceLeakDetector.java:629)
io.netty.util.ReferenceCountUtil.<clinit>(ReferenceCountUtil.java:31)
[...]
JUnit Jupiter:CompactObjectInputStreamTest:resolvesFatArrayDescriptorThroughObjectInputStreamFallback()
MethodSource [className = 'io_netty.netty_codec.CompactObjectInputStreamTest', methodName = 'resolvesFatArrayDescriptorThroughObjectInputStreamFallback', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.CompactObjectInputStreamTest.resolvesFatArrayDescriptorThroughObjectInputStreamFallback(CompactObjectInputStreamTest.java:31)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
BUILD FAILED in 1m 30s
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
[...]
JUnit Jupiter:CompatibleObjectEncoderTest:writesSerializableMessagesWithStandardObjectOutputStream()
MethodSource [className = 'io_netty.netty_codec.CompatibleObjectEncoderTest', methodName = 'writesSerializableMessagesWithStandardObjectOutputStream', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.CompatibleObjectEncoderTest.writesSerializableMessagesWithStandardObjectOutputStream(CompatibleObjectEncoderTest.java:30)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
[...]
JUnit Jupiter:ObjectEncoderTest:writesLengthPrefixedObjectReadableByObjectDecoder()
MethodSource [className = 'io_netty.netty_codec.ObjectEncoderTest', methodName = 'writesLengthPrefixedObjectReadableByObjectDecoder', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.ObjectEncoderTest.writesLengthPrefixedObjectReadableByObjectDecoder(ObjectEncoderTest.java:29)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
[...]
JUnit Jupiter:ProtobufDecoderNanoTest:decodesNanoMessageUsingPublicNoArgsConstructor()
MethodSource [className = 'io_netty.netty_codec.ProtobufDecoderNanoTest', methodName = 'decodesNanoMessageUsingPublicNoArgsConstructor', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.ProtobufDecoderNanoTest.decodesNanoMessageUsingPublicNoArgsConstructor(ProtobufDecoderNanoTest.java:30)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
[...]
Test run finished after 8 ms
[ 10 containers found ]
[ 0 containers skipped ]
[ 10 containers started ]
[ 0 containers aborted ]
[ 10 containers successful ]
[ 0 containers failed ]
[ 9 tests found ]
[ 0 tests skipped ]
[ 9 tests started ]
[ 0 tests aborted ]
[ 4 tests successful ]
[ 5 tests failed ]
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date
> Task :tckTest FAILED
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tckTest'.
> Test for io.netty:netty-codec:4.1.79.Final failed with exit code 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1m 32s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 4.1.105.Final at 2026-08-29T01:03:01Z with exit code 1 after 93s
❌ ERROR: 'native-image run' for 4.1.105.Final failed with exit code 1.
FAILED[native-image run][4.1.105.Final][env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final]
native-image run on ubuntu-latest / JDK latest-ea / mode future-defaults-all
Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: future-defaults-all
Reproducer: env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=future-defaults-all ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):
rWarningsCount=3
]
Warning: Option 'FallbackThreshold' is deprecated and might be removed in a future release: It no longer has any effect, and no replacement is available. Please refer to the GraalVM release notes.
========================================================================================================================
GraalVM Native Image: Generating 'io.netty.netty-codec_tests-tests' (executable)...
========================================================================================================================
For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
[1/8] Initializing... (7.2s @ 0.19GiB)
Builder configuration:
- Java version: 25.0.4.1.1+1-LTS, vendor version: Oracle GraalVM 25.3.4.1-dev+1.1
- Graal compiler: optimization level: b, target machine: x86-64-v3, PGO: off
- C compiler: gcc (linux, x86_64, 13.3.0)
- Assertions: disabled, system assertions: disabled
- 1 user-specific feature(s):
- org.graalvm.junit.platform.JUnitPlatformFeature
Image configuration:
- Garbage collector: Serial GC (max heap size: 80% of RAM)
- Assertions: disabled (class-specific config may apply), system assertions: disabled
------------------------------------------------------------------------------------------------------------------------
1 experimental option(s) unlocked:
- '-H:BuildOutputJSONFile' (origin(s): command line)
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 13.27GiB of memory (85% of system memory because $CI set to 'true')
- 4 thread(s) (100.0% of 4 available processor(s), determined at start)
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
[2/8] Performing analysis... [*****] (36.2s @ 0.94GiB)
9,530 types, 11,147 fields, and 43,626 methods found reachable
507 types, 131 fields, and 1,139 methods registered for reflection
62 types, 70 fields, and 53 methods registered for JNI access
168 resource accesses registered with 262.65KiB total size
5 native libraries: dl, m, pthread, rt, z
[3/8] Building universe... (5.5s @ 0.91GiB)
[4/8] Parsing methods... [**] (3.7s @ 0.97GiB)
[5/8] Inlining methods... [***] (1.9s @ 1.03GiB)
[6/8] Compiling methods... [*****] (21.1s @ 0.86GiB)
[7/8] Laying out methods... [**] (3.5s @ 1.04GiB)
[8/8] Creating image... [**] (3.5s @ 1.16GiB)
10.20MiB (36.86%) for code area: 27,788 compilation units
14.50MiB (52.39%) for image heap: 229,321 objects and 23 resources
2.97MiB (10.74%) for other data
27.68MiB in total image size, 25.31MiB in total file size
------------------------------------------------------------------------------------------------------------------------
Top 10 origins of code area: Top 10 object types in image heap:
1.11MiB o.g.n.runtime/com.oracle.svm.core.code 2.96MiB byte[] for code metadata
716.49KiB java.base/java.util 2.96MiB byte[] for string data
403.90KiB java.base/jdk.internal.classfile.impl 1.56MiB java.base/java.lang.String
360.19KiB java.base/java.lang 1.15MiB java.base/java.lang.Class
246.26KiB java.base/java.io 1.02MiB o.g.n.runtime/c.o.s.core.hub.DynamicHubCompanion
245.80KiB java.base/java.util.concurrent 989.91KiB byte[] for general heap data
235.12KiB java.base/com.sun.crypto.provider 562.96KiB byte[] for reflection metadata
222.67KiB java.base/java.text 372.13KiB java.base/java.lang.Object[]
221.19KiB org.assertj.core.internal.bytebuddy.jar.asm 263.09KiB byte[] for embedded resources
189.12KiB java.base/sun.security.provider 234.41KiB java.base/java.lang.String[]
6.31MiB for 351 more packages 2.48MiB for 2282 more object types
Use '--emit build-report' to create a report with more details.
------------------------------------------------------------------------------------------------------------------------
Security report:
- Binary includes Java deserialization.
- CycloneDX SBOM with 24 component(s) is embedded in binary (1.27KiB). 13 type(s) could not be associated to a component.
- Advanced obfuscation not enabled; enable with '-H:AdvancedObfuscation=""' (experimental support).
------------------------------------------------------------------------------------------------------------------------
Recommendations:
G1GC: Use the G1 GC ('--gc=G1') for improved latency and throughput.
PGO: Use Profile-Guided Optimizations ('--pgo') for improved throughput.
HEAP: Set max heap for improved and more predictable memory usage.
CPU: Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
7.0s (8.1% of total time) in 887 GCs | Peak RSS: 1.83GiB | CPU load: 3.60
------------------------------------------------------------------------------------------------------------------------
Build artifacts:
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests (executable, 25.31MiB)
/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/libmanagement_ext.so (jdk_library, 32.23KiB)
/tmp/native-image-build-output.json (build_info, 1.03KiB)
========================================================================================================================
Finished generating 'io.netty.netty-codec_tests-tests' in 1m 25s.
The build process encountered 4 warnings.
[native-image-plugin] Native Image written to: /home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::getLong has been called by io.netty.util.internal.PlatformDependent0$4 (file:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::getLong will be removed in a future release
> Task :nativeTest FAILED
[junit-platform-native] WARNING: -djunit.platform.listeners.uid.tracking.output.dir not specified, trying to find test-ids on default Gradle/Maven locations. As this is a fallback mode, it could take a while. This should only happen if you are running tests executable manually and you didn't pass uid output directory with -djunit.platform.listeners.uid.tracking.output.dir=<path>.
[junit-platform-native] WARNING: Using test-ids from default Gradle project location:/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/test-results/test/testlist] and its subfolders.
JUnit Platform on Native Image - report
----------------------------------------
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest > gzipDecoderUpdatesChecksumFromDirectInputBuffer() FAILED
io_netty.netty_codec.ByteBufChecksumTest > gzipDecoderInitializesChecksumSupport() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > fallsBackToClassForNameWhenLoadClassInitiallyFails() SUCCESSFUL
io_netty.netty_codec.ClassLoaderClassResolverTest > resolvesClassesThroughClassLoaderLoadClass() SUCCESSFUL
io_netty.netty_codec.CompactObjectInputStreamTest > resolvesFatArrayDescriptorThroughObjectInputStreamFallback() FAILED
io_netty.netty_codec.CompatibleObjectEncoderTest > writesSerializableMessagesWithStandardObjectOutputStream() FAILED
io_netty.netty_codec.ObjectDecoderInputStreamTest > readsObjectWrittenByObjectEncoderOutputStream() SUCCESSFUL
io_netty.netty_codec.ObjectEncoderTest > writesLengthPrefixedObjectReadableByObjectDecoder() FAILED
io_netty.netty_codec.ProtobufDecoderNanoTest > decodesNanoMessageUsingPublicNoArgsConstructor() FAILED
Failures (5):
JUnit Jupiter:ByteBufChecksumInnerReflectiveByteBufChecksumTest:gzipDecoderUpdatesChecksumFromDirectInputBuffer()
MethodSource [className = 'io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest', methodName = 'gzipDecoderUpdatesChecksumFromDirectInputBuffer', methodParameterTypes = '']
=> java.lang.ExceptionInInitializerError
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.ByteBufChecksumInnerReflectiveByteBufChecksumTest.gzipDecoderUpdatesChecksumFromDirectInputBuffer(ByteBufChecksumInnerReflectiveByteBufChecksumTest.java:36)
[...]
Caused by: java.lang.IllegalArgumentException: Can't find '[touch]' in io.netty.util.ReferenceCountUtil
io.netty.util.ResourceLeakDetector.addExclusions(ResourceLeakDetector.java:629)
io.netty.util.ReferenceCountUtil.<clinit>(ReferenceCountUtil.java:31)
[...]
JUnit Jupiter:CompactObjectInputStreamTest:resolvesFatArrayDescriptorThroughObjectInputStreamFallback()
MethodSource [className = 'io_netty.netty_codec.CompactObjectInputStreamTest', methodName = 'resolvesFatArrayDescriptorThroughObjectInputStreamFallback', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
io_netty.netty_codec.CompactObjectInputStreamTest.resolvesFatArrayDescriptorThroughObjectInputStreamFallback(CompactObjectInputStreamTest.java:31)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
[...]
JUnit Jupiter:CompatibleObjectEncoderTest:writesSerializableMessagesWithStandardObjectOutputStream()
MethodSource [className = 'io_netty.netty_codec.CompatibleObjectEncoderTest', methodName = 'writesSerializableMessagesWithStandardObjectOutputStream', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.CompatibleObjectEncoderTest.writesSerializableMessagesWithStandardObjectOutputStream(CompatibleObjectEncoderTest.java:30)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
[...]
JUnit Jupiter:ObjectEncoderTest:writesLengthPrefixedObjectReadableByObjectDecoder()
MethodSource [className = 'io_netty.netty_codec.ObjectEncoderTest', methodName = 'writesLengthPrefixedObjectReadableByObjectDecoder', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:978)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:863)
io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
io.netty.channel.AbstractChannel.write(AbstractChannel.java:296)
io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:411)
io_netty.netty_codec.ObjectEncoderTest.writesLengthPrefixedObjectReadableByObjectDecoder(ObjectEncoderTest.java:29)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
[...]
JUnit Jupiter:ProtobufDecoderNanoTest:decodesNanoMessageUsingPublicNoArgsConstructor()
MethodSource [className = 'io_netty.netty_codec.ProtobufDecoderNanoTest', methodName = 'decodesNanoMessageUsingPublicNoArgsConstructor', methodParameterTypes = '']
=> java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.ReferenceCountUtil
io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPipeline.java:116)
FAILURE: io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:417)
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:344)
Build failed with an exception. io_netty.netty_codec.ProtobufDecoderNanoTest.decodesNanoMessageUsingPublicNoArgsConstructor(ProtobufDecoderNanoTest.java:30)
org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
java.base@25.0.4.1.1/java.lang.reflect.Method.invoke(Method.java:565)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
[...]
Test run finished after 8 ms
[ 10 containers found ]
* What went wrong:[ 0 containers skipped ]
[ 10 containers started ]
[ 0 containers aborted ]
[ 10 containers successful ]
[ 0 containers failed ]
[ 9 tests found ]
[ 0 tests skipped ]
[ 9 tests started ]
[ 0 tests aborted ]
Execution failed for task ':nativeTest'.[ 4 tests successful ]
[ 5 tests failed ]
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/reports/problems/problems-report.html
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/io.netty/netty-codec/4.1.42.Final/build/native/nativeTestCompile/io.netty.netty-codec_tests-tests'' 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 29s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date
> Task :tckTest FAILED
[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tckTest'.
> Test for io.netty:netty-codec:4.1.79.Final failed with exit code 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
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/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1m 30s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 4.1.105.Final at 2026-08-29T01:03:26Z with exit code 1 after 91s
❌ ERROR: 'native-image run' for 4.1.105.Final failed with exit code 1.
FAILED[native-image run][4.1.105.Final][env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=future-defaults-all ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.Final]
native-image run on ubuntu-latest / JDK 25 / mode current-defaults
Failure kind: native-image run
OS: ubuntu-latest
JDK: 25
Native-image mode: current-defaults
Reproducer:
env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.FinalRunner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):
native-image run on ubuntu-latest / JDK latest-ea / mode current-defaults
Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: current-defaults
Reproducer:
env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.FinalRunner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):
native-image run on ubuntu-latest / JDK latest-ea / mode future-defaults-all
Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: future-defaults-all
Reproducer:
env GVM_TCK_LV=4.1.105.Final GVM_TCK_NATIVE_IMAGE_MODE=future-defaults-all ./gradlew clean test -Pcoordinates=io.netty:netty-codec:4.1.79.FinalRunner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/33222856523
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):