Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mpeddada1/ab78ad6de53126ad637759540a5b0078 to your computer and use it in GitHub Desktop.
Save mpeddada1/ab78ad6de53126ad637759540a5b0078 to your computer and use it in GitHub Desktop.
1/8] Initializing... (8.0s @ 0.41GB)
Java version: 21.0.2+13, vendor version: GraalVM CE 21.0.2+13.1
Graal compiler: optimization level: 2, target machine: x86-64-v3
C compiler: gcc (linux, x86_64, 13.2.0)
Garbage collector: Serial GC (max heap size: 80% of RAM)
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
------------------------------------------------------------------------------------------------------------------------
1 experimental option(s) unlocked:
- '-H:ReflectionConfigurationResources' (origin(s): 'META-INF/native-image/io.grpc.netty.shaded.io.netty/netty-transport/native-image.properties' in 'file://$HOME/.m2/repository/io/grpc/grpc-netty-shaded/1.62.2/grpc-netty-shaded-1.62.2.jar')
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 26.49GB of memory (28.1% of 94.30GB system memory, determined at start)
- 24 thread(s) (100.0% of 24 available processor(s), determined at start)
Apr 30, 2024 7:49:11 PM 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 [$HOME/google-cloud-java/java-kms/google-cloud-kms/target/test-ids] and its subfolders.
[2/8] Performing analysis... [*****] (36.7s @ 1.93GB)
17,209 reachable types (88.5% of 19,452 total)
35,277 reachable fields (64.4% of 54,786 total)
146,848 reachable methods (59.1% of 248,598 total)
7,142 types, 1,674 fields, and 27,305 methods registered for reflection
79 types, 82 fields, and 62 methods registered for JNI access
4 native libraries: dl, pthread, rt, z
[3/8] Building universe... (7.6s @ 2.95GB)
[4/8] Parsing methods... [**] (3.2s @ 2.49GB)
[5/8] Inlining methods... [***] (3.1s @ 1.56GB)
[6/8] Compiling methods... [*****] (24.7s @ 1.72GB)
[7/8] Layouting methods... [***] (11.4s @ 3.24GB)
[8/8] Creating image... [***] (11.0s @ 4.19GB)
50.47MB (46.89%) for code area: 97,195 compilation units
48.89MB (45.43%) for image heap: 403,187 objects and 143 resources
8.27MB ( 7.68%) for other data
107.62MB in total
------------------------------------------------------------------------------------------------------------------------
Top 10 origins of code area: Top 10 object types in image heap:
14.41MB grpc-xds-1.62.2.jar 16.43MB byte[] for code metadata
12.30MB java.base 6.31MB byte[] for java.lang.String
3.78MB java.xml 5.55MB java.lang.Class
3.50MB grpc-netty-shaded-1.62.2.jar 3.73MB java.lang.String
2.68MB protobuf-java-3.25.3.jar 3.54MB byte[] for embedded resources
2.55MB com.google.cloud.kms.v1 2.57MB byte[] for reflection metadata
1.58MB svm.jar (Native Image) 1.44MB com.oracle.svm.core.hub.DynamicHubCompanion
1.17MB re2j-1.7.jar 1.20MB c.oracle.svm.core.reflect.SubstrateMethodAccessor
1.05MB proto-google-common-protos-2.38.1-SNAPSHOT.jar 831.02kB byte[] for general heap data
782.50kB grpc-core-1.62.2.jar 769.65kB java.lang.String[]
6.04MB for 77 more packages 6.55MB for 3354 more object types
------------------------------------------------------------------------------------------------------------------------
Recommendations:
INIT: Adopt '--strict-image-heap' to prepare for the next GraalVM release.
HEAP: Set max heap for improved and more predictable memory usage.
CPU: Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
8.2s (7.6% of total time) in 118 GCs | Peak RSS: 6.37GB | CPU load: 11.70
------------------------------------------------------------------------------------------------------------------------
Produced artifacts:
$HOME/google-cloud-java/java-kms/google-cloud-kms/target/native-tests (executable)
========================================================================================================================
Finished generating 'native-tests' in 1m 47s.
[INFO] Executing: $HOME/google-cloud-java/java-kms/google-cloud-kms/target/native-tests --xml-output-dir $HOME/google-cloud-java/java-kms/google-cloud-kms/target/native-test-reports -Djunit.platform.listeners.uid.tracking.output.dir=$HOME/google-cloud-java/java-kms/google-cloud-kms/target/test-ids
JUnit Platform on Native Image - report
----------------------------------------
Apr 30, 2024 7:50:51 PM com.google.auth.oauth2.DefaultCredentialsProvider warnAboutProblematicCredentials
WARNING: You are authenticating using user credentials. For production, we recommend using service account credentials.
To learn more about service account credentials, see http://cloud.google.com/docs/authentication/external/set-up-adc-on-cloud
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyPrimaryVersionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyVersionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getPublicKeyExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macVerifyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricSignTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listKeyRingsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > encryptTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listImportJobsTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listKeyRingsTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > destroyCryptoKeyVersionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyVersionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createKeyRingTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macSignExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeyVersionsTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricDecryptTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeysTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getKeyRingExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getImportJobTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > decryptExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createImportJobTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeyVersionsExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macSignExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getIamPolicyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listKeyRingsExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > generateRandomBytesTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricSignExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listImportJobsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getKeyRingExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getIamPolicyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyVersionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getPublicKeyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > rawDecryptTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > restoreCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getPublicKeyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > encryptExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macSignTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > destroyCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > restoreCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyVersionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > decryptTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyPrimaryVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > testIamPermissionsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > setIamPolicyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > rawDecryptExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > rawEncryptTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listLocationsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeyVersionsTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listLocationsTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > restoreCryptoKeyVersionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createKeyRingExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > destroyCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getImportJobTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricDecryptExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > encryptTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > decryptExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeyVersionsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macVerifyExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > importCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > rawEncryptExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createImportJobExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getLocationExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyPrimaryVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > restoreCryptoKeyVersionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createImportJobExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getPublicKeyTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyVersionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeysExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listImportJobsExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > encryptExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > testIamPermissionsTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listImportJobsTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getKeyRingTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macVerifyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricSignTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeysTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > decryptTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > setIamPolicyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listKeyRingsTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > generateRandomBytesExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > importCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getKeyRingTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricSignExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > listCryptoKeysExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getLocationTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createCryptoKeyVersionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > updateCryptoKeyPrimaryVersionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getCryptoKeyTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macSignTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricDecryptExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getImportJobExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createKeyRingTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createImportJobTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > getImportJobExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > macVerifyTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > asymmetricDecryptTest SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > destroyCryptoKeyVersionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.KeyManagementServiceClientTest > createKeyRingExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConfigExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > updateEkmConnectionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listEkmConnectionsExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > createEkmConnectionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > verifyConnectivityExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getIamPolicyTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConnectionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConnectionExceptionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getIamPolicyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > verifyConnectivityTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listEkmConnectionsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConnectionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listEkmConnectionsTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > createEkmConnectionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > testIamPermissionsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConfigExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > verifyConnectivityTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > setIamPolicyExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listLocationsExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listLocationsTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConfigTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > createEkmConnectionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > verifyConnectivityExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > updateEkmConfigExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getLocationExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > testIamPermissionsTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > listEkmConnectionsTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > updateEkmConnectionExceptionTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > setIamPolicyTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConnectionTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > updateEkmConfigTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getLocationTest SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > getEkmConfigTest2 SUCCESSFUL
com.google.cloud.kms.v1.EkmServiceClientTest > createEkmConnectionTest SUCCESSFUL
com.google.cloud.kms.it.ITKmsTest > ensureKmsKeyRingExists SUCCESSFUL
Test run finished after 725 ms
[ 5 containers found ]
[ 0 containers skipped ]
[ 5 containers started ]
[ 0 containers aborted ]
[ 5 containers successful ]
[ 0 containers failed ]
[ 145 tests found ]
[ 0 tests skipped ]
[ 145 tests started ]
[ 0 tests aborted ]
[ 145 tests successful ]
[ 0 tests failed ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment