Skip to content

net/http: TestServerConnState is flaky #32329

Closed
@bcmills

Description

@bcmills

dragonfly-amd64: https://build.golang.org/log/c79adae2958dc28dd62ca163328fd6dc526ea37f

2019/05/27 18:04:00 http: TLS handshake error from 127.0.0.1:53789: read tcp 127.0.0.1:59376->127.0.0.1:53789: use of closed network connection
2019/05/27 18:04:00 http: TLS handshake error from 127.0.0.1:50713: read tcp 127.0.0.1:59376->127.0.0.1:50713: use of closed network connection
2019/05/27 18:04:00 http: TLS handshake error from 127.0.0.1:56210: read tcp 127.0.0.1:59376->127.0.0.1:56210: use of closed network connection
2019/05/27 18:04:00 http: TLS handshake error from 127.0.0.1:53175: read tcp 127.0.0.1:59376->127.0.0.1:53175: use of closed network connection
2019/05/27 18:04:00 http: TLS handshake error from 127.0.0.1:59361: write tcp 127.0.0.1:59376->127.0.0.1:59361: use of closed network connection
--- FAIL: TestServerConnState (1.00s)
    serve_test.go:4256: Unexpected events.
        Got log:
        Conn 1: new active idle active 
        Conn 2: new active idle active closed 
        Conn 3: new active hijacked 
        Conn 4: new active hijacked 
        Conn 5: new closed 
        Conn 6: new active closed 
        Conn 7: new active idle closed 
        
           Want:
        Conn 1: new active idle active closed 
        Conn 2: new active idle active closed 
        Conn 3: new active hijacked 
        Conn 4: new active hijacked 
        Conn 5: new closed 
        Conn 6: new active closed 
        Conn 7: new active idle closed 
        
FAIL
FAIL	net/http	12.507s

CC @bradfitz

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.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions