Skip to content

chore: running showcase test in CI#12916

Draft
suztomo wants to merge 2 commits intomainfrom
check-showcase-test
Draft

chore: running showcase test in CI#12916
suztomo wants to merge 2 commits intomainfrom
check-showcase-test

Conversation

@suztomo
Copy link
Copy Markdown
Member

@suztomo suztomo commented Apr 24, 2026

Checking the com.google.showcase.v1beta1.it.ITBidiStreaming test failure (connection closed) observed in #12906 (comment).

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds unnecessary trailing empty lines to the ITBidiStreaming.java test file. The review feedback correctly identifies these as style violations and notes that the current changes do not align with the PR's objective of implementing showcase tests in CI.

Comment on lines +108 to +110



Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

These trailing empty lines are unnecessary and should be removed to maintain code quality. Additionally, the current changes do not implement the 'running showcase test in CI' task described in the PR title.

References
  1. According to standard Java coding practices (e.g., Google Java Style Guide), files should end with a single newline character. Multiple trailing empty lines are unnecessary and should be avoided. (link)

@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Apr 24, 2026

It hit connection refused error, which makes the integration test stuck.

https://source.cloud.google.com/results/invocations/d35376e5-0052-4c8d-a9fc-bc118fcad3ce (Click "Test Fusion" -> "Build Log")

14:50:50:417 [ERROR] com.google.showcase.v1beta1.it.ITClientShutdown.testHttpJson_rpcInvoked_closeClient -- Time elapsed: 0.011 s <<< ERROR!
com.google.api.gax.rpc.UnknownException: java.net.ConnectException: Connection refused (Connection refused)
	at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:129)
	at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:86)
	at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:41)
	at com.google.api.gax.httpjson.HttpJsonApiExceptionFactory.create(HttpJsonApiExceptionFactory.java:83)
	at com.google.api.gax.httpjson.HttpJsonExceptionCallable$ExceptionTransformingFuture.onFailure(HttpJsonExceptionCallable.java:97)
	at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:84)
	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1125)
	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1004)
	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:767)
	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:516)
	at com.google.api.core.AbstractApiFuture$InternalSettableFuture.setException(AbstractApiFuture.java:92)
	at com.google.api.core.AbstractApiFuture.setException(AbstractApiFuture.java:74)
	at com.google.api.gax.httpjson.HttpJsonClientCalls$HttpJsonFuture.setException(HttpJsonClientCalls.java:142)
	at com.google.api.gax.httpjson.HttpJsonClientCalls$FutureListener.onClose(HttpJsonClientCalls.java:176)
	at com.google.api.gax.httpjson.ForwardingHttpJsonClientCallListener.onClose(ForwardingHttpJsonClientCallListener.java:54)
	at com.google.api.gax.httpjson.HttpJsonLoggingInterceptor$1$1.onClose(HttpJsonLoggingInterceptor.java:95)
	at com.google.api.gax.httpjson.HttpJsonClientCallImpl$OnCloseNotificationTask.call(HttpJsonClientCallImpl.java:557)
	at com.google.api.gax.httpjson.HttpJsonClientCallImpl.notifyListeners(HttpJsonClientCallImpl.java:395)
	at com.google.api.gax.httpjson.HttpJsonClientCallImpl.deliver(HttpJsonClientCallImpl.java:322)
	at com.google.api.gax.httpjson.HttpJsonClientCallImpl.setResult(HttpJsonClientCallImpl.java:168)
	at com.google.api.gax.httpjson.HttpRequestRunnable.run(HttpRequestRunnable.java:149)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
	Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task failed
		at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57)
		at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
		at com.google.showcase.v1beta1.EchoClient.echo(EchoClient.java:470)
		at com.google.showcase.v1beta1.it.ITClientShutdown.testHttpJson_rpcInvoked_closeClient(ITClientShutdown.java:68)
		at java.base/java.lang.reflect.Method.invoke(Method.java:566)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:508)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:603)
	at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:276)
	at java.base/[sun.net.www.http.HttpClient.New](https://www.google.com/url?q=http://sun.net.www.http.HttpClient.New&sa=D)(HttpClient.java:375)
	at java.base/[sun.net.www.http.HttpClient.New](https://www.google.com/url?q=http://sun.net.www.http.HttpClient.New&sa=D)(HttpClient.java:396)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient([HttpURLConnection.java:1253](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1253))
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0([HttpURLConnection.java:1187](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1187))
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect([HttpURLConnection.java:1081](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1081))
	at java.base/sun.net.www.protocol.http.HttpURLConnection.connect([HttpURLConnection.java:1015](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1015))
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0([HttpURLConnection.java:1367](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1367))
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream([HttpURLConnection.java:1342](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk25&q=sun/net/www/protocol/http/HttpURLConnection.java:1342))
	at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:113)
	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.api.gax.httpjson.HttpRequestRunnable.run(HttpRequestRunnable.java:115)
	... 6 more

14:50:50:426 [INFO] Running com.google.showcase.v1beta1.it.ITBidiStreaming

@chingor13
Copy link
Copy Markdown
Contributor

This should have been fixed in #12922

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants