go crypto/tls: BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12失败

4zcjmb1e  于 8个月前  发布在  Go
关注(0)|答案(1)|浏览(67)
#!watchflakes
default <- pkg == "crypto/tls" && test == "BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12"

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

=== RUN   BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
    handshake_server_test.go:1346: #4: read tcp 127.0.0.1:56882->127.0.0.1:56844: use of closed network connection
        Read 0, wanted 43, got , wanted 1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
    handshake_server_test.go:1349: #4: mismatch on read: got:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 want:1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
--- FAIL: BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12

watchflakes

3j86kqsm

3j86kqsm1#

找到了新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "crypto/tls" && test == "BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12"

2024-06-07 19:02 gotip-darwin-amd64-race go@d5e5b143 crypto/tls.BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12 ( log )

=== RUN   BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
    handshake_server_test.go:1346: #4: read tcp 127.0.0.1:56882->127.0.0.1:56844: use of closed network connection
        Read 0, wanted 43, got , wanted 1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
    handshake_server_test.go:1349: #4: mismatch on read: got:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 want:1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
--- FAIL: BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12

2024-06-21 19:37 gotip-darwin-amd64-race go@52ce25b4 crypto/tls.BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12 ( log )

=== RUN   BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
    handshake_server_test.go:1346: #4: read tcp 127.0.0.1:55059->127.0.0.1:55019: use of closed network connection
        Read 0, wanted 43, got , wanted 1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
    handshake_server_test.go:1349: #4: mismatch on read: got:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 want:1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
--- FAIL: BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
==================
WARNING: DATA RACE
Read at 0x00c00012ecc9 by goroutine 71:
  testing.(*B).Run()
...
  crypto/tls.benchmarkHandshakeServer()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/crypto/tls/handshake_server_test.go:1336 +0xa36
  crypto/tls.BenchmarkHandshakeServer.func5.2()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/crypto/tls/handshake_server_test.go:1410 +0x9a
  testing.(*B).runN()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:193 +0x19c
  testing.(*B).run1.func1()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:215 +0x7b
==================
    testing.go:1399: race detected during execution of test

2024-06-21 19:58 gotip-darwin-amd64-race go@d79c3509 crypto/tls.BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12 ( log )

=== RUN   BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12
    handshake_server_test.go:1346: #4: read tcp 127.0.0.1:49766->127.0.0.1:49726: use of closed network connection
        Read 0, wanted 43, got , wanted 1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
    handshake_server_test.go:1349: #4: mismatch on read: got:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 want:1403030001011603030020e9e6b2890af8c715ba574759113fdd7443145ef9ab931663ea47246f97101255
--- FAIL: BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12

watchflakes

相关问题