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

server: TestListSessionsV2 failed #68150

Closed
cockroach-teamcity opened this issue Jul 28, 2021 · 2 comments · Fixed by #68158
Closed

server: TestListSessionsV2 failed #68150

cockroach-teamcity opened this issue Jul 28, 2021 · 2 comments · Fixed by #68158
Labels
branch-master Failures on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-server-and-security DB Server & Security

Comments

@cockroach-teamcity
Copy link
Member

server.TestListSessionsV2 failed with artifacts on master @ 8009ac6bb63f455a18bb1139d505bdd9930816b7:

Goroutine 827 (running) created at:
  github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx()
      /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:434 +0x28d
  github.com/cockroachdb/cockroach/pkg/server.(*statusServer).paginatedIterateNodes()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/status.go:2148 +0xb9c
  github.com/cockroachdb/cockroach/pkg/server.(*statusServer).listSessionsHelper()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/status.go:2204 +0x447
  github.com/cockroachdb/cockroach/pkg/server.(*apiV2Server).listSessions()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2.go:251 +0x39b
  github.com/cockroachdb/cockroach/pkg/server.(*apiV2Server).listSessions-fm()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2.go:243 +0x68
  net/http.HandlerFunc.ServeHTTP()
      /usr/local/go/src/net/http/server.go:2049 +0x51
  github.com/cockroachdb/cockroach/pkg/server.(*callCountDecorator).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2.go:193 +0x9e
  github.com/cockroachdb/cockroach/pkg/server.(*roleAuthorizationMux).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2_auth.go:436 +0x34f
  github.com/gorilla/mux.(*Router).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/vendor/github.com/gorilla/mux/mux.go:210 +0x132
  github.com/cockroachdb/cockroach/pkg/server.(*authenticationV2Mux).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2_auth.go:333 +0x3b5
  github.com/gorilla/mux.(*Router).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/vendor/github.com/gorilla/mux/mux.go:210 +0x132
  github.com/cockroachdb/cockroach/pkg/server.(*apiV2Server).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/api_v2.go:183 +0x6e
  net/http.(*ServeMux).ServeHTTP()
      /usr/local/go/src/net/http/server.go:2428 +0xaf
  github.com/cockroachdb/cockroach/pkg/server.(*Server).ServeHTTP()
      /go/src/github.com/cockroachdb/cockroach/pkg/server/server.go:2587 +0x24d
  net/http.serverHandler.ServeHTTP()
      /usr/local/go/src/net/http/server.go:2867 +0xca
  net/http.(*conn).serve()
      /usr/local/go/src/net/http/server.go:1932 +0x87d

Goroutine 777 (running) created at:
  google.golang.org/grpc/internal/transport.newHTTP2Client()
      /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/internal/transport/http2_client.go:346 +0x1488
  google.golang.org/grpc/internal/transport.NewClientTransport()
      /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/internal/transport/transport.go:574 +0x6c7
  google.golang.org/grpc.(*addrConn).createTransport()
      /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/clientconn.go:1328 +0x4f7
  google.golang.org/grpc.(*addrConn).tryAllAddrs()
      /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/clientconn.go:1258 +0x507
  google.golang.org/grpc.(*addrConn).resetTransport()
      /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/clientconn.go:1173 +0x33b
==================
    api_v2_test.go:127: -- test log scope end --
test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestListSessionsV2011937210
    testing.go:1092: race detected during execution of test
--- FAIL: TestListSessionsV2 (16.19s)
Reproduce

To reproduce, try:

make stressrace TESTS=TestListSessionsV2 PKG=./pkg/server TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Parameters in this failure:

  • GOFLAGS=-race -parallel=4

/cc @cockroachdb/server itsbilal

This test on roachdash | Improve this report!

@cockroach-teamcity cockroach-teamcity added branch-master Failures on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Jul 28, 2021
@blathers-crl blathers-crl bot added the T-server-and-security DB Server & Security label Jul 28, 2021
@knz
Copy link
Contributor

knz commented Jul 28, 2021

grpc breakage due to #67806

@knz
Copy link
Contributor

knz commented Jul 28, 2021

See #68154

@craig craig bot closed this as completed in dbbf8fb Jul 28, 2021
DB Server & Security automation moved this from To do to Done 21.2 Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-server-and-security DB Server & Security
Projects
DB Server & Security
  
Done 21.2
Development

Successfully merging a pull request may close this issue.

2 participants