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

Investigate novel bigquery system test failures #1104

Closed
dhermes opened this issue Aug 27, 2015 · 5 comments
Closed

Investigate novel bigquery system test failures #1104

dhermes opened this issue Aug 27, 2015 · 5 comments
Assignees
Labels
api: bigquery Issues related to the BigQuery API. testing

Comments

@dhermes
Copy link
Contributor

dhermes commented Aug 27, 2015

  1. Job state not DONE
======================================================================
FAIL: test_load_table_from_storage_then_dump_table (bigquery.TestBigQuery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/bigquery.py", line 304, in test_load_table_from_storage_then_dump_table
    self.assertTrue(job.state in ('DONE', 'done'))
AssertionError: False is not true

From:

  1. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77509799
  2. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/78073572
  3. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/95718525
  4. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/95827336
  5. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/97283623
  6. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/98448630
  7. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/100920167
  8. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/100929401
  9. Dataset not cleaned up from previous failed run (or concurrent run)

From:

  1. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77772358
  2. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/78113108
  3. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/79729612
  4. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/97489872
  5. Eventual consistency
======================================================================
FAIL: test_load_table_then_dump_table (bigquery.TestBigQuery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/bigquery.py", line 239, in test_load_table_then_dump_table
    sorted(ROWS, key=by_age))
AssertionError: Lists differ: [] != [('Bhettye Rhubble', 27), ('Wylma Phlyntst[57 chars] 33)]
Second list contains 4 additional elements.
First extra element 0:
('Bhettye Rhubble', 27)
- []
+ [('Bhettye Rhubble', 27),
+  ('Wylma Phlyntstone', 29),
+  ('Phred Phlyntstone', 32),
+  ('Bharney Rhubble', 33)]

From https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/78498010

@dhermes dhermes added testing api: bigquery Issues related to the BigQuery API. labels Aug 27, 2015
@dhermes
Copy link
Contributor Author

dhermes commented Aug 31, 2015

@tseaver Concurrent runs make BQ tests fail hard since they can't re-create the dataset. Can we make the dataset name scoped to the millisecond (or microsecond) so there won't be name collisions?

@dhermes
Copy link
Contributor Author

dhermes commented Sep 10, 2015

@tseaver https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/79729612 (the most recent merge) had an issue with the fixed name of the dataset used. I just deleted it by hand from the Cloud Console.

@tseaver
Copy link
Contributor

tseaver commented Sep 10, 2015

@dhermes #1131 should address the name-clash on dataset IDs.

@tseaver
Copy link
Contributor

tseaver commented Mar 18, 2016

I'm going to call this one done: #1131 handled the dataset ID uniqueness issue, and the remaining timeout / backoff issues are tracked in #1391 / #1619.

@tseaver tseaver closed this as completed Mar 18, 2016
@tseaver
Copy link
Contributor

tseaver commented Aug 3, 2016

#2050 tidies up the ad-hockery added earlier for these cases.

@dhermes dhermes added the flaky label Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. testing
Projects
None yet
Development

No branches or pull requests

2 participants