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

chore(go/adbc): bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /go/adbc #1227

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2023

Bumps google.golang.org/grpc from 1.58.2 to 1.58.3.

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.58.3

Security

  • server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487)

    In addition to this change, applications should ensure they do not leave running tasks behind related to the RPC before returning from method handlers, or should enforce appropriate limits on any such work.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.2...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from zeroshade as a code owner October 25, 2023 21:36
@dependabot dependabot bot added dependencies Dependabot-only go Pull requests that update Go code labels Oct 25, 2023
@github-actions
Copy link

⚠️ Please follow the Conventional Commits format in CONTRIBUTING.md for PR titles.

@lidavidm lidavidm changed the title build(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /go/adbc chore(go/adbc): bump google.golang.org/grpc from 1.58.2 to 1.58.3 in /go/adbc Oct 25, 2023
@lidavidm
Copy link
Member

@zeroshade

[ RUN      ] DremioFlightSqlStatementTest.SqlIngestDate32
fatal error: concurrent map writes

goroutine 502 [running]:
google.golang.org/grpc/metadata.MD.Set(...)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/metadata/metadata.go:117
github.com/apache/arrow-adbc/go/adbc/driver/flightsql.(*bearerAuthMiddleware).HeadersReceived(0x10c0001421a0, {0x10c000038b80?, 0x7f31acc8bc4d?}, 0x10c000038b60?)
	/home/runner/work/arrow-adbc/arrow-adbc/go/adbc/driver/flightsql/flightsql_database.go:490 +0xea
github.com/apache/arrow/go/v13/arrow/flight.CreateClientMiddleware.func2.1({0x7f31acf29540, 0x10c0001120b0})
	/home/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/flight/client.go:153 +0x213
github.com/apache/arrow/go/v13/arrow/flight.CreateClientMiddleware.func2.2()
	/home/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/flight/client.go:161 +0x9f
created by github.com/apache/arrow/go/v13/arrow/flight.CreateClientMiddleware.func2
	/home/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/flight/client.go:156 +0x40d

goroutine 17 [runnable, locked to thread]:
github.com/apache/arrow-adbc/go/adbc/driver/flightsql.getFlightClient({0x7f31acf2ee28, 0x10c00011c000}, {0x10c00013e340, 0x1a}, 0x10c0002cc8f0)
	/home/runner/work/arrow-adbc/arrow-adbc/go/adbc/driver/flightsql/flightsql_database.go:390 +0x99c
github.com/apache/arrow-adbc/go/adbc/driver/flightsql.(*databaseImpl).Open(0x10c0002cc8f0, {0x7f31acf2ee28, 0x10c00011c000})
	/home/runner/work/arrow-adbc/arrow-adbc/go/adbc/driver/flightsql/flightsql_database.go:399 +0x85
github.com/apache/arrow-adbc/go/adbc/driver/driverbase.(*database).Open(0x60c000002488?, {0x7f31acf2ee28?, 0x10c00011c000?})
	/home/runner/work/arrow-adbc/arrow-adbc/go/adbc/driver/driverbase/database.go:134 +0x2b
main.FlightSQLConnectionInit(0x60c000002498, 0x60c000002488, 0x60c000002458)
	/home/runner/work/arrow-adbc/arrow-adbc/go/adbc/pkg/flightsql/driver.go:968 +0x1e4

goroutine 164 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0x10c0000fe730, 0x1)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:418 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0x10c000286a80)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:552 +0x91
google.golang.org/grpc/internal/transport.newHTTP2Client.func6()
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:451 +0x85
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:449 +0x2393

