You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2023/06/22 07:13:16 UTC

[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

jamesnetherton opened a new issue, #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006

   ### Bug description
   
   The initial CI fails seems to suggest there are some items that need reflective class configuration:
   
   ```
   2023-06-21T13:20:25.2633284Z Caused by: java.lang.IllegalArgumentException: field private java.util.List com.google.api.services.bigquery.model.TableDataList.rows
   2023-06-21T13:20:25.2633909Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:900)
   2023-06-21T13:20:25.2634647Z 	at com.google.api.client.json.JsonParser.parse(JsonParser.java:451)
   2023-06-21T13:20:25.2635157Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:787)
   2023-06-21T13:20:25.2635519Z 	... 56 more
   2023-06-21T13:20:25.2636002Z Caused by: java.lang.IllegalArgumentException: field private java.util.List com.google.api.services.bigquery.model.TableDataList.rows
   2023-06-21T13:20:25.2636636Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:900)
   2023-06-21T13:20:25.2637148Z 	at com.google.api.client.json.JsonParser.parseArray(JsonParser.java:641)
   2023-06-21T13:20:25.2637635Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:744)
   2023-06-21T13:20:25.2637990Z 	... 58 more
   2023-06-21T13:20:25.2638495Z Caused by: java.lang.IllegalArgumentException: field private java.util.List com.google.api.services.bigquery.model.TableRow.f
   2023-06-21T13:20:25.2639091Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:900)
   2023-06-21T13:20:25.2639697Z 	at com.google.api.client.json.JsonParser.parse(JsonParser.java:451)
   2023-06-21T13:20:25.2640185Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:787)
   2023-06-21T13:20:25.2640541Z 	... 60 more
   2023-06-21T13:20:25.2640987Z Caused by: java.lang.IllegalArgumentException: field private java.util.List com.google.api.services.bigquery.model.TableRow.f
   2023-06-21T13:20:25.2641583Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:900)
   2023-06-21T13:20:25.2642090Z 	at com.google.api.client.json.JsonParser.parseArray(JsonParser.java:641)
   2023-06-21T13:20:25.2642597Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:744)
   2023-06-21T13:20:25.2642932Z 	... 62 more
   2023-06-21T13:20:25.2643475Z Caused by: java.lang.IllegalArgumentException: unable to create new instance of class com.google.api.services.bigquery.model.TableCell because it has no accessible default constructor
   2023-06-21T13:20:25.2644200Z 	at com.google.api.client.util.Types.handleExceptionForNewInstance(Types.java:162)
   2023-06-21T13:20:25.2644728Z 	at com.google.api.client.util.Types.newInstance(Types.java:117)
   2023-06-21T13:20:25.2645196Z 	at com.google.api.client.util.Data.newMapInstance(Data.java:550)
   2023-06-21T13:20:25.2645681Z 	at com.google.api.client.json.JsonParser.parseValue(JsonParser.java:766)
   2023-06-21T13:20:25.2646026Z 	... 64 more
   2023-06-21T13:20:25.2646415Z Caused by: java.lang.InstantiationException: com.google.api.services.bigquery.model.TableCell
   2023-06-21T13:20:25.2646918Z 	at java.base@17.0.7/java.lang.Class.newInstance(DynamicHub.java:639)
   2023-06-21T13:20:25.2647359Z 	at com.google.api.client.util.Types.newInstance(Types.java:113)
   2023-06-21T13:20:25.2647665Z 	... 66 more
   2023-06-21T13:20:25.2648091Z Caused by: java.lang.NoSuchMethodException: com.google.api.services.bigquery.model.TableCell.<init>()
   2023-06-21T13:20:25.2648610Z 	at java.base@17.0.7/java.lang.Class.checkMethod(DynamicHub.java:1038)
   2023-06-21T13:20:25.2649031Z 	at java.base@17.0.7/java.lang.Class.getConstructor0(DynamicHub.java:1204)
   2023-06-21T13:20:25.2649445Z 	at java.base@17.0.7/java.lang.Class.newInstance(DynamicHub.java:626)
   2023-06-21T13:20:25.2649747Z 	... 67 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611496918

   Thanks @zakkak!
   
   > Till then, the fastest work around is to pass `-Dquarkus.native.additional-build-args=-H:+RunReachabilityHandlersConcurrently`.
   
   I guess that'll be something we have to add into our Google extension docs.
   
   AFAIK, there is no way for extensions to provide arbitrary native build args (E.g via a `BuildItem`), right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1613195039

   It might be something related to this  [change](https://github.com/netty/netty/commit/9412424091eb89f9d55372e38fedbcfcc285dd94#diff-c24e989820523c812b36dea1eb81cbbde7822d060eac7bf136fa96be00956e3f) in netty 4.1.94.Final


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612578042

   I just test with your command but it is still the same.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612648062

   Unfortunately the only **work around** I can think of is to introduce a native-image.properties file containing the following line:
   
   ```
   Args = -H:+RunReachabilityHandlersConcurrently
   ```
   
   but this file needs to be in the application, e.g. `integration-tests/google-bigquery/src/main/resources/META-INF/native-image/native-image.properties`, putting it under `extensions/google-bigquery` won't do the trick since native-image may apply it before applying the corresponding file from gax-grpc...
   
   Now for an actual fix it looks like we would need a gax-grpc extension that would:
   
   1. Introduce an [ExcludeConfigBuildItem](https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ExcludeConfigBuildItem.java) to exclude the gax-grpc configuration.
   2. Introduce the appropriate `BuildItem` to replicate [the original gax-grpc configuration](https://github.com/googleapis/gax-java/blob/32e99616b3112f89121f7c5a0b4e500d1e693846/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties), excluding the `RunReachabilityHandlersConcurrently` part. I.e., register the necessary features and the necessary classes for runtime initialization.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612680541

   Yeah, we can put it into `extensions-support/google-cloud`. We need follow up issue(s) to have a permanent fix for this though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614022399

   @jamesnetherton I've applied this work around to `google-pubsub` and `google-storage` and both of them work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] ppalaga commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1619059577

   > > @zakkak, I see that `quarkus.native.additional-build-args` is somehow not powerful enough to override the value present in gax-grpc jar. But it is still not clear to me why? Could you perhaps shed some light on that?
   > 
   > If you run `native-image` with `--verbose` you can see the options that end up being passed to the native image builder after combining options given by the user, the libraries, and the application. These options are passed in the following order:
   > 
   > 1. Options automatically passed by Quarkus
   > 2. User options passed through `quarkus.native.additional-build-args` (these can override the ones in 1)
   > 3. Options automatically passed by Quarkus that we don't want to allow the users to override (see https://github.com/quarkusio/quarkus/blob/5382a3de02facc6f1be2f55d8fdb7d5c1fce8dc2/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java#L795-L799)
   > 4. Options passed through native-image.properties of dependencies
   > 5. Options passed through native-image.properties of the application
   > 
   > with each category being able to override the previous categories. So, since `quarkus.native.additional-build-args` are applied before the `native-image.properties` there is no way for them to override the values passed through native-image.properties. AFAIK there is no way to make command line options to apply after options defined in native-image.properties.
   
   Thanks a lot for the informative answer, @zakkak!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1709676344

   Hi @loicmathieu , there is an upstream issue for it. See https://github.com/googleapis/sdk-platform-java/issues/1344


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1613243632

   Hmm, it dues to the apache-arrow. So we have to wait a new release which includes a [fix](https://github.com/apache/arrow/commit/ea4f03ac166e3961b59f29f60dcd160fbed29894). Or is there any way to do some substitutions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614228261

   @zakkak No, I don't fix it. The `UnresolvedElementException` only happens in `google-bigquery` extension. I think we have to wait the [fix](https://github.com/apache/arrow/commit/ea4f03ac166e3961b59f29f60dcd160fbed29894) in `apache -arrow`. Do you think is there any room to get it fixed in Quarkus? by some substitutions?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1618854179

   > @zakkak, I see that `quarkus.native.additional-build-args` is somehow not powerful enough to override the value present in gax-grpc jar. But it is still not clear to me why? Could you perhaps shed some light on that?
   
   If you run `native-image` with `--verbose` you can see the options that end up being passed to the native image builder after combining options given by the user, the libraries, and the application. These options are passed in the following order:
   
   1. Options automatically passed by Quarkus
   2. User options passed through `quarkus.native.additional-build-args` (these can override the ones in 1)
   3. Options automatically passed by Quarkus that we don't want to allow the users to override (see https://github.com/quarkusio/quarkus/blob/5382a3de02facc6f1be2f55d8fdb7d5c1fce8dc2/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java#L795-L799)
   4. Options passed through native-image.properties of dependencies
   5. Options passed through native-image.properties of the application
   
   with each category being able to override the previous categories. So, since `quarkus.native.additional-build-args` are applied before the `native-image.properties` there is no way for them to override the values passed through native-image.properties. AFAIK there is no way to make command line options to apply after options defined in native-image.properties.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612688869

   > Oh, good catch! I just wonder why `gax-grpc` needs `-H:-RunReachabilityHandlersConcurrently`
   
   That was introduced to work-around https://github.com/oracle/graal/issues/5194 in 22.2 (and 22.3?) as discussed in https://github.com/googleapis/gax-java/pull/1815#issuecomment-1432812163. https://github.com/oracle/graal/issues/5194 should be fixed in 23.0 by https://github.com/oracle/graal/pull/6154 thus not requiring the `-H:-RunReachabilityHandlersConcurrently` work around anymore (at least in theory).
   
   So since Quarkus is compatible with both 22.3 and 23.0 a proper fix on the Quarkus or Quarkus-camel would need to ensure it works in both versions.
   
   > and it could be fixed in `graal` in the new release?
   
   To which issue are you referring here? The original one that caused the need for `-H:-RunReachabilityHandlersConcurrently` should already be fixed in 23.0.
   
   But there is also https://github.com/oracle/graal/issues/6904 which is the one making the `-H:-RunReachabilityHandlersConcurrently` work around non-functional. Unfortunately I am not sure when this will be fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1608688596

   I think there might be something wrong during the graal perform static analysis. 
   
   The error about `undefined reference to 'Java_com_sun_management_internal_OperatingSystemImpl_initialize0'` looks related to this [commit](https://github.com/zakkak/mandrel/commit/7662df010649091d6598912cc7c8cc521c154455) 
   
   The `OPERATING_SYSTEM_IMPL` class is not reachable but actually it is. Then sometimes we get the native image build successful and sometimes not. I have no any idea about how the static analysis work here. @zakkak any hint?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] loicmathieu commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "loicmathieu (via GitHub)" <gi...@apache.org>.
loicmathieu commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1709760041

   Thanks, I may try to reach out to them as we already discussed the fact that adding GraalVM commands flag in `native-image.properties` may have undesirable side effects.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612575045

   Yeah, I added `<quarkus.native.additional-build-args>-H:+RunReachabilityHandlersConcurrently</quarkus.native.additional-build-args>` in `integration-tests/google-bigquery/pom.xml`
   
   The output is like
   ```
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on native-image 17.0.7 2023-04-18
   OpenJDK Runtime Environment Mandrel-23.0.0.0-Final (build 17.0.7+7)
   OpenJDK 64-Bit Server VM Mandrel-23.0.0.0-Final (build 17.0.7+7, mixed mode)
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1000:1000 -v /home/zhfeng/work/zhfeng/camel-quarkus/integration-tests/google-bigquery/target/camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-ueGYN quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dlogging.initial-configurator.min-level=500 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Duser.language=zh -J-Duser.country=CN -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.DisableLoggingFeature -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -J--ad
 d-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -H:BuildOutputJSONFile=camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner-build-output-stats.json -H:+RunReachabilityHandlersConcurrently -H:+AllowFoldMethods -J-Djava.awt.headless=true --no-fallback --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets --enable-url-protocols=http -H:-UseServiceLoaderFeature -H:+StackTrace -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED --exclude-config io\.netty\.netty-codec /META-INF/native-image/io\.netty/netty-codec/generated/handlers/reflect-config\.json --exclude-config io\.netty\.netty-handler /META-INF/native-image/io\.netty/netty-handler/generated/handlers/reflect-config\.json camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner -jar camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner.jar
   ========================================================================================================================
   GraalVM Native Image: Generating 'camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' (executable)...
   ========================================================================================================================
   [1/8] Initializing...                                                                                    (7.2s @ 0.34GB)
    Java version: 17.0.7+7, vendor version: Mandrel-23.0.0.0-Final
    Graal compiler: optimization level: 2, target machine: x86-64-v3
    C compiler: gcc (redhat, x86_64, 8.5.0)
    Garbage collector: Serial GC (max heap size: 80% of RAM)
    8 user-specific feature(s)
    - com.google.api.gax.grpc.nativeimage.GrpcNettyFeature
    - com.google.api.gax.grpc.nativeimage.ProtobufMessageFeature
    - com.google.api.gax.nativeimage.GoogleJsonClientFeature
    - com.google.api.gax.nativeimage.OpenCensusFeature
    - com.oracle.svm.thirdparty.gson.GsonFeature
    - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions
    - io.quarkus.runtime.graal.DisableLoggingFeature: Disables INFO logging during the analysis phase
    - org.eclipse.angus.activation.nativeimage.AngusActivationFeature
   Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.google.protobuf.UnsafeUtil. Detailed failure reason(s): The argument of sun.misc.Unsafe.objectFieldOffset(java.lang.reflect.Field) is not a constant value or a field load that can be constant-folded., Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store. 
   [2/8] Performing analysis...  []                                                                        (25.0s @ 3.50GB)
     16,967 (84.92%) of 19,981 types reachable
     25,097 (60.48%) of 41,495 fields reachable
     86,267 (62.59%) of 137,820 methods reachable
      5,448 types, 1,267 fields, and 8,656 methods registered for reflection
   
   ------------------------------------------------------------------------------------------------------------------------
                           2.5s (7.5% of total time) in 28 GCs | Peak RSS: 5.53GB | CPU load: 12.11
   ------------------------------------------------------------------------------------------------------------------------
   Produced artifacts:
    /project/svm_err_b_20230629T074513.723_pid74.md (build_info)
   ========================================================================================================================
   Failed generating 'camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' after 32.5s.
   
   The build process encountered an unexpected error:
   
   java.lang.NullPointerException: Cannot invoke "java.util.Set.iterator()" because "triggers" is null
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.ReachabilityHandlerFeature.processReachable(ReachabilityHandlerFeature.java:173)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.ReachabilityHandlerFeature.duringAnalysis(ReachabilityHandlerFeature.java:128)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:770)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:86)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$11(NativeImageGenerator.java:770)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.AbstractAnalysisEngine.runAnalysis(AbstractAnalysisEngine.java:179)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:767)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:582)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:539)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:408)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:612)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:134)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:94)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1613170644

   @jamesnetherton the work around seems only work in application file such as `integration-tests/google-bigquery/src/main/resources/META-INF/native-image/native-image.properties`
   
   @zakkak now we upgrade to quarkus `3.2.0.Final`, it is failing with
   ```
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on native-image 17.0.7 2023-04-18
   OpenJDK Runtime Environment Mandrel-23.0.0.0-Final (build 17.0.7+7)
   OpenJDK 64-Bit Server VM Mandrel-23.0.0.0-Final (build 17.0.7+7, mixed mode)
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1000:1000 -v /home/zhfeng/work/zhfeng/camel-quarkus/integration-tests/google-bigquery/target/camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-KDmxj quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dlogging.initial-configurator.min-level=500 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Duser.language=zh -J-Duser.country=CN -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.DisableLoggingFeature -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -J--ad
 d-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -H:BuildOutputJSONFile=camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner-build-output-stats.json -H:+AllowFoldMethods -J-Djava.awt.headless=true --no-fallback --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets --enable-url-protocols=http -H:-UseServiceLoaderFeature -H:+StackTrace -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED --exclude-config io\.netty\.netty-codec /META-INF/native-image/io\.netty/netty-codec/generated/handlers/reflect-config\.json --exclude-config io\.netty\.netty-handler /META-INF/native-image/io\.netty/netty-handler/generated/handlers/reflect-config\.json camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner -jar camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner.jar
   ========================================================================================================================
   GraalVM Native Image: Generating 'camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' (executable)...
   ========================================================================================================================
   [1/8] Initializing...                                                                                    (7.3s @ 0.35GB)
    Java version: 17.0.7+7, vendor version: Mandrel-23.0.0.0-Final
    Graal compiler: optimization level: 2, target machine: x86-64-v3
    C compiler: gcc (redhat, x86_64, 8.5.0)
    Garbage collector: Serial GC (max heap size: 80% of RAM)
    8 user-specific feature(s)
    - com.google.api.gax.grpc.nativeimage.GrpcNettyFeature
    - com.google.api.gax.grpc.nativeimage.ProtobufMessageFeature
    - com.google.api.gax.nativeimage.GoogleJsonClientFeature
    - com.google.api.gax.nativeimage.OpenCensusFeature
    - com.oracle.svm.thirdparty.gson.GsonFeature
    - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions
    - io.quarkus.runtime.graal.DisableLoggingFeature: Disables INFO logging during the analysis phase
    - org.eclipse.angus.activation.nativeimage.AngusActivationFeature
   Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.google.protobuf.UnsafeUtil. Detailed failure reason(s): The argument of sun.misc.Unsafe.objectFieldOffset(java.lang.reflect.Field) is not a constant value or a field load that can be constant-folded., Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store. 
   [2/8] Performing analysis...  []                                                                        (24.1s @ 6.07GB)
     15,321 (79.61%) of 19,245 types reachable
     21,672 (57.86%) of 37,454 fields reachable
     74,150 (52.75%) of 140,577 methods reachable
      5,378 types, 1,668 fields, and 11,565 methods registered for reflection
   
   Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.directBuffer(PooledByteBufAllocatorL.java:210) 
   Parsing context:
      at io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.directBuffer(PooledByteBufAllocatorL.java:136)
      at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
      at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:116)
      at io.netty.handler.codec.base64.Base64$Decoder.decode(Base64.java:318)
      at io.netty.handler.codec.base64.Base64.decode(Base64.java:302)
      at io.netty.handler.codec.base64.Base64.decode(Base64.java:293)
      at io.netty.handler.codec.base64.Base64.decode(Base64.java:281)
      at io.netty.handler.ssl.PemReader.readPrivateKey(PemReader.java:150)
      at io.quarkus.netty.runtime.graal.Target_SslContext.toPrivateKey(NettySubstitutions.java:604)
      at io.netty.handler.ssl.SslContextBuilder.keyManager(SslContextBuilder.java:418)
      at io.grpc.netty.ProtocolNegotiators.from(ProtocolNegotiators.java:114)
      at io.grpc.netty.NettyChannelProvider.newChannelBuilder(NettyChannelProvider.java:52)
      at root method.(Unknown Source)
   
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.AnalysisError.parsingError(AnalysisError.java:149)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:178)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:113)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:583)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:474)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:187)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:171)
   	at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
   	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
   	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
   	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
   	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
   	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
   Caused by: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.threadCache(). This error is reported at image build time because class io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator is registered for linking at image build time by command line
   	at parsing io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.newDirectBufferL(PooledByteBufAllocatorL.java:164)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.throwParserError(BytecodeParser.java:2536)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.throwParserError(SharedGraphBuilderPhase.java:169)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3414)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.iterateBytecodesForBlock(SharedGraphBuilderPhase.java:712)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.handleBytecodeBlock(BytecodeParser.java:3366)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3208)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:1134)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.build(SharedGraphBuilderPhase.java:152)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:1026)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:97)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase.run(SharedGraphBuilderPhase.java:114)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:434)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:146)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:819)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:784)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:767)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:120)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1190)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1173)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1028)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:982)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:871)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:186)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:600)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:854)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:77)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:193)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:583)
   	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:165)
   	... 13 more
   Caused by: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.threadCache(). This error is reported at image build time because class io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator is registered for linking at image build time by command line
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.reportUnresolvedElement(SharedGraphBuilderPhase.java:521)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.reportUnresolvedElement(SharedGraphBuilderPhase.java:515)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.handleUnresolvedMethod(SharedGraphBuilderPhase.java:442)
   	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.handleUnresolvedInvoke(SharedGraphBuilderPhase.java:338)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.genInvokeVirtual(BytecodeParser.java:1725)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5329)
   	at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3406)
   	... 42 more
   
   ```
   
   I think it could be related to Vertx `4.4.4` which dpeneds on `netty 4.1.94.Final` and I revert the commit [Update to Vert.x 4.4.4](https://github.com/quarkusio/quarkus/commit/ee1bf877d1ad7d953d38819cb87d756221bd9a5c). Then the work around is back to work. Any thought?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611237035

   > You have got a success build? Add some reflective class configurations?
   
   I got a successful build without adding anything new.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614217510

   @zhfeng how did you end up fixing the `UnresolvedElementException`? Is this something that should go in Quarkus core?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611849261

   Not sure what dependencies are needed. I assume you are getting an `UnresolvedElementException` which should include information about which classes are missing.
   
   https://quarkus.io/guides/native-reference#i-get-a-analysiserrorparsingerror-when-building-a-native-executable-due-to-an-unresolvedelementexception-what-can-i-do has some more info.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612566400

   @zhfeng , this doesn't sound right. Can you please paste the output following the line
   ```
   [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on native-image 17.0.7 2023-04-18
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612873337

   Thanks so much @zakkak !
   
   If I understand well, our work around on camel-quarkus-google-* extensions should be removed after https://github.com/oracle/graal/issues/6904 gets resolved or we introduce `gax-grpc-extension` as you suggest above evenually?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611257713

   Yes, I see the same as @jamesnetherton still haven't figure out what triggers it though. It looks like a data race so far...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612602443

   > I just test with your command but it is still the same.
   
   Oh, you are right. I was testing with 999-SNAPSHOT not 3.2.0.CR1.
   
   And it turns out that with 999-SNAPSHOT I am getting an Unresolved Element exception irrespective of the value of `RunReachabilityHandlersConcurrently`. Back to it :/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] ppalaga commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1618723671

   @zakkak, I see that `quarkus.native.additional-build-args` is somehow not powerful enough to override the value present in gax-grpc jar. But it is still not clear to me why? Could you perhaps shed some light on that?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng closed issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng closed issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails
URL: https://github.com/apache/camel-quarkus/issues/5006


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614284785

   > I think we have to wait the [fix](https://github.com/apache/arrow/commit/ea4f03ac166e3961b59f29f60dcd160fbed29894) in apache -arrow. Do you think is there any room to get it fixed in Quarkus? 
   
   It doesn't look like `org.apache.arrow` is being used in core Quarkus, so the fix would need to go in the extension that uses it. 
   
   > by some substitutions?
   
   If I get this right, the issue is that the latest apache-arrow is not compatible with the Netty 4.1.94.Final. I assume a substitution that would essentially apply https://github.com/apache/arrow/commit/ea4f03ac166e3961b59f29f60dcd160fbed29894#diff-d967dd684919ce097b81e439fafc96217f1263985f5864faa4b78eb96e7a4f16L164 could work-around the issue till it gets fixed in apache arrow. It might be worth asking when they plan to do the next release before investing any time on this though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614343923

   OK, I found another work around to exlucde `org.apache.arrow:arrow-memory-netty` since it is a runtime dependency.
   
   @jamesnetherton I'm not familar with `google-bigquery` but it seems we have no any test for apache arrow memory?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611205176

   This issue is really weird. I have run the build multiple times and got different results.
   
   Run 1: `undefined reference to Java_com_sun_management_internal_OperatingSystemImpl_initialize0'
   collect2: error: ld returned 1 exit status`
   
   Run 2: `java.lang.NullPointerException: Cannot invoke "java.util.Set.iterator()" because "triggers" is null`
   
   Run 3: `Tests run: 6, Failures: 0, Errors: 0, Skipped: 0` `BUILD SUCCESS`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611483154

   As discussed in https://github.com/oracle/graal/issues/6904 the issue is caused by [com.google.api:gax-grpc](https://github.com/googleapis/gax-java/blob/32e99616b3112f89121f7c5a0b4e500d1e693846/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties#L14) passing `-H:-RunReachabilityHandlersConcurrently` to `native-image`.
   
   Ultimately this should be fixed both in GraalVM/Mandrel (see https://github.com/oracle/graal/issues/6904) as well as in com.google.api:gax-grpc (see https://github.com/googleapis/sdk-platform-java/issues/1344).
   
   Till then, the fastest work around is to pass `-Dquarkus.native.additional-build-args=-H:+RunReachabilityHandlersConcurrently`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611504444

   That's correct, I will prepare a Quarkus patch for it though.
   
   > Till then, the fastest work around is to pass `-Dquarkus.native.additional-build-args=-H:+RunReachabilityHandlersConcurrently`
   
   The main issue is that passing `-Dquarkus.native.additional-build-args=-H:+RunReachabilityHandlersConcurrently` also requires adding more dependencies as discussed in https://github.com/googleapis/sdk-platform-java/issues/1344


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611619316

   Thanks @zakkak !
   
   I just tried with `-Dquarkus.native.additional-build-args=-H:+RunReachabilityHandlersConcurrently` but it is still not working. Is there anything I missed or what dependecies should be added?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612677299

   I can confirm that the work around works perfectly!
   
   So @jamesnetherton cam we use this work around for all google related extensions?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1602132073

   The strange thing is, that I cannot replicate the above issue. I have so far got two entirely different errors:
   
   First this:
   
   ```
   Failed generating 'camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' after 2m 11s.
   
   The build process encountered an unexpected error:
   
   java.lang.RuntimeException: There was an error linking the native image: Linker command exited with 1
   
   Linker command executed:
   /usr/bin/gcc -z noexecstack -Wl,--gc-sections -Wl,--version-script,/tmp/SVM-13436729235266490940/exported_symbols.list -Wl,-x -o /project/camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner.o /opt/mandrel/lib/svm/clibraries/linux-amd64/liblibchelper.a /opt/mandrel/lib/static/linux-amd64/glibc/libnet.a /opt/mandrel/lib/static/linux-amd64/glibc/libnio.a /opt/mandrel/lib/static/linux-amd64/glibc/libjava.a /opt/mandrel/lib/static/linux-amd64/glibc/libfdlibm.a /opt/mandrel/lib/static/linux-amd64/glibc/libzip.a /opt/mandrel/lib/svm/clibraries/linux-amd64/libjvm.a -Wl,--export-dynamic -v -L/tmp/SVM-13436729235266490940 -L/opt/mandrel/lib/static/linux-amd64/glibc -L/opt/mandrel/lib/svm/clibraries/linux-amd64 -lz -lpthread -ldl -lrt
   
   Linker command output:
   Using built-in specs.
   COLLECT_GCC=/usr/bin/gcc
   COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
   OFFLOAD_TARGET_NAMES=nvptx-none
   OFFLOAD_TARGET_DEFAULT=1
   Target: x86_64-redhat-linux
   Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
   Thread model: posix
   gcc version 8.5.0 20210514 (Red Hat 8.5.0-18) (GCC) 
   COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/
   LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/
   COLLECT_GCC_OPTIONS='-z' 'noexecstack' '-o' '/project/camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' '-v' '-L/tmp/SVM-13436729235266490940' '-L/opt/mandrel/lib/static/linux-amd64/glibc' '-L/opt/mandrel/lib/svm/clibraries/linux-amd64' '-mtune=generic' '-march=x86-64'
    /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccvtgKLh.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /project/camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner -z noexecstack /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/tmp/SVM-13436729235266490940 -L/opt/mandrel/lib/static/linux-amd64/glibc -L/opt/mandrel/lib/svm/clibraries/linux-amd64 -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/us
 r/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. --gc-sections --version-script /tmp/SVM-13436729235266490940/exported_symbols.list -x camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner.o /opt/mandrel/lib/svm/clibraries/linux-amd64/liblibchelper.a /opt/mandrel/lib/static/linux-amd64/glibc/libnet.a /opt/mandrel/lib/static/linux-amd64/glibc/libnio.a /opt/mandrel/lib/static/linux-amd64/glibc/libjava.a /opt/mandrel/lib/static/linux-amd64/glibc/libfdlibm.a /opt/mandrel/lib/static/linux-amd64/glibc/libzip.a /opt/mandrel/lib/svm/clibraries/linux-amd64/libjvm.a --export-dynamic -lz -lpthread -ldl -lrt -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o
   camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner.o:(.data+0x3f0): undefined reference to `Java_com_sun_management_internal_OperatingSystemImpl_initialize0'
   collect2: error: ld returned 1 exit status
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.handleLinkerFailure(NativeImageViaCC.java:204)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.runLinkerCommand(NativeImageViaCC.java:151)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.image.NativeImageViaCC.write(NativeImageViaCC.java:117)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:724)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:539)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:408)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:612)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:134)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:94)
   ```
   
   Then that problem magically stopped happening and I now have:
   
   ```
   Failed generating 'camel-quarkus-integration-test-google-bigquery-3.0.0-SNAPSHOT-runner' after 42.3s.
   
   The build process encountered an unexpected error:
   
   java.lang.NullPointerException: Cannot invoke "java.util.Set.iterator()" because "triggers" is null
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.ReachabilityHandlerFeature.processReachable(ReachabilityHandlerFeature.java:173)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.ReachabilityHandlerFeature.duringAnalysis(ReachabilityHandlerFeature.java:128)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:770)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:86)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$11(NativeImageGenerator.java:770)
           at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.AbstractAnalysisEngine.runAnalysis(AbstractAnalysisEngine.java:179)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:767)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:582)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:539)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:408)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:612)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:134)
           at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:94)
   ```
   
   Which I see is also happening on the `quarkus-google-cloud-services` nightly CI:
   
   https://github.com/quarkiverse/quarkus-google-cloud-services/actions/runs/5341794760/jobs/9682960330


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612286698

   Well, I still got some random results with
   
   - `java.lang.NullPointerException: Cannot invoke "java.util.Set.iterator()" because "triggers" is null`
   - `undefined reference to 'Java_com_sun_management_internal_OperatingSystemImpl_initialize0'
   collect2: error: ld returned 1 exit status`
   - some refelection errors
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1611215007

   You have got a success build? Add some reflective class configurations?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612658014

   Oh, good catch! I just wonder why `gax-grpc` needs `-H:-RunReachabilityHandlersConcurrently` and it could be fixed in `graal` in the new release?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1613049608

   OK, thanks for clarifying and I'll prepare for a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1613033134

   Yes, once: 
   * https://github.com/oracle/graal/issues/6904 gets fixed 
   * or https://github.com/oracle/graal/pull/6908 gets merged and `gax-grpc` drops the `-H:-RunReachabilityHandlersConcurrently`
   
   you should no longer the work around, nor a `gax-grpc-extension`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zakkak commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zakkak (via GitHub)" <gi...@apache.org>.
zakkak commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1612730074

   > So since Quarkus is compatible with both 22.3 and 23.0 a proper fix on the Quarkus or Quarkus-camel would need to ensure it works in both versions.
   
   I opened [a backport request to get the fix in 22.3](https://github.com/oracle/graal/pull/6908) as well and avoid the need for special handling in Quarkus.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] zhfeng commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1614310929

   Thanks @zakkak - I've asked `apache-arrow` if they have a plan to backport the fix to `10.0.x` which is used by `com.google.cloud:google-cloud-bigquery`.
   
   Regards of substitution, I have no idea how to apply the fix. Any hint?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] loicmathieu commented on issue #5006: [Mandrel 23.0.0] google-bigquery integration test native compilation fails

Posted by "loicmathieu (via GitHub)" <gi...@apache.org>.
loicmathieu commented on issue #5006:
URL: https://github.com/apache/camel-quarkus/issues/5006#issuecomment-1692912083

   Hi,
   Still have this issue.
   Does someone try to contact the Google library team to see if they can remove the offending line in their native-image.properties?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org