go net/http:测试请求写入传输失败,请求中的Transfer-Encoding不符合预期,

l0oc07j2  于 5个月前  发布在  Go
关注(0)|答案(8)|浏览(49)
#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`
2022/04/26 00:35:58 http: TLS handshake error from 127.0.0.1:38617: EOF
--- FAIL: TestRequestWriteTransport (0.59s)
    requestwrite_test.go:794: test[2]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip
        
        0
        
FAIL
FAIL	net/http	35.584

greplogs --dashboard -md -l -e 'unexpected Transfer-Encoding in request'
2022-04-25T18:06:52-8619d3b/solaris-amd64-oraclerel
2020-01-02T20:13:03-a4c579e/darwin-arm64-mn4m2zdaios
这种故障率不常见,仅在非一级端口上观察到过,因此暂时保留在积压队列中。

omvjsjqw

omvjsjqw1#

Expanding the regexp to other failure modes for this test does not reveal any additional failures:
greplogs --dashboard -md -l -e 'FAIL: TestRequestWriteTransport '
2022-04-25T18:06:52-8619d3b/solaris-amd64-oraclerel
2020-01-02T20:13:03-a4c579e/darwin-arm64-mn4m2zdaios
However, it could be that the test is racy in some way; see also #44088 .

az31mfrm

az31mfrm2#

https://build.golang.org/log/3b5be2ef32abcf753a8c0f76e646b96da61dd36d中再次看到;添加了一个watchflakes模式。
(CC @neild)

1cklez4t

1cklez4t3#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2023-10-12 23:27 linux-s390x-ibm go@ef6993f3 net/http.TestRequestWriteTransport ( log )

--- FAIL: TestRequestWriteTransport (2.42s)
    requestwrite_test.go:794: test[1]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip

        0

watchflakes

wkyowqbh

wkyowqbh4#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2024-03-20 14:19 darwin-amd64-11_0 go@db423dde net/http.TestRequestWriteTransport ( log )

--- FAIL: TestRequestWriteTransport (0.43s)
    requestwrite_test.go:794: test[1]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip

        0

watchflakes

kcugc4gi

kcugc4gi5#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2024-04-05 01:26 netbsd-arm-bsiegert go@2e064cf1 net/http.TestRequestWriteTransport ( log )

--- FAIL: TestRequestWriteTransport (1.20s)
    requestwrite_test.go:794: test[2]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip

        0

watchflakes

u1ehiz5o

u1ehiz5o6#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2024-05-06 21:13 linux-s390x-ibm-race go@be003bd0 net/http.TestRequestWriteTransport ( log )

--- FAIL: TestRequestWriteTransport (0.98s)
    requestwrite_test.go:794: test[2]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip

        0

watchflakes

cvxl0en2

cvxl0en27#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2024-07-15 20:09 gotip-openbsd-riscv64 go@6948b4df net/http.TestRequestWriteTransport ( log )

=== RUN   TestRequestWriteTransport
=== PAUSE TestRequestWriteTransport
=== CONT  TestRequestWriteTransport
    requestwrite_test.go:794: test[2]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip
        
        0
        
--- FAIL: TestRequestWriteTransport (1.06s)

watchflakes

2izufjch

2izufjch8#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestRequestWriteTransport" && `unexpected Transfer-Encoding in request`

2024-07-22 21:51 gotip-freebsd-riscv64 go@b8f83e22 net/http.TestRequestWriteTransport ( log )

=== RUN   TestRequestWriteTransport
=== PAUSE TestRequestWriteTransport
=== CONT  TestRequestWriteTransport
    requestwrite_test.go:794: test[2]: unexpected Transfer-Encoding in request: GET / HTTP/1.1
        Host: example.com
        User-Agent: Go-http-client/1.1
        Transfer-Encoding: chunked
        Accept-Encoding: gzip
        
        0
        
--- FAIL: TestRequestWriteTransport (1.17s)

watchflakes

相关问题