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

kvserver: TestInitialHeartbeatFailedError is flaky #107245

Closed
erikgrinaker opened this issue Jul 20, 2023 · 1 comment · Fixed by #107248
Closed

kvserver: TestInitialHeartbeatFailedError is flaky #107245

erikgrinaker opened this issue Jul 20, 2023 · 1 comment · Fixed by #107248
Assignees
Labels
A-testing Testing tools and infrastructure C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered).

Comments

@erikgrinaker
Copy link
Contributor

erikgrinaker commented Jul 20, 2023

See in a CI failure:

=== RUN   TestInitialHeartbeatFailedError
E230719 20:44:44.193259 98060 2@rpc/peer.go:611  [rnode=1,raddr=127.0.0.99:64072,class=system,rpc] 71  failed connection attempt (last connected 0s ago): grpc: connection error: desc = "transport: error while dialing: gRPC connection unexpectedly re-dialed: dial tcp 127.0.0.99:64072: connect: connection refused" [code 14/Unavailable]
E230719 20:44:44.194548 98060 2@rpc/peer.go:611  [rnode=1,raddr=127.0.0.99:64072,class=system,rpc] 72  failed connection attempt (last connected 0s ago): grpc: connection error: desc = "transport: error while dialing: dial tcp 127.0.0.99:64072: connect: connection refused" [code 14/Unavailable]
E230719 20:44:45.200286 97965 2@rpc/peer.go:611  [rnode=1,raddr=127.0.0.1:44675,class=system,rpc] 73  failed connection attempt (last connected 0s ago): grpc: connection error: desc = "transport: error while dialing: gRPC connection unexpectedly re-dialed: connection interrupted (did the remote node shut down or are there networking issues?)" [code 14/Unavailable]
I230719 20:44:45.211058 98248 2@rpc/peer.go:537  [rnode=1,raddr=127.0.0.1:41665,class=system,rpc] 74  connection is now healthy
    context_test.go:2584:
          Error Trace:  github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context_test.go:2515
                              github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context_test.go:2584
          Error:        An error is expected but got nil.
          Test:         TestInitialHeartbeatFailedError
--- FAIL: TestInitialHeartbeatFailedError (1.05s)

Jira issue: CRDB-29960

@erikgrinaker erikgrinaker added C-test-failure Broken test (automatically or manually discovered). T-kv-replication labels Jul 20, 2023
@erikgrinaker erikgrinaker self-assigned this Jul 20, 2023
@blathers-crl
Copy link

blathers-crl bot commented Jul 20, 2023

cc @cockroachdb/replication

@craig craig bot closed this as completed in 0c9f44f Jul 20, 2023
@tbg tbg added A-testing Testing tools and infrastructure C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. labels Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Testing tools and infrastructure C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants