go x/net/internal/quic/cmd/interop: 测试传输失败

hxzsmxv2  于 6个月前  发布在  Go
关注(0)|答案(3)|浏览(45)
#!watchflakes
default <- pkg == "golang.org/x/net/internal/quic/cmd/interop" && test == "TestTransfer"

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

--- FAIL: TestTransfer (10.04s)
    main_test.go:66: run server: [-listen localhost:0 -cert /tmp/workdir/tmp/TestTransfer3219762341/003/cert.pem -key /tmp/workdir/tmp/TestTransfer3219762341/003/key.pem -root /tmp/workdir/tmp/TestTransfer3219762341/001]
    main_test.go:81: server: 2024/02/08 18:27:03 listening on 127.0.0.1:26879
    main_test.go:66: run client: [-output /tmp/workdir/tmp/TestTransfer3219762341/002 https://localhost:26879/source]
    main_test.go:81: client: 2024/02/08 18:27:03 listening on [::]:26879
    main_test.go:81: client: 2024/02/08 18:27:13 localhost:26879: closed connection: CONNECTION_REFUSED: "handshake timeout"
    main_test.go:90: client done
    main_test.go:143: reading downloaded file: open /tmp/workdir/tmp/TestTransfer3219762341/002/source: no such file or directory
    main_test.go:90: server done

watchflakes

z4bn682m

z4bn682m1#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/net/internal/quic/cmd/interop" && test == "TestTransfer"

2024-02-08 18:20 freebsd-386-13_0 net@5a444b4f go@b214108e x/net/internal/quic/cmd/interop.TestTransfer ( log )

--- FAIL: TestTransfer (10.04s)
    main_test.go:66: run server: [-listen localhost:0 -cert /tmp/workdir/tmp/TestTransfer3219762341/003/cert.pem -key /tmp/workdir/tmp/TestTransfer3219762341/003/key.pem -root /tmp/workdir/tmp/TestTransfer3219762341/001]
    main_test.go:81: server: 2024/02/08 18:27:03 listening on 127.0.0.1:26879
    main_test.go:66: run client: [-output /tmp/workdir/tmp/TestTransfer3219762341/002 https://localhost:26879/source]
    main_test.go:81: client: 2024/02/08 18:27:03 listening on [::]:26879
    main_test.go:81: client: 2024/02/08 18:27:13 localhost:26879: closed connection: CONNECTION_REFUSED: "handshake timeout"
    main_test.go:90: client done
    main_test.go:143: reading downloaded file: open /tmp/workdir/tmp/TestTransfer3219762341/002/source: no such file or directory
    main_test.go:90: server done

watchflakes

waxmsbnn

waxmsbnn2#

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

  1. 第一行和第二行的规律是:第n个数等于前两个数的和;

  2. 第三行和第四行的规律是:第n个数等于前两个数的差。

rbl8hiat

rbl8hiat3#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/net/internal/quic/cmd/interop" && test == "TestTransfer"

2024-06-03 16:01 x_net-go1.22-darwin-amd64_13 net@603e3e63 release-branch.go1.22@74565750 x/net/internal/quic/cmd/interop.TestTransfer ( log )

=== RUN   TestTransfer
    main_test.go:66: run server: [-listen localhost:0 -cert /Users/swarming/.swarming/w/ir/x/t/TestTransfer1944337478/003/cert.pem -key /Users/swarming/.swarming/w/ir/x/t/TestTransfer1944337478/003/key.pem -root /Users/swarming/.swarming/w/ir/x/t/TestTransfer1944337478/001]
    main_test.go:81: server: 2024/06/03 09:03:05 listening on 127.0.0.1:60271
    main_test.go:66: run client: [-output /Users/swarming/.swarming/w/ir/x/t/TestTransfer1944337478/002 https://localhost:60271/source]
    main_test.go:81: client: 2024/06/03 09:03:05 listening on [::]:62686
    main_test.go:81: client: 2024/06/03 09:03:15 localhost:60271: closed connection: CONNECTION_REFUSED: "handshake timeout"
    main_test.go:90: client done
    main_test.go:143: reading downloaded file: open /Users/swarming/.swarming/w/ir/x/t/TestTransfer1944337478/002/source: no such file or directory
    main_test.go:90: server done
--- FAIL: TestTransfer (10.09s)

watchflakes

相关问题