Skip to content
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

Fix GraalVM json resource handling and add infinispan-embedded to native CI #6741

Merged
merged 2 commits into from
Jan 23, 2020

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Jan 23, 2020

I found the resource problem from doing a trial run of all integration tests in Github actions. The error I was seeing was:

2020-01-23T02:17:33.4083174Z [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/runner/work/quarkus/quarkus/integration-tests/infinispan-embedded/target/quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-native-image-source-jar/quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-runner.jar
2020-01-23T02:17:33.5359172Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/runner/work/quarkus/quarkus/integration-tests/infinispan-embedded/target/quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-native-image-source-jar/quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-runner.jar
2020-01-23T02:17:35.0264138Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 19.3.1 CE
2020-01-23T02:17:35.6057784Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] docker run -v /home/runner/work/quarkus/quarkus/integration-tests/infinispan-embedded/target/quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-native-image-source-jar:/project:z --user 1001:115 --rm quay.io/quarkus/ubi-quarkus-native-image:19.3.1-java8 -J-DCoordinatorEnvironmentBean.transactionStatusManagerEnable=false -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -H:ResourceConfigurationFiles=resources-config.json --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -jar quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:+JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace quarkus-integration-test-infinispan-embedded-999-SNAPSHOT-runner
2020-01-23T02:17:35.9995464Z Error: Invalid Path entry resources-config.json
2020-01-23T02:17:35.9996141Z Caused by: java.nio.file.NoSuchFileException: /project/resources-config.json

I have also verified that the problem does not exist in 1.2.0.Final

Note: The native CI I am talking about should now start running every night and report problems to (#6717 and #6723)

@gsmet gsmet added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jan 23, 2020
@gsmet gsmet added this to the 1.3.0 milestone Jan 23, 2020
@gsmet gsmet merged commit adba14f into quarkusio:master Jan 23, 2020
@geoand geoand deleted the infinispan-embedded branch January 24, 2020 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core triage/waiting-for-ci Ready to merge when CI successfully finishes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants