Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: TestTransportMaxIdleConns failures on darwin and freebsd #56960

Closed
gopherbot opened this issue Nov 28, 2022 · 31 comments
Closed

net/http: TestTransportMaxIdleConns failures on darwin and freebsd #56960

gopherbot opened this issue Nov 28, 2022 · 31 comments
Labels
NeedsFix The path to resolution is known, but the work has not been done. OS-Darwin OS-FreeBSD Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@gopherbot
Copy link

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.18s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:29099" "|http|host-2.dns-is-faked.golang:29099" "|http|host-3.dns-is-faked.golang:29099"]
            want: ["|http|host-0.dns-is-faked.golang:29099" "|http|host-1.dns-is-faked.golang:29099" "|http|host-2.dns-is-faked.golang:29099" "|http|host-3.dns-is-faked.golang:29099"]

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 28, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-11-23 18:23 freebsd-riscv64-unmatched go@4c0c0e5d net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.18s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:29099" "|http|host-2.dns-is-faked.golang:29099" "|http|host-3.dns-is-faked.golang:29099"]
            want: ["|http|host-0.dns-is-faked.golang:29099" "|http|host-1.dns-is-faked.golang:29099" "|http|host-2.dns-is-faked.golang:29099" "|http|host-3.dns-is-faked.golang:29099"]

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Nov 28, 2022

(CC @neild)

@bcmills bcmills added this to the Backlog milestone Dec 8, 2022
@bcmills
Copy link
Contributor

bcmills commented Dec 8, 2022

Intriguingly, all of those failures are on either freebsd or darwin, and parts of the Darwin platform (notably the network stack) are derived from FreeBSD.

Could be a (presumably very old) kernel or libc bug, or some other difference in the net stack where FreeBSD and macOS don't satisfy some assumption that happens to hold elsewhere.

(CC @golang/freebsd @golang/darwin)

@bcmills bcmills changed the title net/http: TestTransportMaxIdleConns failures net/http: TestTransportMaxIdleConns failures on darwin and freebsd Dec 8, 2022
@paulzhol
Copy link
Member

paulzhol commented Dec 9, 2022

Looking at both of these outputs:
2022-11-18T08:04:52-205f636/freebsd-arm-paulzhol
2022-11-04T22:09:36-d9cc39b/freebsd-arm-paulzhol

There seem to be another test running in parallel which opens several client TLS connections in the same port sequence range. Maybe it "hits" the non TLS server of TestTransportMaxIdleConns, causing it to be marked broken?
First log is missing "|http|host-0.dns-is-faked.golang:17796" .

2022/11/18 11:44:36 http: TLS handshake error from 127.0.0.1:17704: read tcp 127.0.0.1:17702->127.0.0.1:17704: read: connection reset by peer
2022/11/18 11:44:36 http: TLS handshake error from 127.0.0.1:17706: read tcp 127.0.0.1:17702->127.0.0.1:17706: read: connection reset by peer
...
2022/11/18 11:44:43 http: TLS handshake error from 127.0.0.1:17892: read tcp 127.0.0.1:17891->127.0.0.1:17892: read: connection reset by peer
2022/11/18 11:44:43 http: TLS handshake error from 127.0.0.1:17898: read tcp 127.0.0.1:17896->127.0.0.1:17898: read: connection reset by peer

The second log is missing "|http|host-4.dns-is-faked.golang:30467" for the evict case.

