Created
June 17, 2018 03:28
-
-
Save ernado/2bc6a64764ce6ee6e05960967ed999a0 to your computer and use it in GitHub Desktop.
REQUESTS=10 HTTP2_TRANSPORT=0 GODEBUG=http2debug=1 ./test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Creating goissue25009_server_1 ... | |
Creating goissue25009_server_1 ... done | |
Creating goissue25009_nginx_1 ... | |
Creating goissue25009_nginx_1 ... done | |
Creating goissue25009_client_1 ... | |
Creating goissue25009_client_1 ... done | |
2018/06/17 03:23:51 [info] 7#7: *12 client prematurely closed stream: only 0 out of 100 bytes of request body received, client: 172.20.0.4, server: nginx, request: "POST /2 HTTP/2.0", host: "nginx" | |
client to https://nginx | |
will do ~10 requests with 6 concurrency | |
using one client for all goroutines | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport creating client conn 0xc42038c000 to 172.20.0.3:443 | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/3" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport received SETTINGS len=18, settings: MAX_CONCURRENT_STREAMS=128, INITIAL_WINDOW_SIZE=65536, MAX_FRAME_SIZE=16777215 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE len=4 (conn) incr=2147418112 | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/1" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/4" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/5" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/2" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport received SETTINGS flags=ACK len=0 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=1 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=3 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=5 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=7 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received GOAWAY len=8 LastStreamID=9 ErrCode=NO_ERROR Debug="" | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=9 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=5 len=40 | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=1 len=39 | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=3 len=39 | |
2018/06/17 03:23:51 http2: Transport failed to get client conn for nginx:443: http2: no cached connection was available | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=7 len=39 | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=9 len=39 | |
2018/06/17 03:23:51 http2: Transport readFrame error on conn 0xc42038c000: (*errors.errorString) EOF | |
2018/06/17 03:23:51 http2: Transport creating client conn 0xc42038c1c0 to 172.20.0.3:443 | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/2" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport received SETTINGS len=18, settings: MAX_CONCURRENT_STREAMS=128, INITIAL_WINDOW_SIZE=65536, MAX_FRAME_SIZE=16777215 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE len=4 (conn) incr=2147418112 | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport received SETTINGS flags=ACK len=0 | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/1" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=1 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport encoding header ":authority" = "nginx" | |
2018/06/17 03:23:51 http2: Transport encoding header ":method" = "POST" | |
2018/06/17 03:23:51 http2: Transport encoding header ":path" = "/3" | |
2018/06/17 03:23:51 http2: Transport encoding header ":scheme" = "https" | |
2018/06/17 03:23:51 http2: Transport encoding header "content-length" = "100" | |
2018/06/17 03:23:51 http2: Transport encoding header "accept-encoding" = "gzip" | |
2018/06/17 03:23:51 http2: Transport encoding header "user-agent" = "Go-http-client/2.0" | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_HEADERS stream=1 len=51 | |
2018/06/17 03:23:51 http2: Transport received DATA flags=END_STREAM stream=1 len=173 data="<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>400 Bad Request</h1></center>\r\n<hr><center>nginx/1.15.0</center>\r\n</body>\r\n</html>\r\n" | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=3 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=5 len=4 incr=2147418111 | |
400 Bad Request | |
2018/06/17 03:23:51 http2: Transport received WINDOW_UPDATE stream=7 len=4 incr=2147418111 | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=3 len=39 | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=7 len=39 | |
2018/06/17 03:23:51 http2: Transport received HEADERS flags=END_STREAM|END_HEADERS stream=5 len=39 | |
FAILED: 1 | |
Tests Failed - Exit Code: 2 | |
Killing goissue25009_nginx_1 ... done | |
Killing goissue25009_server_1 ... done | |
Going to remove goissue25009_client_1, goissue25009_nginx_1, goissue25009_server_1 | |
Removing goissue25009_client_1 ... done | |
Removing goissue25009_nginx_1 ... done | |
Removing goissue25009_server_1 ... done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment