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

Chamikara Madhusanka Jayalath commented on BEAM-8864:
-----------------------------------------------------

Seems like verify query returned zero results.

[https://builds.apache.org/job/beam_PostCommit_Python35/1123/testReport/junit/apache_beam.io.gcp.big_query_query_to_table_it_test/BigQueryQueryToTableIT/test_big_query_legacy_sql/]

apache_beam.io.gcp.tests.bigquery_matcher: INFO: Read from given query (SELECT 
fruit from `python_query_to_table_1575309894232.output_table`;), total rows 0

 

Seems like output table is just named "output_table": 
[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/big_query_query_to_table_it_test.py#L87]

 

So probably this test will be flaky in the presence of multiple test suites 
since one test suite could clean up the output table while another is running 
it. [~boyuanz] , have we considered randomizing output table name ?

 

 

> BigQueryQueryToTableIT.test_big_query_legacy_sql - fails in post commit tests
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-8864
>                 URL: https://issues.apache.org/jira/browse/BEAM-8864
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-py-gcp, test-failures
>            Reporter: Ahmet Altay
>            Assignee: Chamikara Madhusanka Jayalath
>            Priority: Critical
>             Fix For: Not applicable
>
>
> Logs: 
> [https://builds.apache.org/job/beam_PostCommit_Python35/1123/testReport/junit/apache_beam.io.gcp.big_query_query_to_table_it_test/BigQueryQueryToTableIT/test_big_query_legacy_sql/]
> Error Message
> Expected: (Test pipeline expected terminated in state: DONE and Expected 
> checksum is 158a8ea1c254fcf40d4ed3e7c0242c3ea0a29e72)
>  but: Expected checksum is 158a8ea1c254fcf40d4ed3e7c0242c3ea0a29e72 Actual 
> checksum is da39a3ee5e6b4b0d3255bfef95601890afd80709



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to