go net/http: 测试传输连接在响应上关闭失败,h2 错误与意外的主体不同,

kokeuurv  于 6个月前  发布在  Go
关注(0)|答案(6)|浏览(66)
#!watchflakes
post <- pkg == "net/http" && test == "TestTransportConnectionCloseOnResponse" && `unexpected bodiesDiffer=false`

自动创建的问题以收集这些故障。
示例( log ):

--- FAIL: TestTransportConnectionCloseOnResponse (0.00s)
    --- FAIL: TestTransportConnectionCloseOnResponse/h2 (0.82s)
        transport_test.go:238: error in connectionClose=true. unexpected bodiesDiffer=false; body1="127.0.0.1:13438"; body2="127.0.0.1:13438"

watchflakes

t3irkdon

t3irkdon1#

freebsd-arm-paulzhol 故障看起来很真实,可能与 #57476 (注意 @paulzhol; CC @neild)有关。请参阅之前的 #38413 。另外两个是 #58168

q5lcpyga

q5lcpyga2#

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportConnectionCloseOnResponse" && `unexpected bodiesDiffer`

2023-03-15 13:30 freebsd-arm-paulzhol go@a8cd10f2 net/http.TestTransportConnectionCloseOnResponse ( log )

--- FAIL: TestTransportConnectionCloseOnResponse (0.00s)
    --- FAIL: TestTransportConnectionCloseOnResponse/h2 (1.29s)
        transport_test.go:238: error in connectionClose=true. unexpected bodiesDiffer=false; body1="127.0.0.1:11773"; body2="127.0.0.1:11773"
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false

watchflakes

nsc4cvqm

nsc4cvqm3#

我不确定这个故障模式是否由 CL 483116 修复。(我怀疑没有,因为具有此签名的两个故障都在 /h2 子测试中,而且据我所知,该修复仅真正影响 HTTP/1。)

wgmfuz8q

wgmfuz8q4#

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportConnectionCloseOnResponse" && `unexpected bodiesDiffer=false`

2023-10-05 18:07 netbsd-arm-bsiegert go@2ddfc04d net/http.TestTransportConnectionCloseOnResponse ( log )

--- FAIL: TestTransportConnectionCloseOnResponse (0.00s)
    --- FAIL: TestTransportConnectionCloseOnResponse/h1 (0.85s)
        transport_test.go:240: error in connectionClose=true. unexpected bodiesDiffer=false; body1="127.0.0.1:63073"; body2="127.0.0.1:63073"

watchflakes

chy5wohz

chy5wohz5#

解:根据题意,我们可以得到以下结论:

  1. 第一行的规律是后一个数比前一个数大2;第二行的规律是后一个数比前一个数小3。

  2. 根据这些规律,我们可以得出第n个图形中圆点的个数为$(n+1)^{2}-n^{2}=2n+1$。

wr98u20j

wr98u20j6#

找到新的 Jmeter 板测试碎片:

#!watchflakes
post <- pkg == "net/http" && test == "TestTransportConnectionCloseOnResponse" && `unexpected bodiesDiffer=false`

2024-05-07 15:21 dragonfly-amd64-622 go@38ee0c76 net/http.TestTransportConnectionCloseOnResponse ( log )

--- FAIL: TestTransportConnectionCloseOnResponse (0.00s)
    --- FAIL: TestTransportConnectionCloseOnResponse/h2 (0.02s)
        transport_test.go:240: error in connectionClose=true. unexpected bodiesDiffer=false; body1="127.0.0.1:64275"; body2="127.0.0.1:64275"

watchflakes

相关问题