Closed stephen-soltesz closed 2 years ago
However, I cannot reproduce this locally using:
while go test -count=1 -v ./tracker/... ./ops/... -race ; do sleep .1 ; done
Another potentially flaky failure in cloud/bq/sanity*
Step #3 - "Run all gardener unit tests": ? github.com/m-lab/etl-gardener/cloud [no test files]
Step #3 - "Run all gardener unit tests": === RUN Test_getTableParts
Step #3 - "Run all gardener unit tests": --- PASS: Test_getTableParts (0.00s)
Step #3 - "Run all gardener unit tests": === RUN TestSanityCheckAndCopy
Step #3 - "Run all gardener unit tests": 2021/11/18 02:00:48 sanity.go:207: googleapi: Error 400: Cannot parse as CloudRegion., badRequest
Step #3 - "Run all gardener unit tests": 2021/11/18 02:00:48 sanity.go:208: Query:
Step #3 - "Run all gardener unit tests": #standardSQL
Step #3 - "Run all gardener unit tests": SELECT COUNT(DISTINCT test_id) AS TestCount, COUNT(DISTINCT task_filename) AS TaskFileCount
Step #3 - "Run all gardener unit tests": FROM `dataset.foo_19990101`
Step #3 - "Run all gardener unit tests": -- where clause
Step #3 - "Run all gardener unit tests": 2021/11/18 02:00:48 sanity.go:113: project:dataset.foo_19990101 foo_19990101
Step #3 - "Run all gardener unit tests": sanity_test.go:80: googleapi: Error 400: Cannot parse as CloudRegion., badRequest
Step #3 - "Run all gardener unit tests": --- FAIL: TestSanityCheckAndCopy (0.64s)
Succeeds on retry.
TheTestSanityCheckAndCopy
is still flaky...
During cloud build, the etl gardener
go test -race
step for thetracker
package failed on two builds, and succeeded on a third.This is a possible race condition.