Commit Graph

617 Commits

Author SHA1 Message Date
Lidi Zheng 78df8ec077
test/kokoro: Use xds-test-server-5 as the GCE interop server (#5071) 2021-12-22 15:54:08 -08:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Menghan Li c2bccd0b15
xds/kokoro: install go 1.17, and retry go build (#5015) 2021-11-30 15:31:14 -08:00
sanjaypujare b2317c7627
test/kokoro: rename xds_k8s to psm-security as part of tech-debt cleanup and name clarity (#4979) 2021-11-15 09:45:00 -08:00
Easwar Swaminathan 82d8af8bf0
balancer: add Authority field to balancer.BuildOptions (#4969) 2021-11-11 10:59:18 -08:00
Easwar Swaminathan dd767416a6
grpc: implement WithInsecure() using the insecure package (#4718) 2021-11-09 15:42:07 -08:00
Doug Fawley c25a52b769
config: remove retry disable via environment variable (#4922) 2021-11-09 13:06:38 -08:00
Ryan Leung 14ebd917f2
lint: fix some unused parameter issues (#4956) 2021-11-09 11:18:21 -08:00
Eric Anderson 878cea2310
kokoro: Enable xds authz_test (#4954)
* kokoro: Enable xds authz_test
2021-11-05 15:03:53 -04:00
Easwar Swaminathan aaff9e7ab9
grpc: better RFC 3986 compliant target parsing (#4817) 2021-10-14 14:54:02 -07:00
Menghan Li 45097a8aa6
Revert "kokoro: remove expired letsencrypt.org cert and update" (#4860) 2021-10-13 10:50:52 -07:00
Terry Wilson 524d10cbce
kokoro: source test driver install script from core repo (#4825) 2021-10-07 11:58:49 -07:00
Menghan Li f2974e7778
kokoro: remove expired letsencrypt.org cert and update (#4840) 2021-10-04 11:54:27 -07:00
Doug Fawley f068a13ef0
server: add missing conn.Close if the connection dies before reading the HTTP/2 preface (#4837) 2021-10-04 11:22:00 -07:00
Zach Reyes 689f7b154e
transport: logic specified in A41 to support RBAC xDS HTTP Filter (#4803)
* transport: logic specified in A41 to support RBAC xDS HTTP Filter
2021-09-27 16:55:46 -04:00
Doug Fawley 11437f66f2
test: add option to make httpServer wait for END_STREAM; fix RetryStats race (#4811) 2021-09-24 15:29:25 -07:00
Doug Fawley 4ddf8ceaa7
Revert "transport/server: add :method POST to incoming metadata (#4770)" (#4790)
This reverts commit c84a5de064.
2021-09-21 10:55:00 -07:00
Lidi Zheng 1109452fd1
[Backport grpc#27373] add testing_version flag (#4783) 2021-09-17 15:19:26 -07:00
Menghan Li 03b2ebe508
xds: enable ringhash and retry by default (#4776) 2021-09-16 11:07:04 -07:00
Ed Warnicke b186ee8975
test/bufconn: add Listener.DialContext(context.Context) (#4763) 2021-09-16 07:59:36 -07:00
Zach Reyes c84a5de064
transport/server: add :method POST to incoming metadata (#4770)
* transport/server: add :method POST to incoming metadata
2021-09-15 17:02:08 -04:00
Doug Fawley d41f21ca05
stats: support stats for all retry attempts; support transparent retry (#4749) 2021-09-14 15:11:42 -07:00
Doug Fawley d25e31e741
client: fix case where GOAWAY would leak connections and memory (#4755) 2021-09-10 14:12:13 -07:00
Doug Fawley a6a63177ae
xds: add retry support (#4738) 2021-09-08 10:00:44 -07:00
Lidi Zheng f7d66b5846
Change to a non-workload-identity GKE cluster (#4723) 2021-08-31 13:42:43 -07:00
Doug Fawley d074cae66b
github: fold security tests into 'tests'; update testing to 1.17-1.15 (#4708) 2021-08-26 11:21:36 -07:00
Easwar Swaminathan 6bd8e8cf30
multiple: remove support for Go 1.11 (#4700) 2021-08-24 14:24:34 -07:00
Easwar Swaminathan 46ab723bb2
multiple: remove appengine specific build constraints and code (#4685) 2021-08-24 12:30:13 -07:00
Easwar Swaminathan 45a623cbef
test: use non blocking dials in end2end_test (#4687) 2021-08-24 10:02:55 -07:00
Doug Fawley 8ab16ef276
balancer: add ExitIdle optional interface (#4673) 2021-08-18 15:04:35 -07:00
Lidi Zheng 88dc96b463
Copy the tag_and_push_docker_image method to grpc-go (#4667) 2021-08-11 14:33:44 -07:00
Lidi Zheng c7c1e9e0ec
Update xDS client/server image per-branch tag after build (#4661) 2021-08-10 20:31:26 -07:00
Doug Fawley 997ce619eb
clientconn: do not automatically reconnect addrConns; go idle instead (#4613) 2021-08-10 13:22:34 -07:00
Zach Reyes 01bababd83
Added connection to transport context (#4649)
* Added connection to transport context
2021-08-09 23:15:57 -04:00
Lidi Zheng 00edd8c13a
Add xDS k8s url-map test Kokoro job (#4614) 2021-07-26 13:02:56 -07:00
John Howard 0103ea2d6c
client: improve GOAWAY debug messages (#4587) 2021-07-14 13:59:50 -07:00
James Protzman ba41bbac22
transport: validate http 200 status for responses (#4474) 2021-07-14 10:54:58 -07:00
Zach Reyes b9270c3a7f
client: add deadline for TransportCredentials handshaker (#4559)
* Add deadline on connection for TransportCredentials handshake
2021-06-23 16:36:24 -04:00
Sergii Tkachenko 50328cf800
buildscripts: add option to use xds-k8s test driver from a fork (#4548) 2021-06-21 12:11:57 -07:00
Easwar Swaminathan 2de42fcbbc
kokoro: Specify the correct path to the build config (#4495) 2021-05-26 15:35:27 -07:00
Easwar Swaminathan bbb542c3d9
Kokoro build configs for PSM security interop tests (#4481) 2021-05-25 15:46:02 -07:00
Easwar Swaminathan 728364accf
server: return UNIMPLEMENTED on receipt of malformed method name (#4464) 2021-05-24 17:30:40 -07:00
Ehsan Afzali a8e85e0d57
server: allow PreparedMsgs to work for server streams (#3480) 2021-05-21 15:54:24 -07:00
Doug Fawley 84d0920b59
transport: unblock read throttling when controlbuf exits (#4447) 2021-05-19 11:05:26 -07:00
Doug Fawley 62adda2ece
client: fix ForceCodec to set content-type header appropriately (#4401) 2021-05-11 17:05:16 -07:00
Doug Fawley 328b1d171a
transport: allow InTapHandle to return status errors (#4365) 2021-05-07 14:37:52 -07:00
Menghan Li 0ab423af82
test: fix flaky GoAwayThenClose (#4394)
In this test, we
1. make a streaming RPC on a connection
1. graceful stop it to send a GOAWAY
1. hard stop it, so the client will create a connection to another server

Before this fix, 2 and 3 can happen too soon, so the RPC in 1 would fail
and then transparent retry (because the stream is unprocessed by the
server in that case).

This retry attempt could pick the new connection, and then the RPC would
block until timeout.

After this streaming RPC fails, we make unary RPCs with the same
deadline (note: deadline not timeout) as the streaming RPC and expect
them to succeed. But they will also fail due to timeout.

The fix is to make a round-trip on the streaming RPC first, to make sure
it actually goes on the first connection.
2021-05-07 11:55:48 -07:00
Mikhail Mazurskiy d2d6bdae07
server: add ForceServerCodec() to set a custom encoding.Codec on the server (#4205) 2021-05-06 09:40:54 -07:00
Lidi Zheng d426aa5f2e
test: extend the xDS interop tests timeout to 360 mins (#4380) 2021-05-05 13:37:13 -07:00
apolcyn 9572fd6fae
client: include details about GOAWAYs in status messages (#4316) 2021-04-23 17:26:26 -07:00