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

VertexAI Flake: generateContentStream_withPlainText_nonEmptyCandidateList #10864

Closed
burkedavison opened this issue May 21, 2024 · 4 comments
Closed
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@burkedavison
Copy link
Contributor

From recent nightly build failure: https://fusion2.corp.google.com/invocations/11fc84ca-231a-4d90-a7cf-860ef92bb920/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fgoogle-cloud-java%2Fnightly%2Fgraalvm-sub-jobs%2Fnative-17%2Fgraalvm-native-17-13;config=default/log

Passed the next night, so this is a flake.

Failures (1):
  JUnit Vintage:ITGenerativeModelIntegrationTest:generateContentStream_withPlainText_nonEmptyCandidateList
    MethodSource [className = 'com.google.cloud.vertexai.it.ITGenerativeModelIntegrationTest', methodName = 'generateContentStream_withPlainText_nonEmptyCandidateList', methodParameterTypes = '']
    => com.google.api.gax.rpc.FailedPreconditionException: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: The output data is not valid json. Original output: {
    "predictions": [[NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN]
    ]
}.
       com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:102)
       com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:41)
       com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:86)
       com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:66)
       com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:82)
       [...]
       Suppressed: java.lang.RuntimeException: Asynchronous task failed
         com.google.api.gax.rpc.ServerStreamIterator.hasNext(ServerStreamIterator.java:105)
         com.google.cloud.vertexai.generativeai.ResponseStreamIteratorWithHistory.hasNext(ResponseStreamIteratorWithHistory.java:37)
         com.google.cloud.vertexai.it.ITGenerativeModelIntegrationTest.assertNonEmptyAndLogTextContentOfResponseStream(ITGenerativeModelIntegrationTest.java:122)
         com.google.cloud.vertexai.it.ITGenerativeModelIntegrationTest.generateContentStream_withPlainText_nonEmptyCandidateList(ITGenerativeModelIntegrationTest.java:218)
         java.base@17.0.8/java.lang.reflect.Method.invoke([Method.java:568](https://cs.corp.google.com/#search/&sq=package:%5Epiper$%20project:openjdk21&q=java/lang/reflect/Method.java:568))
     Caused by: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: The output data is not valid json. Original output: {
    "predictions": [[NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN]
    ]
}.
       io.grpc.Status.asRuntimeException(Status.java:533)
       [...]
@lqiu96 lqiu96 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels May 21, 2024
@lqiu96
Copy link
Contributor

lqiu96 commented May 21, 2024

@ZhenyiQ FYI

@suztomo
Copy link
Member

suztomo commented Aug 19, 2024

@jaycee-li Would you check this issue too?

@jaycee-li
Copy link
Contributor

This is a flaky test resulting from a backend error. No action is needed as it has only happened once.

@suztomo
Copy link
Member

suztomo commented Aug 20, 2024

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in 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

4 participants