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(main): release 0.127.21 #1437

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

release-please[bot]
Copy link
Contributor

@release-please release-please bot commented Jul 9, 2024

🤖 I have created a release beep boop

0.127.21 (2024-08-05)

Dependencies

  • Update dependency com.google.apis:google-api-services-storage to v1-rev20240625-2.0.0 (#1433) (e7dba8b)
  • Update dependency com.google.apis:google-api-services-storage to v1-rev20240706-2.0.0 (#1438) (ac99294)
  • Update dependency com.google.cloud:google-cloud-storage to v2.41.0 (#1441) (11dca80)
  • Update dependency com.google.cloud:sdk-platform-java-config to v3.33.0 (#1440) (0055ee0)

This PR was generated with Release Please. See documentation.

@release-please release-please bot requested a review from a team as a code owner July 9, 2024 21:10
@release-please release-please bot requested a review from a team as a code owner July 9, 2024 21:10
@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 Jul 9, 2024
@sydney-munro sydney-munro added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 15, 2024
@release-please release-please bot force-pushed the release-please--branches--main branch 2 times, most recently from 89b2673 to 25e6f7e Compare July 15, 2024 21:31
@release-please release-please bot force-pushed the release-please--branches--main branch from 25e6f7e to 389460e Compare July 24, 2024 16:00
@sydney-munro sydney-munro removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 24, 2024
@release-please release-please bot force-pushed the release-please--branches--main branch from 389460e to e95db52 Compare August 1, 2024 22:08
@release-please release-please bot force-pushed the release-please--branches--main branch from e95db52 to 3e455e0 Compare August 5, 2024 17:22
@sydney-munro sydney-munro added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 5, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 5, 2024
@suztomo
Copy link
Member

suztomo commented Aug 7, 2024

Error: No instances of jdk.internal.misc.InnocuousThread are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=jdk.internal.misc.InnocuousThread.
Detailed message:
Trace: Object was reached by
  reading field sun.net.www.http.KeepAliveCache.keepAliveTimer of constant 
    sun.net.www.http.KeepAliveCache@3d451c52: {}
  reading static field sun.net.www.http.HttpClient.kac
    at sun.net.www.http.HttpClient.New(HttpClient.java:342)
  parsing method sun.net.www.http.HttpClient.New(HttpClient.java:336) reachable via the parsing context
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1316)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1292)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057)
    at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:151)
    at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:84)
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1012)
    at com.google.auth.oauth2.ImpersonatedCredentials.refreshAccessToken(ImpersonatedCredentials.java:514)
    at com.google.auth.oauth2.OAuth2Credentials$1.call(OAuth2Credentials.java:270)
    at com.google.auth.oauth2.OAuth2Credentials$1.call(OAuth2Credentials.java:267)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(Thread.java:840)
    at java.lang.Shutdown.runHooks(Shutdown.java:130)
    at java.lang.Shutdown.exit(Shutdown.java:173)
    at com.oracle.svm.core.graal.snippets.CEntryPointSnippets.initializeIsolate(CEntryPointSnippets.java:335)
    at static root method.(Unknown Source)

@mpeddada1
Copy link
Contributor

mpeddada1 commented Aug 7, 2024

Documenting version for failing test:

[1/8] Initializing...                                                                                   (14.5s @ 0.29GB)
 Java version: 17.0.9+9, vendor version: GraalVM CE 17.0.9+9.1
 Graal compiler: optimization level: 2, target machine: x86-64-v3
 C compiler: gcc (redhat, x86_64, 4.8.5)
 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
Aug 06, 2024 5:31:34 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 [/tmpfs/src/github/java-storage-nio/google-cloud-nio/target/test-ids] and its subfolders.
[2/8] Performing analysis...  [*******]                                                                (119.8s @ 1.98GB)
  14,034 (86.53%) of 16,219 types reachable
  25,742 (64.10%) of 40,160 fields reachable
 113,504 (70.23%) of 161,610 methods reachable
   5,248 types, 2,284 fields, and 52,373 methods registered for reflection
      80 types,    88 fields, and    62 methods registered for JNI access
       4 native libraries: dl, pthread, rt, z

Documenting version for passing job:

[1/7] Initializing...                                                                                   (19.6s @ 0.41GB)
 Version info: 'GraalVM 22.3.3 Java 17 CE'
 Java version info: '17.0.8+7-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
Aug 05, 2024 8:50:18 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.

I'm able to reproduce the error locally with the following setup:

  1. sdk use java 17.0.9-graalce
  2. mvn test -Pnative

Using the --trace-object-initialization flag as instructed shows this class initialization hierarchy:

Error: No instances of jdk.internal.misc.InnocuousThread are allowed in the image heap as this class should be initialized at image runtime. Object has been initialized by the com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider class initializer with a trace: 
 	at jdk.internal.misc.InnocuousThread.<init>(InnocuousThread.java:128)
	at jdk.internal.misc.InnocuousThread.createThread(InnocuousThread.java:119)
	at jdk.internal.misc.InnocuousThread.newSystemThread(InnocuousThread.java:107)
	at jdk.internal.misc.InnocuousThread.newSystemThread(InnocuousThread.java:98)
	at sun.net.www.http.KeepAliveCache$1.run(KeepAliveCache.java:149)
	at sun.net.www.http.KeepAliveCache$1.run(KeepAliveCache.java:147)
	at java.security.AccessController.executePrivileged(AccessController.java:776)
	at java.security.AccessController.doPrivileged(AccessController.java:318)
	at sun.net.www.http.KeepAliveCache.put(KeepAliveCache.java:147)
	at sun.net.www.http.HttpClient.putInKeepAliveCache(HttpClient.java:500)
	at sun.net.www.http.HttpClient.finished(HttpClient.java:452)
	at sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:101)
	at sun.net.www.MeteredStream.justRead(MeteredStream.java:95)
	at sun.net.www.MeteredStream.read(MeteredStream.java:142)
	at java.io.FilterInputStream.read(FilterInputStream.java:132)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3698)
	at com.google.api.client.http.javanet.NetHttpResponse$SizeValidatingInputStream.read(NetHttpResponse.java:164)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.io.FilterInputStream.read(FilterInputStream.java:106)
	at com.google.api.client.util.ByteStreams.copy(ByteStreams.java:48)
	at com.google.api.client.util.IOUtils.copy(IOUtils.java:91)
	at com.google.api.client.util.IOUtils.copy(IOUtils.java:61)
	at com.google.api.client.http.HttpResponse.parseAsString(HttpResponse.java:513)
	at com.google.cloud.ServiceOptions.getAppEngineProjectIdFromMetadataServer(ServiceOptions.java:546)
	at com.google.cloud.ServiceOptions.getAppEngineProjectId(ServiceOptions.java:514)
	at com.google.cloud.ServiceOptions.getDefaultProjectId(ServiceOptions.java:421)
	at com.google.cloud.ServiceOptions.getDefaultProject(ServiceOptions.java:398)
	at com.google.cloud.ServiceOptions.<init>(ServiceOptions.java:338)
	at com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:118)
	at com.google.cloud.storage.HttpStorageOptions.<init>(HttpStorageOptions.java:66)
	at com.google.cloud.storage.HttpStorageOptions.<init>(HttpStorageOptions.java:53)
	at com.google.cloud.storage.HttpStorageOptions$Builder.build(HttpStorageOptions.java:262)
	at com.google.cloud.storage.HttpStorageOptions$Builder.build(HttpStorageOptions.java:136)
	at com.google.cloud.storage.contrib.nio.StorageOptionsUtil.<clinit>(StorageOptionsUtil.java:40)
	at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.<clinit>(CloudStorageFileSystemProvider.java:107)

@sydney-munro sydney-munro merged commit 8e4fc0b into main Aug 8, 2024
19 of 21 checks passed
@sydney-munro sydney-munro deleted the release-please--branches--main branch August 8, 2024 15:09
Copy link
Contributor Author

release-please bot commented Aug 8, 2024

🤖 Created releases:

Copy link

release-trigger bot commented Aug 8, 2024

Triggered job: cloud-devrel/client-libraries/java/java-storage-nio/release/stage (2024-08-08T18:07:23.903Z)

To trigger again, remove the autorelease: triggered label (in a few minutes).

@lqiu96
Copy link

lqiu96 commented Aug 8, 2024

Hmm odd, I don't see a release job kicked off. Doesn't seem like the release began. Going to remove the label and see if that works.

Copy link

The release build has started, the log can be viewed here. 🌻

Copy link

🥚 You hatched a release! The release build finished successfully! 💜

Copy link

The release build has started, the log can be viewed here. 🌻

Copy link

The release build has started, the log can be viewed here. 🌻

Copy link

The release build failed! Please investigate!

Copy link

The release build failed! Please investigate!

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. autorelease: failed autorelease: published size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants