beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2394) Postcommit_Java_JDK_Version_Test is broken since SpannerWriteIT failed
Date Mon, 05 Jun 2017 19:32:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037442#comment-16037442
] 

ASF GitHub Bot commented on BEAM-2394:
--------------------------------------

GitHub user mairbek opened a pull request:

    https://github.com/apache/beam/pull/3298

    [BEAM-2394] Support concurrent execution of SpannerWriteIT test 

    Generate a random table name.
    Assume Spanner database exists.
    
    Run Java JDK Version Test

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mairbek/beam BEAM-2394

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3298.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3298
    
----
commit 37410df0ecf8da2edc5e1f7df94c8290bd5e375d
Author: Mairbek Khadikov <mairbek@google.com>
Date:   2017-06-05T19:29:02Z

    Generate a random table name.
    Assume Spanner database exists.

----


> 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