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

spanner: TestClient_ReadWriteTransaction_Priority failed #8022

Closed
flaky-bot bot opened this issue May 31, 2023 · 1 comment
Closed

spanner: TestClient_ReadWriteTransaction_Priority failed #8022

flaky-bot bot opened this issue May 31, 2023 · 1 comment
Assignees
Labels
api: spanner Issues related to the Spanner API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented May 31, 2023

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: 01eff11
buildURL: Build Status, Sponge
status: failed

Test output
==================
WARNING: DATA RACE
Write at 0x00c0017e61b0 by goroutine 52536:
  cloud.google.com/go/spanner/internal/testutil.StatementResult.getResultSetWithTransactionSet()
      /tmpfs/src/google-cloud-go/spanner/internal/testutil/inmem_spanner_server.go:222 +0x74b
  cloud.google.com/go/spanner/internal/testutil.(*inMemSpannerServer).executeStreamingSQL()
      /tmpfs/src/google-cloud-go/spanner/internal/testutil/inmem_spanner_server.go:878 +0x53a
  cloud.google.com/go/spanner/internal/testutil.(*inMemSpannerServer).ExecuteStreamingSql()
      /tmpfs/src/google-cloud-go/spanner/internal/testutil/inmem_spanner_server.go:849 +0xa4
  cloud.google.com/go/spanner/apiv1/spannerpb._Spanner_ExecuteStreamingSql_Handler()
      /tmpfs/src/google-cloud-go/spanner/apiv1/spannerpb/spanner.pb.go:3909 +0xf8
  google.golang.org/grpc.(*Server).processStreamingRPC()
      /go/pkg/mod/google.golang.org/[email protected]/server.go:1631 +0x1fe7
  google.golang.org/grpc.(*Server).handleStream()
      /go/pkg/mod/google.golang.org/[email protected]/server.go:1718 +0xfae
  google.golang.org/grpc.(*Server).serveStreams.func1.1()
      /go/pkg/mod/google.golang.org/[email protected]/server.go:959 +0xec

Previous read at 0x00c0017e61b0 by goroutine 52529:
google.golang.org/protobuf/internal/impl.pointer.Elem()
/go/pkg/mod/google.golang.org/[email protected]/internal/impl/pointer_unsafe.go:119 +0x411
google.golang.org/protobuf/internal/impl.(*MessageInfo).marshalAppendPointer()
/go/pkg/mod/google.golang.org/[email protected]/internal/impl/encode.go:136 +0x3bf
google.golang.org/protobuf/internal/impl.appendMessageInfo()
/go/pkg/mod/google.golang.org/[email protected]/internal/impl/codec_field.go:238 +0x199
google.golang.org/protobuf/internal/impl.(*MessageInfo).marshalAppendPointer()
/go/pkg/mod/google.golang.org/[email protected]/internal/impl/encode.go:139 +0x499
google.golang.org/protobuf/internal/impl.(*MessageInfo).marshal()
/go/pkg/mod/google.golang.org/[email protected]/internal/impl/encode.go:107 +0xda
google.golang.org/protobuf/internal/impl.(*MessageInfo).marshal-fm()
:1 +0xd4
google.golang.org/protobuf/proto.MarshalOptions.marshal()
/go/pkg/mod/google.golang.org/[email protected]/proto/encode.go:166 +0x3c2
google.golang.org/protobuf/proto.MarshalOptions.MarshalAppend()
/go/pkg/mod/google.golang.org/[email protected]/proto/encode.go:125 +0xa5
github.com/golang/protobuf/proto.marshalAppend()
/go/pkg/mod/github.com/golang/[email protected]/proto/wire.go:40 +0xe4
github.com/golang/protobuf/proto.Marshal()
/go/pkg/mod/github.com/golang/[email protected]/proto/wire.go:23 +0x67
google.golang.org/grpc/encoding/proto.codec.Marshal()
/go/pkg/mod/google.golang.org/[email protected]/encoding/proto/proto.go:45 +0x68
google.golang.org/grpc/encoding/proto.(*codec).Marshal()
:1 +0x5d
google.golang.org/grpc.encode()
/go/pkg/mod/google.golang.org/[email protected]/rpc_util.go:632 +0x6a
google.golang.org/grpc.prepareMsg()
/go/pkg/mod/google.golang.org/[email protected]/stream.go:1753 +0x1b6
google.golang.org/grpc.(*serverStream).SendMsg()
/go/pkg/mod/google.golang.org/[email protected]/stream.go:1629 +0x34d
cloud.google.com/go/spanner/apiv1/spannerpb.(*spannerExecuteStreamingSqlServer).Send()
/tmpfs/src/google-cloud-go/spanner/apiv1/spannerpb/spanner.pb.go:3922 +0x54
cloud.google.com/go/spanner/internal/testutil.(*inMemSpannerServer).executeStreamingSQL()
/tmpfs/src/google-cloud-go/spanner/internal/testutil/inmem_spanner_server.go:906 +0x13a1
cloud.google.com/go/spanner/internal/testutil.(*inMemSpannerServer).ExecuteStreamingSql()
/tmpfs/src/google-cloud-go/spanner/internal/testutil/inmem_spanner_server.go:849 +0xa4
cloud.google.com/go/spanner/apiv1/spannerpb._Spanner_ExecuteStreamingSql_Handler()
/tmpfs/src/google-cloud-go/spanner/apiv1/spannerpb/spanner.pb.go:3909 +0xf8
google.golang.org/grpc.(*Server).processStreamingRPC()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1631 +0x1fe7
google.golang.org/grpc.(*Server).handleStream()
/go/pkg/mod/google.golang.org/[email protected]/server.go:1718 +0xfae
google.golang.org/grpc.(*Server).serveStreams.func1.1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:959 +0xec

Goroutine 52536 (running) created at:
google.golang.org/grpc.(*Server).serveStreams.func1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:957 +0x2b0
google.golang.org/grpc/internal/transport.(*http2Server).operateHeaders()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:631 +0x4ea9
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:673 +0x264
google.golang.org/grpc.(*Server).serveStreams()
/go/pkg/mod/google.golang.org/[email protected]/server.go:946 +0x261
google.golang.org/grpc.(*Server).handleRawConn.func1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:889 +0x64

Goroutine 52529 (finished) created at:
google.golang.org/grpc.(*Server).serveStreams.func1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:957 +0x2b0
google.golang.org/grpc/internal/transport.(*http2Server).operateHeaders()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:631 +0x4ea9
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams()
/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_server.go:673 +0x264
google.golang.org/grpc.(*Server).serveStreams()
/go/pkg/mod/google.golang.org/[email protected]/server.go:946 +0x261
google.golang.org/grpc.(*Server).handleRawConn.func1()
/go/pkg/mod/google.golang.org/[email protected]/server.go:889 +0x64

testing.go:1446: race detected during execution of test</pre></details>
@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels May 31, 2023
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label May 31, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Jun 1, 2023

Test passed for commit 83e9db5 (Build Status, Sponge)! Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant