Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Investigate GraalVM IT failure #112

Closed
stephaniewang526 opened this issue Apr 16, 2022 · 2 comments
Closed

Investigate GraalVM IT failure #112

stephaniewang526 opened this issue Apr 16, 2022 · 2 comments
Assignees
Labels
api: bigquerymigration Issues related to the googleapis/java-bigquerymigration API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@stephaniewang526
Copy link

Observed in: #111

[ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.11:test (test-native) on project google-cloud-bigquerymigration: Execution of /opt/graalvm-ce-java11-22.0.0.2/bin/native-image @/tmp/native-image3056259604140653187args org.graalvm.junit.platform.NativeImageJUnitLauncher returned non-zero result -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :google-cloud-bigquerymigration

Full stack trace

@product-auto-label product-auto-label bot added the api: bigquerymigration Issues related to the googleapis/java-bigquerymigration API. label Apr 16, 2022
@stephaniewang526 stephaniewang526 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed api: bigquerymigration Issues related to the googleapis/java-bigquerymigration API. labels Apr 16, 2022
@product-auto-label product-auto-label bot added the api: bigquerymigration Issues related to the googleapis/java-bigquerymigration API. label Apr 16, 2022
@mpeddada1
Copy link
Contributor

Thanks @stephaniewang526!

The following error might be happening because we have two copies of GaxPropertiesSubstitution:

Error: Substition: com.google.api.gax.core.GaxProperties.JAVA_VERSION conflicts with previously registered: com.google.api.gax.core.GaxProperties.JAVA_VERSION
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception

We're still using java-shared-config 1.3.2 in this and other repos. Once a new version of java-shared-config with googleapis/java-shared-config#465 is brought it, we should be able to address this issue.

@mpeddada1
Copy link
Contributor

mpeddada1 commented Apr 20, 2022

The Kokoro Native Image Support job is now passing after PR #113. Closing this issue, if it is okay with you @stephaniewang526?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: bigquerymigration Issues related to the googleapis/java-bigquerymigration API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants