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

chore: troubleshooting PR 1414 #1418

Closed
wants to merge 4 commits into from

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Jun 11, 2024

Troubleshooting the pull request #1414. The tests commented out are the ones that fail in normal executions.

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the googleapis/java-storage-nio API. labels Jun 11, 2024
@suztomo
Copy link
Member Author

suztomo commented Jun 11, 2024

The same error in https://source.cloud.google.com/results/invocations/c2749c3d-ceec-439b-a14e-d26ae7789631

[1/7] Initializing...                                                                                   (19.7s @ 0.54GB)
 Version info: 'GraalVM 22.3.3 Java 11 CE'
 Java version info: '11.0.20+8-jvmci-22.3-b22'
 C compiler: gcc (redhat, x86_64, 4.8.5)
 Garbage collector: Serial GC
 5 user-specific feature(s)
 - com.google.api.gax.grpc.nativeimage.GrpcNettyFeature
 - com.google.api.gax.nativeimage.GoogleJsonClientFeature
 - com.google.api.gax.nativeimage.OpenCensusFeature
 - com.oracle.svm.thirdparty.gson.GsonFeature
 - org.graalvm.junit.platform.JUnitPlatformFeature
Jun 11, 2024 2:37:11 AM com.google.api.gax.nativeimage.NativeImageUtils registerClassForReflection
WARNING: Failed to find io.grpc.netty.shaded.io.netty.channel.ProtocolNegotiators on the classpath for reflection.
[junit-platform-native] Running in 'test listener' mode using files matching pattern [junit-platform-unique-ids*] found in folder [/tmpfs/src/github/java-storage-nio/google-cloud-nio/target/test-ids] and its subfolders.
[2/7] Performing analysis...  []                                                                        (59.6s @ 0.74GB)
   8,083 (79.45%) of 10,174 classes reachable
  12,374 (67.14%) of 18,430 fields reachable
  37,326 (39.83%) of 93,703 methods reachable
     899 classes, 2,091 fields, and 28,354 methods registered for reflection

Error: Classes that should be initialized at run time got initialized during image building:
 com.google.api.client.util.Base64 was unintentionally initialized at build time. To see why com.google.api.client.util.Base64 got initialized use --trace-class-initialization=com.google.api.client.util.Base64
To see how the classes got initialized, use --trace-class-initialization=com.google.api.client.util.Base64
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception

@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jun 11, 2024
@sydney-munro
Copy link
Contributor

@suztomo I am going to close this. please reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage-nio API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants