You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug JavaApplicationWithAgentFunctionalTest has test that expects that metadata should be separate files (resource-config.json, reflection-config.json, jni-config.json...). Because new GraalVM version uses reachability-metadata.json this check fails.
To Reproduce
Run ./gradlew :native-maven-plugin:functionalTest --tests JavaApplicationWithAgentFunctionalTest from the project root.
Expected behavior
Tests should pass no matter which GraalVM version we are using.
Logs
Condition not satisfied:
file("target/native/agent-output/test/${name}-config.json").exists()
| | |
| jni false
/tmp/spock_agent_is_used_for_J_0_testDirectory1507716754170115022/target/native/agent-output/test/jni-config.json
at org.graalvm.buildtools.maven.JavaApplicationWithAgentFunctionalTest.agent is used for JVM tests when native image tests are skipped via -DskipNativeTests_closure1(JavaApplicationWithAgentFunctionalTest.groovy:66)
at app//groovy.lang.Closure.call(Closure.java:412)
at app//groovy.lang.Closure.call(Closure.java:428)
at org.graalvm.buildtools.maven.JavaApplicationWithAgentFunctionalTest.agent is used for JVM tests when native image tests are skipped via -DskipNativeTests(JavaApplicationWithAgentFunctionalTest.groovy:65)
System Info (please complete the following information):
OS: [Ubuntu 22.04]
GraalVM Version [GraalVM Runtime Environment Oracle GraalVM 23.0.1+11.1]
Java Version [23]
Plugin version [native-maven-plugin:0.10.14]
The text was updated successfully, but these errors were encountered:
Before reporting
Describe the bug
JavaApplicationWithAgentFunctionalTest
has test that expects that metadata should be separate files (resource-config.json
,reflection-config.json
,jni-config.json
...). Because new GraalVM version usesreachability-metadata.json
this check fails.To Reproduce
Run
./gradlew :native-maven-plugin:functionalTest --tests JavaApplicationWithAgentFunctionalTest
from the project root.Expected behavior
Tests should pass no matter which GraalVM version we are using.
Logs
System Info (please complete the following information):
Ubuntu 22.04
]GraalVM Runtime Environment Oracle GraalVM 23.0.1+11.1
]23
]native-maven-plugin:0.10.14
]The text was updated successfully, but these errors were encountered: