quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

Dev tools - CLI Native Tool, Native Test Suite, unresolvable reflection configuration #9825

Closed Karm closed 1 month ago

Karm commented 4 years ago

Describe the bug It seem that Native Image test suite fails in Devtools module, consistently on several re-runs ./mvnw verify -Pnative-image -rf :quarkus-cli See:

Error: Error parsing reflection configuration in /home/karm/workspaceRH/Mandrel/quarkus/devtools/aesh/reflectconfigs/quarkuscli.json:
Field io.quarkus.cli.commands.QuarkusCommand.help not found. To allow unresolvable reflection configuration, use option -H:+AllowIncompleteClasspath

Expected behavior It passes.

Actual behavior

[quarkus-cli-999-SNAPSHOT:31623]    classlist:   2,473.37 ms,  0.93 GB
[quarkus-cli-999-SNAPSHOT:31623]        (cap):     378.42 ms,  0.93 GB
[quarkus-cli-999-SNAPSHOT:31623]        setup:     533.85 ms,  0.93 GB
Error: Error parsing reflection configuration in /home/karm/workspaceRH/Mandrel/quarkus/devtools/aesh/reflectconfigs/quarkuscli.json:
Field io.quarkus.cli.commands.QuarkusCommand.help not found. To allow unresolvable reflection configuration, use option -H:+AllowIncompleteClasspath
Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option ReflectionConfigurationFiles.
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1
com.oracle.svm.driver.NativeImage$NativeImageError: Image build request failed with exit status 1
    at com.oracle.svm.driver.NativeImage.showError(NativeImage.java:1541)
    at com.oracle.svm.driver.NativeImage.build(NativeImage.java:1299)
    at com.oracle.svm.driver.NativeImage.performBuild(NativeImage.java:1260)
    at com.oracle.svm.driver.NativeImage.main(NativeImage.java:1219)
    at com.oracle.svm.driver.NativeImage$JDK9Plus.main(NativeImage.java:1722)

Full log: https://gist.github.com/Karm/417149af6c772510c7d52095bc5ac494

To Reproduce Steps to reproduce the behavior:

  1. ./mvnw verify -Pnative-image

Environment (please complete the following information):

geoand commented 1 month ago

@Karm is this still an issue?

geoand commented 1 month ago

Closing for lack of feedback