google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

datastore: TestIntegration_IgnoreFieldMismatch failed

Open flaky-bot[bot] opened this issue 1 year ago • 1 comments

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting.


commit: 9afb797d75499807b29c372ec375668be4d2995e buildURL: Build Status, Sponge status: failed

flaky-bot[bot] avatar Aug 21 '24 20:08 flaky-bot[bot]

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (9afb797d75499807b29c372ec375668be4d2995e), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

flaky-bot[bot] avatar Aug 21 '24 20:08 flaky-bot[bot]

Error from logs:

=== RUN   TestIntegration_IgnoreFieldMismatch
=== RUN   TestIntegration_IgnoreFieldMismatch/Without_IgnoreFieldMismatch_option
=== RUN   TestIntegration_IgnoreFieldMismatch/With_IgnoreFieldMismatch_option
--- FAIL: TestIntegration_IgnoreFieldMismatch (1.90s)
    --- PASS: TestIntegration_IgnoreFieldMismatch/Without_IgnoreFieldMismatch_option (1.32s)
    --- FAIL: TestIntegration_IgnoreFieldMismatch/With_IgnoreFieldMismatch_option (0.38s)
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 187 [running]:
testing.tRunner.func1.2({0x1255c60, 0xc000040600})
	/[usr/local/go/src/testing/testing.go:1632](https://cs.corp.google.com/piper///depot/google3/usr/local/go/src/testing/testing.go?l=1632) +0x3fc
testing.tRunner.func1()
	/[usr/local/go/src/testing/testing.go:1635](https://cs.corp.google.com/piper///depot/google3/usr/local/go/src/testing/testing.go?l=1635) +0x6b6
panic({0x1255c60?, 0xc000040600?})
	/[usr/local/go/src/runtime/panic.go:785](https://cs.corp.google.com/piper///depot/google3/usr/local/go/src/runtime/panic.go?l=785) +0x132
[cloud.google.com/go/datastore.compareIgnoreFieldMismatchResults(0xc00010c680](http://cloud.google.com/go/datastore.compareIgnoreFieldMismatchResults(0xc00010c680), {0xc0005800c0, 0x2, 0x60500000004?}, {0x0, 0x0, 0xc000214d50?}, {0x0, 0x0}, {0x0, ...}, ...)
	/tmpfs/src/google-cloud-[go/datastore/integration_test.go:387](http://goto.google.com/datastore/integration_test.go:387) +0x436
[cloud.google.com/go/datastore.TestIntegration_IgnoreFieldMismatch.func3(0xc00010c680)](http://cloud.google.com/go/datastore.TestIntegration_IgnoreFieldMismatch.func3(0xc00010c680))
	/tmpfs/src/google-cloud-[go/datastore/integration_test.go:353](http://goto.google.com/datastore/integration_test.go:353) +0x9cc
testing.tRunner(0xc00010c680, 0xc00025cc80)
	/[usr/local/go/src/testing/testing.go:1690](https://cs.corp.google.com/piper///depot/google3/usr/local/go/src/testing/testing.go?l=1690) +0x227
created by testing.(*T).Run in goroutine 172
	/[usr/local/go/src/testing/testing.go:1743](https://cs.corp.google.com/piper///depot/google3/usr/local/go/src/testing/testing.go?l=1743) +0x826
FAIL	[cloud.google.com/go/datastore](http://cloud.google.com/go/datastore)	2.572s
FAIL

bhshkh avatar May 23 '25 00:05 bhshkh

Test consistently passes in latest builds. No longer flaky

bhshkh avatar May 23 '25 01:05 bhshkh