exec ${PAGER:-/usr/bin/less} "$0" || exit 1 Executing tests from //test/integration:integration_test ----------------------------------------------------------------------------- Note: Google Test filter = IpVersions/IntegrationTest.RouterDownstreamDisconnectBeforeResponseComplete/IPv4 [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from IpVersions/IntegrationTest [ RUN ] IpVersions/IntegrationTest.RouterDownstreamDisconnectBeforeResponseComplete/IPv4 [2018-08-28 16:24:21.566][3734902][info][testing] test/integration/fake_upstream.cc:343] starting fake server on port 57141. Address version is v4 [2018-08-28 16:24:21.567][3734902][debug][misc] test/config/utility.cc:154] No capture path set for tests [2018-08-28 16:24:21.567][3734902][debug][misc] test/integration/integration.cc:274] Running Envoy with configuration static_resources { listeners { name: "http" address { socket_address { address: "127.0.0.1" port_value: 0 } } filter_chains { filters { name: "envoy.http_connection_manager" config { fields { key: "codec_type" value { string_value: "HTTP1" } } fields { key: "http_filters" value { list_value { values { struct_value { fields { key: "name" value { string_value: "envoy.router" } } } } } } } fields { key: "route_config" value { struct_value { fields { key: "name" value { string_value: "route_config_0" } } fields { key: "virtual_hosts" value { list_value { values { struct_value { fields { key: "domains" value { list_value { values { string_value: "*" } } } } fields { key: "name" value { string_value: "integration" } } fields { key: "routes" value { list_value { values { struct_value { fields { key: "match" value { struct_value { fields { key: "prefix" value { string_value: "/" } } } } } fields { key: "route" value { struct_value { fields { key: "cluster" value { string_value: "cluster_0" } } } } } } } } } } } } } } } } } } fields { key: "stat_prefix" value { string_value: "config_test" } } } } } } clusters { name: "cluster_0" connect_timeout { seconds: 30 } hosts { socket_address { address: "127.0.0.1" port_value: 57141 } } } } admin { access_log_path: "/dev/null" address { socket_address { address: "127.0.0.1" port_value: 0 } } } [2018-08-28 16:24:21.576][3734902][info][testing] test/integration/server.cc:36] starting integration test server [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:190] initializing epoch 0 (hot restart version=disabled) [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:192] statically linked extensions: [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:194] access_loggers: envoy.file_access_log [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:197] filters.http: add-trailers-filter,envoy.cors,envoy.grpc_http1_bridge,envoy.health_check,envoy.http_dynamo_filter,envoy.router [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:200] filters.listener: [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:203] filters.network: envoy.http_connection_manager [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:205] stat_sinks: [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:207] tracers: [2018-08-28 16:24:21.576][3734918][info][main] source/server/server.cc:210] transport_sockets.downstream: envoy.transport_sockets.capture,raw_buffer [2018-08-28 16:24:21.577][3734918][info][main] source/server/server.cc:213] transport_sockets.upstream: envoy.transport_sockets.capture,raw_buffer [2018-08-28 16:24:21.578][3734918][debug][main] source/server/server.cc:241] admin address: 127.0.0.1:0 [2018-08-28 16:24:21.583][3734918][info][config] source/server/configuration_impl.cc:50] loading 0 static secret(s) [2018-08-28 16:24:21.584][3734921][debug][grpc] source/common/grpc/google_async_client_impl.cc:41] completionThread running [2018-08-28 16:24:21.586][3734918][debug][upstream] source/common/upstream/cluster_manager_impl.cc:815] adding TLS initial cluster cluster_0 [2018-08-28 16:24:21.587][3734918][trace][upstream] source/common/upstream/upstream_impl.cc:776] Local locality: zone: "zone_name" [2018-08-28 16:24:21.587][3734918][debug][upstream] source/common/upstream/cluster_manager_impl.cc:952] membership update for TLS cluster cluster_0 [2018-08-28 16:24:21.587][3734918][debug][upstream] source/common/upstream/cluster_manager_impl.cc:90] cm init: init complete: cluster=cluster_0 primary=0 secondary=0 [2018-08-28 16:24:21.587][3734918][debug][upstream] source/common/upstream/cluster_manager_impl.cc:62] cm init: adding: cluster=cluster_0 primary=0 secondary=0 [2018-08-28 16:24:21.587][3734918][info][upstream] source/common/upstream/cluster_manager_impl.cc:134] cm init: all clusters initialized [2018-08-28 16:24:21.587][3734918][info][config] source/server/configuration_impl.cc:60] loading 1 listener(s) [2018-08-28 16:24:21.587][3734918][debug][config] source/server/configuration_impl.cc:62] listener #0: [2018-08-28 16:24:21.587][3734918][debug][config] source/server/listener_manager_impl.cc:638] begin add/update listener: name=http hash=17899132337682181047 [2018-08-28 16:24:21.587][3734918][debug][config] source/server/listener_manager_impl.cc:40] filter #0: [2018-08-28 16:24:21.587][3734918][debug][config] source/server/listener_manager_impl.cc:41] name: envoy.http_connection_manager [2018-08-28 16:24:21.587][3734918][debug][config] source/server/listener_manager_impl.cc:44] config: {"route_config":{"name":"route_config_0","virtual_hosts":[{"name":"integration","domains":["*"],"routes":[{"match":{"prefix":"/"},"route":{"cluster":"cluster_0"}}]}]},"stat_prefix":"config_test","http_filters":[{"name":"envoy.router"}],"codec_type":"HTTP1"} [2018-08-28 16:24:21.592][3734918][debug][config] source/extensions/filters/network/http_connection_manager/config.cc:277] http filter #0 [2018-08-28 16:24:21.592][3734918][debug][config] source/extensions/filters/network/http_connection_manager/config.cc:278] name: envoy.router [2018-08-28 16:24:21.592][3734918][debug][config] source/extensions/filters/network/http_connection_manager/config.cc:282] config: {} [2018-08-28 16:24:21.593][3734918][debug][config] source/server/listener_manager_impl.cc:524] add active listener: name=http, hash=17899132337682181047, address=127.0.0.1:0 [2018-08-28 16:24:21.593][3734918][info][config] source/server/configuration_impl.cc:94] loading tracing configuration [2018-08-28 16:24:21.593][3734918][info][config] source/server/configuration_impl.cc:116] loading stats sink configuration [2018-08-28 16:24:21.593][3734918][info][testing] test/integration/server.cc:109] waiting for 1 test server listeners [2018-08-28 16:24:21.593][3734918][info][main] source/server/server.cc:401] all clusters initialized. initializing init manager [2018-08-28 16:24:21.593][3734918][info][config] source/server/listener_manager_impl.cc:908] all dependencies initialized. starting workers [2018-08-28 16:24:21.593][3734918][info][main] source/server/server.cc:432] starting main dispatch loop [2018-08-28 16:24:21.593][3734923][debug][main] source/server/worker_impl.cc:91] worker entering dispatch loop [2018-08-28 16:24:21.593][3734923][debug][upstream] source/common/upstream/cluster_manager_impl.cc:815] adding TLS initial cluster cluster_0 [2018-08-28 16:24:21.593][3734924][debug][grpc] source/common/grpc/google_async_client_impl.cc:41] completionThread running [2018-08-28 16:24:21.593][3734923][debug][upstream] source/common/upstream/cluster_manager_impl.cc:952] membership update for TLS cluster cluster_0 [2018-08-28 16:24:21.594][3734902][info][testing] test/integration/server.cc:55] listener wait complete [2018-08-28 16:24:21.595][3734902][debug][client] source/common/http/codec_client.cc:25] [C0] connecting [2018-08-28 16:24:21.595][3734902][debug][connection] source/common/network/connection_impl.cc:572] [C0] connecting to 127.0.0.1:57143 [2018-08-28 16:24:21.595][3734902][debug][connection] source/common/network/connection_impl.cc:581] [C0] connection in progress [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C0] socket event: 2 [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C0] write ready [2018-08-28 16:24:21.595][3734902][debug][connection] source/common/network/connection_impl.cc:466] [C0] connected [2018-08-28 16:24:21.595][3734902][debug][client] source/common/http/codec_client.cc:63] [C0] connected [2018-08-28 16:24:21.595][3734923][debug][main] source/server/connection_handler_impl.cc:218] [C1] new connection [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C1] socket event: 2 [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/connection_impl.cc:326] [C0] writing 62 bytes, end_stream false [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C1] write ready [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C0] socket event: 2 [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C0] write ready [2018-08-28 16:24:21.595][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C0] write returns: 62 [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C1] socket event: 1 [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/connection_impl.cc:427] [C1] read ready [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C1] read returns: 62 [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C1] read returns: -1 [2018-08-28 16:24:21.595][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C1] read error: 35 [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:340] [C1] parsing 62 bytes [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:438] [C1] message begin [2018-08-28 16:24:21.595][3734923][debug][http] source/common/http/conn_manager_impl.cc:190] [C1] new stream [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:308] [C1] completed header: key=host value=host [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:404] [C1] headers complete [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:308] [C1] completed header: key=content-length value=0 [2018-08-28 16:24:21.595][3734923][trace][http] source/common/http/http1/codec_impl.cc:425] [C1] message complete [2018-08-28 16:24:21.595][3734923][debug][http] source/common/http/conn_manager_impl.cc:893] [C1][S1742006168964637429] request end stream [2018-08-28 16:24:21.595][3734923][debug][http] source/common/http/conn_manager_impl.cc:494] [C1][S1742006168964637429] request headers complete (end_stream=true): ':authority', 'host' ':path', '/test/long/url' ':method', 'GET' 'content-length', '0' [2018-08-28 16:24:21.595][3734923][debug][router] source/common/router/router.cc:252] [C1][S1742006168964637429] cluster 'cluster_0' match for URL '/test/long/url' [2018-08-28 16:24:21.596][3734923][debug][router] source/common/router/router.cc:303] [C1][S1742006168964637429] router decoding headers: ':authority', 'host' ':path', '/test/long/url' ':method', 'GET' ':scheme', 'http' 'content-length', '0' 'x-forwarded-proto', 'http' 'x-request-id', 'bf3a8a10-b5d3-4082-a012-8056684582a1' 'x-envoy-expected-rq-timeout-ms', '15000' [2018-08-28 16:24:21.596][3734923][debug][pool] source/common/http/http1/conn_pool.cc:78] creating a new connection [2018-08-28 16:24:21.596][3734923][debug][client] source/common/http/codec_client.cc:25] [C2] connecting [2018-08-28 16:24:21.596][3734923][debug][connection] source/common/network/connection_impl.cc:572] [C2] connecting to 127.0.0.1:57141 [2018-08-28 16:24:21.596][3734923][debug][connection] source/common/network/connection_impl.cc:581] [C2] connection in progress [2018-08-28 16:24:21.596][3734923][debug][pool] source/common/http/http1/conn_pool.cc:106] queueing request due to no available connections [2018-08-28 16:24:21.596][3734923][trace][http] source/common/http/conn_manager_impl.cc:723] [C1][S1742006168964637429] decode headers called: filter=0x21d0640 status=1 [2018-08-28 16:24:21.596][3734923][trace][http] source/common/http/http1/codec_impl.cc:361] [C1] parsed 62 bytes [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:232] [C1] readDisable: enabled=true disable=true [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C2] socket event: 2 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C2] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:232] [C3] readDisable: enabled=true disable=true [2018-08-28 16:24:21.596][3734923][debug][connection] source/common/network/connection_impl.cc:466] [C2] connected [2018-08-28 16:24:21.596][3734923][debug][client] source/common/http/codec_client.cc:63] [C2] connected [2018-08-28 16:24:21.596][3734912][debug][testing] source/server/connection_handler_impl.cc:218] [C3] new connection [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:389] [C3] socket event: 2 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:457] [C3] write ready [2018-08-28 16:24:21.596][3734923][debug][pool] source/common/http/http1/conn_pool.cc:251] [C2] attaching to next request [2018-08-28 16:24:21.596][3734923][debug][router] source/common/router/router.cc:971] [C1][S1742006168964637429] pool ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:232] [C3] readDisable: enabled=false disable=false [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:389] [C3] socket event: 2 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:326] [C2] writing 178 bytes, end_stream false [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:457] [C3] write ready [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C2] write ready [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C2] write returns: 178 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C1] socket event: 2 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:389] [C3] socket event: 1 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C1] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:427] [C3] read ready [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C2] socket event: 2 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C2] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C3] read returns: 178 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C2] socket event: 2 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C2] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C3] read returns: -1 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C3] read error: 35 [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:340] [C3] parsing 178 bytes [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:438] [C3] message begin [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:308] [C3] completed header: key=host value=host [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:308] [C3] completed header: key=content-length value=0 [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:308] [C3] completed header: key=x-forwarded-proto value=http [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:308] [C3] completed header: key=x-request-id value=bf3a8a10-b5d3-4082-a012-8056684582a1 [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:404] [C3] headers complete [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:308] [C3] completed header: key=x-envoy-expected-rq-timeout-ms value=15000 [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:425] [C3] message complete [2018-08-28 16:24:21.596][3734912][trace][http] source/common/http/http1/codec_impl.cc:361] [C3] parsed 178 bytes [2018-08-28 16:24:21.596][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C0] socket event: 2 [2018-08-28 16:24:21.596][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C0] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:326] [C3] writing 47 bytes, end_stream false [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:326] [C3] writing 519 bytes, end_stream false [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:389] [C3] socket event: 2 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:457] [C3] write ready [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C3] write returns: 566 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:389] [C3] socket event: 2 [2018-08-28 16:24:21.596][3734912][trace][connection] source/common/network/connection_impl.cc:457] [C3] write ready [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C2] socket event: 1 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/connection_impl.cc:427] [C2] read ready [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C2] read returns: 566 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C2] read returns: -1 [2018-08-28 16:24:21.596][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C2] read error: 35 [2018-08-28 16:24:21.596][3734923][trace][http] source/common/http/http1/codec_impl.cc:340] [C2] parsing 566 bytes [2018-08-28 16:24:21.596][3734923][trace][http] source/common/http/http1/codec_impl.cc:438] [C2] message begin [2018-08-28 16:24:21.597][3734923][trace][http] source/common/http/http1/codec_impl.cc:404] [C2] headers complete [2018-08-28 16:24:21.597][3734923][trace][http] source/common/http/http1/codec_impl.cc:308] [C2] completed header: key=transfer-encoding value=chunked [2018-08-28 16:24:21.597][3734923][debug][router] source/common/router/router.cc:583] [C1][S1742006168964637429] upstream headers complete: end_stream=false [2018-08-28 16:24:21.597][3734923][debug][http] source/common/http/conn_manager_impl.cc:1087] [C1][S1742006168964637429] encoding headers via codec (end_stream=false): ':status', '200' 'x-envoy-upstream-service-time', '0' 'date', 'Tue, 28 Aug 2018 16:24:21 GMT' 'server', 'envoy' [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:326] [C1] writing 133 bytes, end_stream false [2018-08-28 16:24:21.597][3734923][trace][http] source/common/http/conn_manager_impl.cc:1174] [C1][S1742006168964637429] encoding data via codec (size=512 end_stream=false) [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:326] [C1] writing 519 bytes, end_stream false [2018-08-28 16:24:21.597][3734923][trace][http] source/common/http/http1/codec_impl.cc:361] [C2] parsed 566 bytes [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C1] socket event: 2 [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C1] write ready [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C1] write returns: 652 [2018-08-28 16:24:21.597][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C0] socket event: 1 [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C1] socket event: 2 [2018-08-28 16:24:21.597][3734902][trace][connection] source/common/network/connection_impl.cc:427] [C0] read ready [2018-08-28 16:24:21.597][3734923][trace][connection] source/common/network/connection_impl.cc:457] [C1] write ready [2018-08-28 16:24:21.597][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C0] read returns: 652 [2018-08-28 16:24:21.597][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C0] read returns: -1 [2018-08-28 16:24:21.597][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C0] read error: 35 [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:340] [C0] parsing 652 bytes [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:438] [C0] message begin [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C0] completed header: key=x-envoy-upstream-service-time value=0 [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C0] completed header: key=date value=Tue, 28 Aug 2018 16:24:21 GMT [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C0] completed header: key=server value=envoy [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:404] [C0] headers complete [2018-08-28 16:24:21.597][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C0] completed header: key=transfer-encoding value=chunked [2018-08-28 16:24:21.598][3734902][trace][http] source/common/http/http1/codec_impl.cc:361] [C0] parsed 652 bytes [2018-08-28 16:24:21.598][3734902][debug][connection] source/common/network/connection_impl.cc:98] [C0] closing data_to_write=0 type=1 [2018-08-28 16:24:21.598][3734902][debug][connection] source/common/network/connection_impl.cc:133] [C0] closing socket: 1 [2018-08-28 16:24:21.598][3734902][debug][client] source/common/http/codec_client.cc:81] [C0] disconnect. resetting 1 pending requests [2018-08-28 16:24:21.598][3734902][debug][client] source/common/http/codec_client.cc:104] [C0] request reset [2018-08-28 16:24:21.598][3734902][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:21.598][3734902][trace][testing] test/integration/fake_upstream.cc:243] FakeConnectionBase waiting for disconnect [2018-08-28 16:24:26.598][3734918][debug][main] source/server/server.cc:126] flushing stats [2018-08-28 16:24:31.599][3734918][debug][main] source/server/server.cc:126] flushing stats test/integration/http_integration.cc:595: Failure Value of: fake_upstream_connection_->waitForDisconnect() Actual: false (Timed out waiting for disconnect.) Expected: true [2018-08-28 16:24:31.600][3734912][debug][connection] source/common/network/connection_impl.cc:98] [C3] closing data_to_write=0 type=0 [2018-08-28 16:24:31.600][3734912][debug][connection] source/common/network/connection_impl.cc:133] [C3] closing socket: 1 [2018-08-28 16:24:31.600][3734912][debug][testing] source/server/connection_handler_impl.cc:51] [C3] adding to cleanup list [2018-08-28 16:24:31.600][3734912][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:31.600][3734923][trace][connection] source/common/network/connection_impl.cc:389] [C2] socket event: 1 [2018-08-28 16:24:31.600][3734912][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=1) [2018-08-28 16:24:31.600][3734923][trace][connection] source/common/network/connection_impl.cc:427] [C2] read ready [2018-08-28 16:24:31.600][3734923][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C2] read returns: 0 [2018-08-28 16:24:31.600][3734902][trace][testing] test/integration/fake_upstream.cc:243] FakeConnectionBase waiting for disconnect [2018-08-28 16:24:31.600][3734923][debug][connection] source/common/network/connection_impl.cc:451] [C2] remote close [2018-08-28 16:24:31.600][3734902][trace][testing] test/integration/fake_upstream.cc:264] FakeConnectionBase done waiting for disconnect [2018-08-28 16:24:31.600][3734923][debug][connection] source/common/network/connection_impl.cc:133] [C2] closing socket: 0 [2018-08-28 16:24:31.600][3734902][info][testing] test/integration/server.cc:59] stopping integration test server [2018-08-28 16:24:31.600][3734923][trace][http] source/common/http/http1/codec_impl.cc:340] [C2] parsing 0 bytes [2018-08-28 16:24:31.600][3734923][info][client] source/common/http/codec_client.cc:117] [C2] protocol error: http/1.1 protocol error: HPE_INVALID_EOF_STATE [2018-08-28 16:24:31.601][3734902][debug][client] source/common/http/codec_client.cc:25] [C4] connecting [2018-08-28 16:24:31.601][3734902][debug][connection] source/common/network/connection_impl.cc:572] [C4] connecting to 127.0.0.1:57142 [2018-08-28 16:24:31.601][3734902][debug][connection] source/common/network/connection_impl.cc:581] [C4] connection in progress [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:326] [C4] writing 62 bytes, end_stream false [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C4] socket event: 2 [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C4] write ready [2018-08-28 16:24:31.601][3734902][debug][connection] source/common/network/connection_impl.cc:466] [C4] connected [2018-08-28 16:24:31.601][3734902][debug][client] source/common/http/codec_client.cc:63] [C4] connected [2018-08-28 16:24:31.601][3734918][debug][main] source/server/connection_handler_impl.cc:218] [C5] new connection [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C4] write ready [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:389] [C5] socket event: 2 [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:457] [C5] write ready [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:389] [C5] socket event: 1 [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:427] [C5] read ready [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C4] write returns: 62 [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C4] socket event: 2 [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C5] read returns: 62 [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:457] [C4] write ready [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C5] read returns: -1 [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C5] read error: 35 [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:340] [C5] parsing 62 bytes [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:438] [C5] message begin [2018-08-28 16:24:31.601][3734918][debug][http] source/common/http/conn_manager_impl.cc:190] [C5] new stream [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:308] [C5] completed header: key=host value=host [2018-08-28 16:24:31.601][3734923][debug][client] source/common/http/codec_client.cc:81] [C2] disconnect. resetting 1 pending requests [2018-08-28 16:24:31.601][3734923][debug][client] source/common/http/codec_client.cc:104] [C2] request reset [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:404] [C5] headers complete [2018-08-28 16:24:31.601][3734923][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:308] [C5] completed header: key=content-length value=0 [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:425] [C5] message complete [2018-08-28 16:24:31.601][3734923][debug][router] source/common/router/router.cc:457] [C1][S1742006168964637429] upstream reset [2018-08-28 16:24:31.601][3734918][debug][http] source/common/http/conn_manager_impl.cc:893] [C5][S5074060054008745719] request end stream [2018-08-28 16:24:31.601][3734923][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=2) [2018-08-28 16:24:31.601][3734918][debug][http] source/common/http/conn_manager_impl.cc:494] [C5][S5074060054008745719] request headers complete (end_stream=true): ':authority', 'host' ':path', '/quitquitquit' ':method', 'POST' 'content-length', '0' [2018-08-28 16:24:31.601][3734923][debug][connection] source/common/network/connection_impl.cc:98] [C1] closing data_to_write=0 type=0 [2018-08-28 16:24:31.601][3734923][debug][connection] source/common/network/connection_impl.cc:133] [C1] closing socket: 1 [2018-08-28 16:24:31.601][3734918][debug][admin] source/server/http/admin.cc:841] [C5][S5074060054008745719] request complete: path: /quitquitquit [2018-08-28 16:24:31.601][3734923][debug][main] source/server/connection_handler_impl.cc:51] [C1] adding to cleanup list [2018-08-28 16:24:31.601][3734923][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=3) [2018-08-28 16:24:31.601][3734923][debug][pool] source/common/http/http1/conn_pool.cc:122] [C2] client disconnected [2018-08-28 16:24:31.601][3734923][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=4) [2018-08-28 16:24:31.601][3734918][debug][http] source/common/http/conn_manager_impl.cc:1087] [C5][S5074060054008745719] encoding headers via codec (end_stream=false): ':status', '200' 'content-type', 'text/plain; charset=UTF-8' 'cache-control', 'no-cache, max-age=0' 'x-content-type-options', 'nosniff' 'date', 'Tue, 28 Aug 2018 16:24:31 GMT' 'server', 'envoy' [2018-08-28 16:24:31.601][3734923][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=4) [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:326] [C5] writing 209 bytes, end_stream false [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/conn_manager_impl.cc:1174] [C5][S5074060054008745719] encoding data via codec (size=3 end_stream=true) [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:326] [C5] writing 13 bytes, end_stream false [2018-08-28 16:24:31.601][3734918][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/conn_manager_impl.cc:723] [C5][S5074060054008745719] decode headers called: filter=0x20b76d0 status=1 [2018-08-28 16:24:31.601][3734918][trace][http] source/common/http/http1/codec_impl.cc:361] [C5] parsed 62 bytes [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:389] [C5] socket event: 2 [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/connection_impl.cc:457] [C5] write ready [2018-08-28 16:24:31.601][3734918][trace][connection] source/common/network/raw_buffer_socket.cc:62] [C5] write returns: 222 [2018-08-28 16:24:31.601][3734918][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=1) [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:389] [C4] socket event: 1 [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/connection_impl.cc:427] [C4] read ready [2018-08-28 16:24:31.601][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C4] read returns: 222 [2018-08-28 16:24:31.602][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:21] [C4] read returns: -1 [2018-08-28 16:24:31.602][3734902][trace][connection] source/common/network/raw_buffer_socket.cc:29] [C4] read error: 35 [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:340] [C4] parsing 222 bytes [2018-08-28 16:24:31.602][3734918][info][main] source/server/server.cc:436] main dispatch loop exited [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:438] [C4] message begin [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=content-type value=text/plain; charset=UTF-8 [2018-08-28 16:24:31.602][3734923][debug][main] source/server/worker_impl.cc:95] worker exited dispatch loop [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=cache-control value=no-cache, max-age=0 [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=x-content-type-options value=nosniff [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=date value=Tue, 28 Aug 2018 16:24:31 GMT [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=server value=envoy [2018-08-28 16:24:31.602][3734923][debug][grpc] source/common/grpc/google_async_client_impl.cc:31] Joining completionThread [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:404] [C4] headers complete [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:308] [C4] completed header: key=transfer-encoding value=chunked [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:425] [C4] message complete [2018-08-28 16:24:31.602][3734924][debug][grpc] source/common/grpc/google_async_client_impl.cc:64] completionThread exiting [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:729] [C4] message complete [2018-08-28 16:24:31.602][3734902][debug][client] source/common/http/codec_client.cc:94] [C4] response complete [2018-08-28 16:24:31.602][3734902][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:31.602][3734902][debug][connection] source/common/network/connection_impl.cc:98] [C4] closing data_to_write=0 type=1 [2018-08-28 16:24:31.602][3734923][debug][grpc] source/common/grpc/google_async_client_impl.cc:33] Joined completionThread [2018-08-28 16:24:31.602][3734902][debug][connection] source/common/network/connection_impl.cc:133] [C4] closing socket: 1 [2018-08-28 16:24:31.602][3734902][debug][client] source/common/http/codec_client.cc:81] [C4] disconnect. resetting 0 pending requests [2018-08-28 16:24:31.602][3734923][debug][upstream] source/common/upstream/cluster_manager_impl.cc:829] shutting down thread local cluster manager [2018-08-28 16:24:31.602][3734902][trace][http] source/common/http/http1/codec_impl.cc:361] [C4] parsed 222 bytes [2018-08-28 16:24:31.602][3734902][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=1) [2018-08-28 16:24:31.602][3734918][debug][main] source/server/server.cc:126] flushing stats [2018-08-28 16:24:31.602][3734918][debug][connection] source/common/network/connection_impl.cc:98] [C5] closing data_to_write=0 type=1 [2018-08-28 16:24:31.602][3734918][debug][connection] source/common/network/connection_impl.cc:133] [C5] closing socket: 1 [2018-08-28 16:24:31.602][3734918][debug][main] source/server/connection_handler_impl.cc:51] [C5] adding to cleanup list [2018-08-28 16:24:31.602][3734918][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1) [2018-08-28 16:24:31.602][3734918][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=1) [2018-08-28 16:24:31.602][3734918][debug][grpc] source/common/grpc/google_async_client_impl.cc:31] Joining completionThread [2018-08-28 16:24:31.602][3734921][debug][grpc] source/common/grpc/google_async_client_impl.cc:64] completionThread exiting [2018-08-28 16:24:31.602][3734918][debug][grpc] source/common/grpc/google_async_client_impl.cc:33] Joined completionThread [2018-08-28 16:24:31.602][3734918][debug][upstream] source/common/upstream/cluster_manager_impl.cc:829] shutting down thread local cluster manager [2018-08-28 16:24:31.603][3734918][info][main] source/server/server.cc:472] exiting [ FAILED ] IpVersions/IntegrationTest.RouterDownstreamDisconnectBeforeResponseComplete/IPv4, where GetParam() = 4-byte object <00-00 00-00> (10071 ms) [----------] 1 test from IpVersions/IntegrationTest (10071 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (10071 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] IpVersions/IntegrationTest.RouterDownstreamDisconnectBeforeResponseComplete/IPv4, where GetParam() = 4-byte object <00-00 00-00> 1 FAILED TEST