goroutine 516 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c000142580, {0x7f31acf2edf0, 0x10c0000e2100})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 178 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c0000de480, {0x7f31acf2edf0, 0x10c0000e2600})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 156 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c000142e80, {0x7f31acf2edf0, 0x10c000159f00})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 177 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c0000de420, {0x7f31acf2edf0, 0x10c0000e25c0})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 155 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c000142e20, {0x7f31acf2edf0, 0x10c000159ec0})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 163 [IO wait]:
internal/poll.runtime_pollWait(0x7f31ab031f68, 0x72)
	/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0x10c0000d4580?, 0x10c0000e6000?, 0x0)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x10c0000d4580, {0x10c0000e6000, 0x8000, 0x8000})
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0x10c0000d4580, {0x10c0000e6000?, 0x10c000082c80?, 0x7f31ac584a45?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0x10c0001261c8, {0x10c0000e6000?, 0x0?, 0x10c000082cc0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0x10c000322600, {0x10c0000f6040, 0x9, 0x0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/bufio/bufio.go:237 +0x1bb
io.ReadAtLeast({0x7f31acf292a0, 0x10c000322600}, {0x10c0000f6040, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:332 +0x9a
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:351
golang.org/x/net/http2.readFrameHeader({0x10c0000f6040?, 0x9?, 0xe4ac9991?}, {0x7f31acf292a0?, 0x10c000322600?})
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0x10c0000f6000)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Client).reader(0x10c0000d8480, 0x0?)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:1594 +0x265
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:397 +0x1d3b

goroutine 154 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c000142d40, {0x7f31acf2edf0, 0x10c000159e00})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 176 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c0000de300, {0x7f31acf2edf0, 0x10c0000e2400})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 515 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c000142300, {0x7f31acf2edf0, 0x10c0000e2040})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 198 [IO wait]:
Errors while running CTest
internal/poll.runtime_pollWait(0x7f31ab031d88, 0x72)
	/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0x10c0000d4780?, 0x10c000344000?, 0x0)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x10c0000d4780, {0x10c000344000, 0x8000, 0x8000})
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0x10c0000d4780, {0x10c000344000?, 0x10c000083c80?, 0x7f31ac584a45?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0x10c000126188, {0x10c000344000?, 0x0?, 0x10c000083cc0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0x10c000322900, {0x10c0000f6200, 0x9, 0x0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/bufio/bufio.go:237 +0x1bb
io.ReadAtLeast({0x7f31acf292a0, 0x10c000322900}, {0x10c0000f6200, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:332 +0x9a
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:351
golang.org/x/net/http2.readFrameHeader({0x10c0000f6200?, 0x9?, 0xf539fcb4?}, {0x7f31acf292a0?, 0x10c000322900?})
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0x10c0000f61c0)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Client).reader(0x10c00016eb40, 0x0?)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:1594 +0x265
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:397 +0x1d3b

goroutine 524 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0x10c000338320, 0x1)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:418 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0x10c0001440e0)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:552 +0x91
google.golang.org/grpc/internal/transport.newHTTP2Client.func6()
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:451 +0x85
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:449 +0x2393

goroutine 199 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0x10c0000fe8c0, 0x1)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:418 +0x115
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0x10c0001443f0)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/controlbuf.go:552 +0x91
google.golang.org/grpc/internal/transport.newHTTP2Client.func6()
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:451 +0x85
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:449 +0x2393

goroutine 501 [runnable]:
google.golang.org/grpc.newClientStreamWithParams.func4()
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/stream.go:391 +0x92
created by google.golang.org/grpc.newClientStreamWithParams
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/stream.go:390 +0xe6f

goroutine 517 [select]:
google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0x10c0001425e0, {0x7f31acf2edf0, 0x10c0000e2140})
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:83 +0x12a
created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/grpcsync/callback_serializer.go:55 +0x138

goroutine 523 [IO wait]:
internal/poll.runtime_pollWait(0x7f31ab031e78, 0x72)
	/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/netpoll.go:305 +0x89
internal/poll.(*pollDesc).wait(0x10c000284080?, 0x10c000296000?, 0x0)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x10c000284080, {0x10c000296000, 0x8000, 0x8000})
	/opt/hostedtoolcache/go/1.19.13/x64/src/internal/poll/fd_unix.go:167 +0x25a
net.(*netFD).Read(0x10c000284080, {0x10c000296000?, 0x10c00033fc80?, 0x7f31ac584a45?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/fd_posix.go:55 +0x29
net.(*conn).Read(0x10c0001261f8, {0x10c000296000?, 0x0?, 0x10c00033fcc0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/net/net.go:183 +0x45
bufio.(*Reader).Read(0x10c000323140, {0x10c0000f6120, 0x9, 0x0?})
	/opt/hostedtoolcache/go/1.19.13/x64/src/bufio/bufio.go:237 +0x1bb
io.ReadAtLeast({0x7f31acf292a0, 0x10c000323140}, {0x10c0000f6120, 0x9, 0x9}, 0x9)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:332 +0x9a
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.19.13/x64/src/io/io.go:351
golang.org/x/net/http2.readFrameHeader({0x10c0000f6120?, 0x9?, 0x10c00028c7e0?}, {0x7f31acf292a0?, 0x10c000323140?})
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x6e
golang.org/x/net/http2.(*Framer).ReadFrame(0x10c0000f60e0)
	/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:498 +0x95
google.golang.org/grpc/internal/transport.(*http2Client).reader(0x10c0000d8000, 0x0?)
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:1594 +0x265
created by google.golang.org/grpc/internal/transport.newHTTP2Client
	/home/runner/go/pkg/mod/google.golang.org/[email protected]/internal/transport/http2_client.go:397 +0x1d3b

from the CI here

@lidavidm
Copy link
Member

ok

		ctx, err = cl.Client.AuthenticateBasicToken(ctx, d.user, d.pass, grpc.Header(&header), grpc.Trailer(&trailer), d.timeout)
		if err != nil {
			return nil, adbcFromFlightStatusWithDetails(err, header, trailer, "AuthenticateBasicToken")
		}

		if md, ok := metadata.FromOutgoingContext(ctx); ok {
			// No need to worry about lock here since we are sole owner
			authMiddle.hdrs.Set("authorization", md.Get("Authorization")[0])
		}

I think this comment is wrong? Since we're using the client right before this so maybe the middleware is still running asynchronously

@lidavidm
Copy link
Member

I expect taking the lock there isn't a big deal, I'll file a PR for it tomorrow

@lidavidm lidavidm merged commit 4a34896 into main Oct 25, 2023
55 of 56 checks passed
@lidavidm lidavidm added this to the ADBC Libraries 0.8.0 milestone Oct 25, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/go/adbc/google.golang.org/grpc-1.58.3 branch October 25, 2023 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependabot-only go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant