Doug Fawley
1ec054bb67
transport/server: fix race that could cause a stray header to be sent ( #5513 )
2022-07-28 16:38:04 -07:00
Easwar Swaminathan
2f60cb8b27
test: improve the logic for checking round_robin ( #5534 )
2022-07-28 13:42:47 -07:00
Sergii Tkachenko
f601dfac73
test/kokoro: Add missing secondary_kube_context to xds LB tests ( #5508 )
2022-07-15 16:28:52 -07:00
Easwar Swaminathan
4f47c8c163
test/xds: wait for all ACKs before forcing stream restart ( #5500 )
2022-07-14 12:12:48 -07:00
Zach Reyes
a094a1095c
Fix race between activeStreams and bdp window size ( #5494 )
...
* Fix race between activeStreams and bdp window size
2022-07-13 11:37:09 -04:00
Easwar Swaminathan
a6dcb714b2
xdsclient: don't reset version info after stream restart ( #5422 )
2022-07-06 10:31:02 -07:00
Easwar Swaminathan
15739b5c88
health: split imports into healthpb and healthgrpc ( #5466 )
2022-06-24 13:31:35 -07:00
Easwar Swaminathan
d883f3d5fa
test/xds: fail only when state changes to something other than READY and IDLE ( #5463 )
2022-06-24 10:23:13 -07:00
Sergii Tkachenko
1dabf5459d
test/kokoro: use standard TESTING_VERSION in the new framework builds ( #5434 )
2022-06-16 16:45:19 -07:00
Lidi Zheng
a0d5484ee3
interop: remove duplicated xDS tests in GCE framework ( #5395 )
2022-06-06 15:42:49 -07:00
Easwar Swaminathan
e41f868588
test/xds: move tests to a package with _test suffix ( #5382 )
2022-05-25 17:03:52 -07:00
Easwar Swaminathan
c0e35731fa
xds: move e2e tests into grpc/test/xds directory ( #5363 )
2022-05-24 11:13:30 -07:00
Doug Fawley
799605c228
client: fix potential panic during RPC retries ( #5323 )
2022-05-04 10:06:12 -07:00
idiamond-stripe
924e4849c5
server: return better status for context err when writing header ( #5292 )
2022-04-08 13:10:16 -07:00
Easwar Swaminathan
0066bf69de
grpc: perform graceful switching of LB policies in the `ClientConn` by default ( #5285 )
2022-04-01 13:14:35 -07:00
Easwar Swaminathan
42cadc171d
test: cleanup balancer switching tests ( #5271 )
2022-03-30 12:58:41 -07:00
Easwar Swaminathan
b6873c006d
grpc: move to `TransientFailure` in `pick_first` LB policy when all addresses are removed ( #5274 )
2022-03-29 15:06:28 -07:00
Easwar Swaminathan
562e12f07b
test: use channelz instead of stats handler to determine RPC count ( #5275 )
2022-03-28 10:47:08 -07:00
Easwar Swaminathan
34660d1029
test: use `t.Fatal` instead of `panic` for service config parsing errors ( #5266 )
2022-03-22 14:37:12 -07:00
Easwar Swaminathan
96bdede4df
pickfirst: cleanup tests ( #5263 )
2022-03-22 14:33:41 -07:00
Easwar Swaminathan
e49486ded2
test: add a test for clientConn close with pending RPC ( #5264 )
2022-03-22 14:32:53 -07:00
Easwar Swaminathan
597e5d1b1a
don't apply defaultSC upon receipt of invalid service config ( #5257 )
2022-03-22 08:50:50 -07:00
Lidi Zheng
63bdcbcce5
xds/interop: add xds_k8s_lb test suite ( #5250 )
2022-03-21 13:57:45 -07:00
Easwar Swaminathan
94ee3865e1
test: cleanup roundrobin tests to use stubserver ( #5236 )
2022-03-15 17:01:07 -07:00
Easwar Swaminathan
eead9a824c
grpc: delete deprecated API WithBalancerName() ( #5232 )
2022-03-10 13:15:11 -08:00
Easwar Swaminathan
87b0a8d6db
test: use real grpc.Server in call tests ( #5213 )
2022-03-02 13:40:15 -08:00
白泽
e601f1ae37
fix: does not validate metadata keys and values ( #4886 )
2022-02-23 11:15:55 -08:00
Easwar Swaminathan
a73725f42d
channelz: include channelz identifier in logs ( #5192 )
2022-02-23 07:30:06 -08:00
Easwar Swaminathan
a354b1eec3
channelz: rename NewChannelzStorage to NewChannelzStorageForTesting ( #5190 )
2022-02-09 14:14:44 -08:00
赵延
c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials ( #5177 )
2022-02-09 11:17:46 -08:00
Menghan Li
61a6a06b88
server: handle context errors returned by service handler ( #5156 )
2022-01-26 11:02:23 -08:00
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
Lidi Zheng
6f35bbbfb8
test: enable xDS CSDS test ( #4354 )
2021-04-21 17:27:51 -07:00
Zach Reyes
1c598a11a4
Move exponential backoff to DNS resolver from resolver.ClientConn ( #4270 )
2021-04-20 13:20:09 -04:00
lzhfromustc
41676e61b1
Fix goroutine leaks ( #4214 )
2021-04-19 09:49:37 -07:00
apolcyn
c229922995
client: propagate connection error causes to RPC statuses ( #4311 )
2021-04-13 13:06:05 -07:00
Aliaksandr Mianzhynski
d6abfb4598
cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment ( #4313 )
2021-04-09 16:30:59 -07:00
Menghan Li
c7a203dcb5
xds/interop: move header/path matching to all ( #4325 )
2021-04-08 14:31:20 -07:00
ZhenLian
5730f8d113
Invoke Go Vet Check in Sub-modules ( #4302 )
...
* Invoke Go Vet Check in Sub-modules
2021-04-02 11:19:22 -07:00
Doug Fawley
f320c79349
test: enable fault_injection xds test ( #4283 )
2021-03-22 09:42:11 -07:00
Doug Fawley
425d405f39
test: add timeout to regular xds test runs ( #4201 )
2021-02-12 14:24:30 -08:00
Menghan Li
b753f4903c
xds testing: increase timeout from 90 minutes to 120 minutes ( #4191 )
...
This is the timeout for all the tests, after which the VM will be termiated.
Since now we have more tests, we need more time.
The current average is around 85-90 minutes. The extra 30 minutes should be
enough for several new tests.
2021-02-04 20:13:54 -08:00
ZHANG Dapeng
7f2581f910
xds interop: add xds v3 kokoro tests ( #4165 )
2021-01-20 17:24:22 -08:00
Easwar Swaminathan
f579b61a69
test: Run e2e authority tests only on linux. ( #4160 )
...
Although darwin supports UDS, these tests need some non-trivial amount
of work to get them to pass on darwin. This build constraint will make a
top-level `go test` happy on darwin.
2021-01-19 18:00:32 -08:00
Doug Fawley
938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version ( #4152 )
2021-01-14 14:28:25 -08:00
Menghan Li
fb40d83340
xds interop: turn on circuit breaking test ( #4144 )
...
Also need to set server image to version 3, so that the server blocks the
pending RPCs
2021-01-08 17:16:38 -08:00
Edmond
39a500abb9
support unix-abstract schema ( #4079 )
2020-12-22 08:56:49 -08:00
Doug Fawley
750abe8f95
resolver: allow config selector to return an RPC error ( #4082 )
2020-12-08 13:32:37 -08:00
Doug Fawley
0d6a24f68a
test: move stubServer to separate package in internal ( #4081 )
2020-12-04 15:56:07 -08:00
Garrett Gutierrez
c456688b18
client: fix "unix" scheme handling for some corner cases ( #4021 )
2020-11-30 10:04:47 -08:00
Edmond
8f3cc6cc26
protoc-gen-go-grpc: export grpc.ServiceDesc ( #4035 )
2020-11-23 14:56:57 -08:00