beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-2394) Postcommit_Java_JDK_Version_Test is broken since SpannerWriteIT failed
Date Wed, 31 May 2017 19:10:05 GMT
Mark Liu created BEAM-2394:
------------------------------

             Summary: Postcommit_Java_JDK_Version_Test is broken since SpannerWriteIT failed
                 Key: BEAM-2394
                 URL: https://issues.apache.org/jira/browse/BEAM-2394
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-gcp, testing
            Reporter: Mark Liu
            Assignee: Mairbek Khadikov


SpannerWriteIT.testWrite failed in Postcommit_Java_JDK_Version_Test since database didn't
setup successfully.

Error logs:
{code}
org.apache.beam.sdk.io.gcp.spanner.SpannerWriteIT
2017-05-31\T\12:21:30.032 [ERROR] testWrite(org.apache.beam.sdk.io.gcp.spanner.SpannerWriteIT)
 Time elapsed: 283.011 s  <<< ERROR!
java.lang.RuntimeException: 
(b2cfd106d806288f): com.google.cloud.spanner.SpannerException: NOT_FOUND: io.grpc.StatusRuntimeException:
NOT_FOUND: Database not found: projects/apache-beam-testing/instances/beam-test/databases/beam-testdb
resource_type: "type.googleapis.com/google.spanner.admin.database.v1.Database"
resource_name: "projects/apache-beam-testing/instances/beam-test/databases/beam-testdb"
description: "Database does not exist."

	at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerExceptionPreformatted(SpannerExceptionFactory.java:119)
	at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:71)
	at com.google.cloud.spanner.SpannerExceptionFactory.newSpannerException(SpannerExceptionFactory.java:58)
	at com.google.cloud.spanner.SessionPool$Waiter.take(SessionPool.java:376)
	at com.google.cloud.spanner.SessionPool$Waiter.access$2800(SessionPool.java:362)
	at com.google.cloud.spanner.SessionPool.getReadSession(SessionPool.java:697)
	at com.google.cloud.spanner.DatabaseClientImpl.writeAtLeastOnce(DatabaseClientImpl.java:37)
	at org.apache.beam.sdk.io.gcp.spanner.SpannerIO$SpannerWriteFn.flushBatch(SpannerIO.java:322)
	at org.apache.beam.sdk.io.gcp.spanner.SpannerIO$SpannerWriteFn.finishBundle(SpannerIO.java:281)
...
{code}

Jenkins link:
https://builds.apache.org/view/Beam/job/beam_PostCommit_Java_JDK_Versions_Test/26/jdk=OpenJDK%207%20(on%20Ubuntu%20only),label=beam/
https://builds.apache.org/view/Beam/job/beam_PostCommit_Java_JDK_Versions_Test/26/jdk=OpenJDK%208%20(on%20Ubuntu%20only),label=beam/

Note: the root directory of JDK version test contains space, which is the main difference
with Postcommit_Java_MavenInstall. It can be like: "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_JDK_Versions_Test/jdk/OpenJDK
7 (on Ubuntu only)/label/beam/..."



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message