2022/11/05 13:12:35 http: TLS handshake error from 127.0.0.1:30346: write tcp 127.0.0.1:30337->127.0.0.1:30346: use of closed network connection
2022/11/05 13:12:35 http: TLS handshake error from 127.0.0.1:30345: write tcp 127.0.0.1:30337->127.0.0.1:30345: use of closed network connection
...
2022/11/05 13:13:18 http: TLS handshake error from 127.0.0.1:30766: EOF
2022/11/05 13:13:19 http: TLS handshake error from 127.0.0.1:30767: read tcp 127.0.0.1:30764->127.0.0.1:30767: read: connection reset by peer
2022/11/05 13:13:19 http: TLS handshake error from 127.0.0.1:30765: read tcp 127.0.0.1:30764->127.0.0.1:30765: read: connection reset by peer

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-12-12 14:38 darwin-amd64-12_0 go@27301e82 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.27s)
        transport_test.go:4992: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:51303" "|http|host-1.dns-is-faked.golang:51303" "|http|host-2.dns-is-faked.golang:51303" "|http|host-3.dns-is-faked.golang:51303"]
            want: ["|http|host-1.dns-is-faked.golang:51303" "|http|host-2.dns-is-faked.golang:51303" "|http|host-3.dns-is-faked.golang:51303" "|http|host-4.dns-is-faked.golang:51303"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-12-14 19:13 freebsd-arm-paulzhol go@5c682f94 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.21s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:25512" "|http|host-2.dns-is-faked.golang:25512" "|http|host-3.dns-is-faked.golang:25512"]
            want: ["|http|host-0.dns-is-faked.golang:25512" "|http|host-1.dns-is-faked.golang:25512" "|http|host-2.dns-is-faked.golang:25512" "|http|host-3.dns-is-faked.golang:25512"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-12-22 04:34 freebsd-arm-paulzhol go@18baca67 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.26s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:50742" "|http|host-2.dns-is-faked.golang:50742" "|http|host-3.dns-is-faked.golang:50742"]
            want: ["|http|host-0.dns-is-faked.golang:50742" "|http|host-1.dns-is-faked.golang:50742" "|http|host-2.dns-is-faked.golang:50742" "|http|host-3.dns-is-faked.golang:50742"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-11-30 17:03 freebsd-amd64-race go@60525dc3 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.19s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:20502" "|http|host-1.dns-is-faked.golang:20502" "|http|host-2.dns-is-faked.golang:20502"]
            want: ["|http|host-0.dns-is-faked.golang:20502" "|http|host-1.dns-is-faked.golang:20502" "|http|host-2.dns-is-faked.golang:20502" "|http|host-3.dns-is-faked.golang:20502"]
2022-12-01 21:01 freebsd-arm-paulzhol go@c71d3a0f net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.30s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:43360" "|http|host-1.dns-is-faked.golang:43360" "|http|host-2.dns-is-faked.golang:43360"]
            want: ["|http|host-0.dns-is-faked.golang:43360" "|http|host-1.dns-is-faked.golang:43360" "|http|host-2.dns-is-faked.golang:43360" "|http|host-3.dns-is-faked.golang:43360"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-01-06 18:22 darwin-amd64-nocgo go@f721fa3b net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.11s)
        transport_test.go:4992: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:50170" "|http|host-1.dns-is-faked.golang:50170" "|http|host-2.dns-is-faked.golang:50170" "|http|host-3.dns-is-faked.golang:50170"]
            want: ["|http|host-1.dns-is-faked.golang:50170" "|http|host-2.dns-is-faked.golang:50170" "|http|host-3.dns-is-faked.golang:50170" "|http|host-4.dns-is-faked.golang:50170"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-01-17 16:22 darwin-amd64-11_0 go@f375b305 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.26s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:50893" "|http|host-1.dns-is-faked.golang:50893" "|http|host-3.dns-is-faked.golang:50893"]
            want: ["|http|host-0.dns-is-faked.golang:50893" "|http|host-1.dns-is-faked.golang:50893" "|http|host-2.dns-is-faked.golang:50893" "|http|host-3.dns-is-faked.golang:50893"]
2023-01-17 19:54 darwin-amd64-12_0 go@5cd805c6 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.12s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51242" "|http|host-1.dns-is-faked.golang:51242" "|http|host-2.dns-is-faked.golang:51242"]
            want: ["|http|host-0.dns-is-faked.golang:51242" "|http|host-1.dns-is-faked.golang:51242" "|http|host-2.dns-is-faked.golang:51242" "|http|host-3.dns-is-faked.golang:51242"]
2023-01-24 19:18 darwin-amd64-12_0 go@27500d88 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.13s)
        transport_test.go:5031: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:56128" "|http|host-1.dns-is-faked.golang:56128" "|http|host-2.dns-is-faked.golang:56128" "|http|host-3.dns-is-faked.golang:56128"]
            want: ["|http|host-1.dns-is-faked.golang:56128" "|http|host-2.dns-is-faked.golang:56128" "|http|host-3.dns-is-faked.golang:56128" "|http|host-4.dns-is-faked.golang:56128"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2022-12-07 22:00 darwin-amd64-10_15 go@9f023421 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.13s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:50370" "|http|host-2.dns-is-faked.golang:50370" "|http|host-3.dns-is-faked.golang:50370"]
            want: ["|http|host-0.dns-is-faked.golang:50370" "|http|host-1.dns-is-faked.golang:50370" "|http|host-2.dns-is-faked.golang:50370" "|http|host-3.dns-is-faked.golang:50370"]
2023-01-31 15:28 darwin-amd64-nocgo go@f298b90b net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.13s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51061" "|http|host-1.dns-is-faked.golang:51061" "|http|host-2.dns-is-faked.golang:51061"]
            want: ["|http|host-0.dns-is-faked.golang:51061" "|http|host-1.dns-is-faked.golang:51061" "|http|host-2.dns-is-faked.golang:51061" "|http|host-3.dns-is-faked.golang:51061"]
2023-01-31 16:53 darwin-amd64-13 go@47e205c3 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.17s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:50934" "|http|host-2.dns-is-faked.golang:50934" "|http|host-3.dns-is-faked.golang:50934"]
            want: ["|http|host-0.dns-is-faked.golang:50934" "|http|host-1.dns-is-faked.golang:50934" "|http|host-2.dns-is-faked.golang:50934" "|http|host-3.dns-is-faked.golang:50934"]
2023-02-01 21:30 darwin-amd64-race go@4b7f7eef net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.01s)
2023-02-02 14:52 darwin-amd64-12_0 go@d871f63b net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.28s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:50611" "|http|host-2.dns-is-faked.golang:50611" "|http|host-3.dns-is-faked.golang:50611"]
            want: ["|http|host-0.dns-is-faked.golang:50611" "|http|host-1.dns-is-faked.golang:50611" "|http|host-2.dns-is-faked.golang:50611" "|http|host-3.dns-is-faked.golang:50611"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-02-06 19:34 darwin-amd64-12_0 go@8fd6cc8b net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.15s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:50640" "|http|host-1.dns-is-faked.golang:50640" "|http|host-3.dns-is-faked.golang:50640"]
            want: ["|http|host-0.dns-is-faked.golang:50640" "|http|host-1.dns-is-faked.golang:50640" "|http|host-2.dns-is-faked.golang:50640" "|http|host-3.dns-is-faked.golang:50640"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-02-03 22:22 freebsd-arm-paulzhol go@c3b4c27f net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.42s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:43493" "|http|host-1.dns-is-faked.golang:43493" "|http|host-2.dns-is-faked.golang:43493"]
            want: ["|http|host-0.dns-is-faked.golang:43493" "|http|host-1.dns-is-faked.golang:43493" "|http|host-2.dns-is-faked.golang:43493" "|http|host-3.dns-is-faked.golang:43493"]
2023-02-08 18:28 netbsd-arm-bsiegert go@da937660 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.13s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:64285" "|http|host-1.dns-is-faked.golang:64285" "|http|host-3.dns-is-faked.golang:64285"]
            want: ["|http|host-0.dns-is-faked.golang:64285" "|http|host-1.dns-is-faked.golang:64285" "|http|host-2.dns-is-faked.golang:64285" "|http|host-3.dns-is-faked.golang:64285"]
2023-02-09 18:01 darwin-amd64-nocgo go@90b06002 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.15s)
        transport_test.go:4992: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:50620" "|http|host-1.dns-is-faked.golang:50620" "|http|host-2.dns-is-faked.golang:50620" "|http|host-3.dns-is-faked.golang:50620"]
            want: ["|http|host-1.dns-is-faked.golang:50620" "|http|host-2.dns-is-faked.golang:50620" "|http|host-3.dns-is-faked.golang:50620" "|http|host-4.dns-is-faked.golang:50620"]
2023-02-10 21:45 freebsd-arm-paulzhol go@8491fd31 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.07s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:43202" "|http|host-2.dns-is-faked.golang:43202" "|http|host-3.dns-is-faked.golang:43202"]
            want: ["|http|host-0.dns-is-faked.golang:43202" "|http|host-1.dns-is-faked.golang:43202" "|http|host-2.dns-is-faked.golang:43202" "|http|host-3.dns-is-faked.golang:43202"]
2023-02-14 23:13 freebsd-arm-paulzhol go@a7b75972 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.46s)
        transport_test.go:5019: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:41639" "|http|host-1.dns-is-faked.golang:41639" "|http|host-3.dns-is-faked.golang:41639"]
            want: ["|http|host-0.dns-is-faked.golang:41639" "|http|host-1.dns-is-faked.golang:41639" "|http|host-2.dns-is-faked.golang:41639" "|http|host-3.dns-is-faked.golang:41639"]
2023-02-20 02:28 freebsd-arm-paulzhol go@99bc53f5 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (1.28s)
        transport_test.go:5026: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:30177" "|http|host-1.dns-is-faked.golang:30177" "|http|host-2.dns-is-faked.golang:30177" "|http|host-3.dns-is-faked.golang:30177"]
            want: ["|http|host-1.dns-is-faked.golang:30177" "|http|host-2.dns-is-faked.golang:30177" "|http|host-3.dns-is-faked.golang:30177" "|http|host-4.dns-is-faked.golang:30177"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-02-25 20:14 darwin-amd64-nocgo go@e7201cfa net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.08s)
        transport_test.go:5014: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51134" "|http|host-1.dns-is-faked.golang:51134" "|http|host-3.dns-is-faked.golang:51134"]
            want: ["|http|host-0.dns-is-faked.golang:51134" "|http|host-1.dns-is-faked.golang:51134" "|http|host-2.dns-is-faked.golang:51134" "|http|host-3.dns-is-faked.golang:51134"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-06 20:57 darwin-amd64-11_0 go@8f92ae1c net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.13s)
        transport_test.go:5026: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:51190" "|http|host-1.dns-is-faked.golang:51190" "|http|host-2.dns-is-faked.golang:51190" "|http|host-3.dns-is-faked.golang:51190"]
            want: ["|http|host-1.dns-is-faked.golang:51190" "|http|host-2.dns-is-faked.golang:51190" "|http|host-3.dns-is-faked.golang:51190" "|http|host-4.dns-is-faked.golang:51190"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-02 14:47 freebsd-arm-paulzhol go@2f9e38a1 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.60s)
        transport_test.go:5026: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:19747" "|http|host-1.dns-is-faked.golang:19747" "|http|host-2.dns-is-faked.golang:19747" "|http|host-3.dns-is-faked.golang:19747"]
            want: ["|http|host-1.dns-is-faked.golang:19747" "|http|host-2.dns-is-faked.golang:19747" "|http|host-3.dns-is-faked.golang:19747" "|http|host-4.dns-is-faked.golang:19747"]
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-09 19:10 darwin-amd64-13 go@4460291e net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.12s)
        transport_test.go:5026: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:50272" "|http|host-1.dns-is-faked.golang:50272" "|http|host-2.dns-is-faked.golang:50272" "|http|host-3.dns-is-faked.golang:50272"]
            want: ["|http|host-1.dns-is-faked.golang:50272" "|http|host-2.dns-is-faked.golang:50272" "|http|host-3.dns-is-faked.golang:50272" "|http|host-4.dns-is-faked.golang:50272"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-16 16:31 darwin-amd64-12_0 go@5ddbe05c net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.11s)
        transport_test.go:5014: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:50402" "|http|host-1.dns-is-faked.golang:50402" "|http|host-2.dns-is-faked.golang:50402"]
            want: ["|http|host-0.dns-is-faked.golang:50402" "|http|host-1.dns-is-faked.golang:50402" "|http|host-2.dns-is-faked.golang:50402" "|http|host-3.dns-is-faked.golang:50402"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-16 05:12 darwin-amd64-10_15 go@c69ff3a7 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.19s)
        transport_test.go:5014: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51304" "|http|host-1.dns-is-faked.golang:51304" "|http|host-2.dns-is-faked.golang:51304"]
            want: ["|http|host-0.dns-is-faked.golang:51304" "|http|host-1.dns-is-faked.golang:51304" "|http|host-2.dns-is-faked.golang:51304" "|http|host-3.dns-is-faked.golang:51304"]

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Mar 20, 2023

There seem to be another test running in parallel which opens several client TLS connections in the same port sequence range.

I fixed one such test in https://go.dev/cl/476036, but I suspect there may be others remaining.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-28 16:22 darwin-amd64-13 go@f7156f63 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.28s)
        transport_test.go:5008: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:50813" "|http|host-2.dns-is-faked.golang:50813" "|http|host-3.dns-is-faked.golang:50813"]
            want: ["|http|host-0.dns-is-faked.golang:50813" "|http|host-1.dns-is-faked.golang:50813" "|http|host-2.dns-is-faked.golang:50813" "|http|host-3.dns-is-faked.golang:50813"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-28 19:55 darwin-amd64-13 go@61bc17f0 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.07s)
        transport_test.go:5020: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:51136" "|http|host-1.dns-is-faked.golang:51136" "|http|host-2.dns-is-faked.golang:51136" "|http|host-3.dns-is-faked.golang:51136"]
            want: ["|http|host-1.dns-is-faked.golang:51136" "|http|host-2.dns-is-faked.golang:51136" "|http|host-3.dns-is-faked.golang:51136" "|http|host-4.dns-is-faked.golang:51136"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-29 22:00 darwin-amd64-race go@f521077b net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.02s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.19s)
        transport_test.go:5008: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:52744" "|http|host-2.dns-is-faked.golang:52744" "|http|host-3.dns-is-faked.golang:52744"]
            want: ["|http|host-0.dns-is-faked.golang:52744" "|http|host-1.dns-is-faked.golang:52744" "|http|host-2.dns-is-faked.golang:52744" "|http|host-3.dns-is-faked.golang:52744"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-03-31 03:39 openbsd-arm64-jsing go@e29dd78f net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.19s)
        transport_test.go:5008: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:15183" "|http|host-2.dns-is-faked.golang:15183" "|http|host-3.dns-is-faked.golang:15183"]
            want: ["|http|host-0.dns-is-faked.golang:15183" "|http|host-1.dns-is-faked.golang:15183" "|http|host-2.dns-is-faked.golang:15183" "|http|host-3.dns-is-faked.golang:15183"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-04-05 17:18 darwin-amd64-nocgo go@e7d59ed2 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.10s)
        transport_test.go:5005: idle conn keys mismatch.
             got: ["|http|host-1.dns-is-faked.golang:50608" "|http|host-2.dns-is-faked.golang:50608" "|http|host-3.dns-is-faked.golang:50608"]
            want: ["|http|host-0.dns-is-faked.golang:50608" "|http|host-1.dns-is-faked.golang:50608" "|http|host-2.dns-is-faked.golang:50608" "|http|host-3.dns-is-faked.golang:50608"]
2023-04-06 14:04 darwin-amd64-11_0 go@ef9c211d net/http.TestTransportMaxIdleConns (log)
2023/04/06 10:44:43 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc0003b4180 127.0.0.1:50528 in state active
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.12s)
        transport_test.go:5005: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51184" "|http|host-1.dns-is-faked.golang:51184" "|http|host-2.dns-is-faked.golang:51184"]
            want: ["|http|host-0.dns-is-faked.golang:51184" "|http|host-1.dns-is-faked.golang:51184" "|http|host-2.dns-is-faked.golang:51184" "|http|host-3.dns-is-faked.golang:51184"]
2023-04-06 20:59 darwin-amd64-13 go@e61ba8e5 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.09s)
        transport_test.go:5017: idle conn keys mismatch after 5th host.
             got: ["|http|host-0.dns-is-faked.golang:50931" "|http|host-1.dns-is-faked.golang:50931" "|http|host-2.dns-is-faked.golang:50931" "|http|host-3.dns-is-faked.golang:50931"]
            want: ["|http|host-1.dns-is-faked.golang:50931" "|http|host-2.dns-is-faked.golang:50931" "|http|host-3.dns-is-faked.golang:50931" "|http|host-4.dns-is-faked.golang:50931"]

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-05-11 14:16 darwin-amd64-11_0 go@afbe1019 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.12s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:51501" "|http|host-1.dns-is-faked.golang:51501" "|http|host-2.dns-is-faked.golang:51501"]
            want: ["|http|host-0.dns-is-faked.golang:51501" "|http|host-1.dns-is-faked.golang:51501" "|http|host-2.dns-is-faked.golang:51501" "|http|host-3.dns-is-faked.golang:51501"]

watchflakes

@bcmills
Copy link
Contributor

bcmills commented May 23, 2023

afbe1019 is on release-branch.go1.20.

I think this failure mode was fixed by https://go.dev/cl/483116.

@bcmills bcmills closed this as completed May 23, 2023
@bcmills bcmills modified the milestones: Backlog, Go1.21 May 23, 2023
@bcmills bcmills added the Testing An issue that has been verified to require only test changes, not just a test failure. label May 23, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportMaxIdleConns"
2023-08-14 21:56 freebsd-386-13_0 go@ede3e278 net/http.TestTransportMaxIdleConns (log)
--- FAIL: TestTransportMaxIdleConns (0.00s)
    --- FAIL: TestTransportMaxIdleConns/h1 (0.24s)
        transport_test.go:4980: idle conn keys mismatch.
             got: ["|http|host-0.dns-is-faked.golang:61370" "|http|host-1.dns-is-faked.golang:61370" "|http|host-3.dns-is-faked.golang:61370"]
            want: ["|http|host-0.dns-is-faked.golang:61370" "|http|host-1.dns-is-faked.golang:61370" "|http|host-2.dns-is-faked.golang:61370" "|http|host-3.dns-is-faked.golang:61370"]

watchflakes

@gopherbot gopherbot reopened this Aug 17, 2023
@bcmills
Copy link
Contributor

bcmills commented Aug 17, 2023

ede3e278 is also in release-branch.go1.20.

@bcmills bcmills closed this as completed Aug 17, 2023
@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. OS-Darwin OS-FreeBSD Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
Status: Done
Development

No branches or pull requests

5 participants