Skip to content

x/net/netutil: TestLimitListener failures with "Client.Timeout exceeded while awaiting headers" #22926

Closed
@bradfitz

Description

@bradfitz

https://build.golang.org/log/b5964d8ee324ab1c9a0e36fd018bebe61a5ae09f

Out of fds? Timing/cancelation issues? @0intro?

ok  	golang.org/x/net/bpf	0.023s
ok  	golang.org/x/net/context	0.073s
?   	golang.org/x/net/context/ctxhttp	[no test files]
?   	golang.org/x/net/dict	[no test files]
ok  	golang.org/x/net/dns/dnsmessage	0.107s
ok  	golang.org/x/net/html	0.107s
ok  	golang.org/x/net/html/atom	0.016s
ok  	golang.org/x/net/html/charset	0.031s
ok  	golang.org/x/net/http/httpproxy	0.047s
*** Test killed: ran too long (10m0s).
FAIL	golang.org/x/net/http2	600.765s
ok  	golang.org/x/net/http2/hpack	0.023s
ok  	golang.org/x/net/icmp	0.026s
ok  	golang.org/x/net/idna	0.020s
?   	golang.org/x/net/internal/iana	[no test files]
?   	golang.org/x/net/internal/nettest	[no test files]
?   	golang.org/x/net/internal/socket	[no test files]
ok  	golang.org/x/net/internal/timeseries	0.025s
ok  	golang.org/x/net/ipv4	0.033s
ok  	golang.org/x/net/ipv6	0.027s
ok  	golang.org/x/net/lex/httplex	0.017s
ok  	golang.org/x/net/nettest	6.609s
netutil.test 567: warning: process exceeds 100 file descriptors
netutil.test 566: warning: process exceeds 200 file descriptors
--- FAIL: TestLimitListener (3.47s)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
	listen_test.go:55: Get http://127.0.0.1:44868: EOF
	listen_test.go:68: 121 requests failed within 125 attempts
FAIL
FAIL	golang.org/x/net/netutil	3.514s
ok  	golang.org/x/net/proxy	0.231s
ok  	golang.org/x/net/publicsuffix	0.157s
ok  	golang.org/x/net/trace	0.035s
ok  	golang.org/x/net/webdav	3.880s
ok  	golang.org/x/net/webdav/internal/xml	0.030s
ok  	golang.org/x/net/websocket	4.551s
ok  	golang.org/x/net/xsrftoken	0.018s

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.TestingAn issue that has been verified to require only test changes, not just a test failure.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions