You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This unit test fails consistently when using go 1.13. As we will plan to upgrade to go 1.13 in the future, we should no doubt fix it:
The unit test currently has a workaround set in the Makefile, of export GODEBUG=tls13=0. This is require for the unit tests to not produce the following error. According to the go docs, this workaround will be removed in go 1.14.
ok vitess.io/vitess/go/memcache 0.002s
E1208 20:51:09.808962 6454 server.go:320] Cannot read post-SSL client handshake response from client 1 ([::1]:36288): tls: client didn't provide a certificate
io.ReadFull(header size) failed
W1208 20:51:09.809726 6454 auth_server_static.go:195] Config parsed using legacy configuration. Please update to the latest format: {"user":[{"Password": "xxx"}, ...]}
W1208 20:51:10.991662 6454 server.go:363] Error authenticating user using MySQL native password: Access denied for user 'user1' (errno 1045) (sqlstate 28000)
W1208 20:51:10.992049 6454 server.go:363] Error authenticating user using MySQL native password: Access denied for user 'user1' (errno 1045) (sqlstate 28000)
W1208 20:51:11.005966 6454 server.go:451] Slow connection from client 1 (127.0.0.1:41664): 446.373µs
E1208 20:51:11.014685 6454 server.go:273] mysql_server caught panic:
test panic attack!
/home/morgo/vitess/go/mysql/server_test.go:93 (0x8a5e97)
io/vitess/go/mysql.(*testHandler).ComQuery: panic("test panic attack!")
/home/morgo/vitess/go/mysql/conn.go:1070 (0x8465f7)
io/vitess/go/mysql.(*Conn).execQuery: err := handler.ComQuery(c, query, func(qr *sqltypes.Result) error {
/home/morgo/vitess/go/mysql/conn.go:771 (0x845e6d)
io/vitess/go/mysql.(*Conn).handleNextCommand: if err := c.execQuery(sql, handler, more); err != nil {
/home/morgo/vitess/go/mysql/server.go:458 (0x863dfd)
io/vitess/go/mysql.(*Listener).handle: err := c.handleNextCommand(l.handler)
/usr/local/go/src/runtime/asm_amd64.s:1357 (0x460c00)
goexit: BYTE $0x90 // NOP
E1208 20:51:11.034205 6454 conn.go:1117] Error in the middle of a stream to client 5 (127.0.0.1:41672): forced error after send (errno 1047) (sqlstate 08S01)
W1208 20:51:11.063186 6454 server.go:395] Error authenticating user using MySQL native password: Access denied for user 'user1' (errno 1045) (sqlstate 28000)
W1208 20:51:11.068802 6454 server.go:395] Error authenticating user using MySQL native password: Access denied for user 'user2' (errno 1045) (sqlstate 28000)
--- FAIL: TestTLSServer (0.23s)
server_test.go:1043: No count found for version TLS12
FAIL
FAIL vitess.io/vitess/go/mysql 2.349s
ok vitess.io/vitess/go/mysql/ldapauthserver 0.003s
The text was updated successfully, but these errors were encountered:
I can confirm that setting export GODEBUG=tls13=0 made the test pass. I have some other changes to the Makefile in #5527 ; so I will add a line in here for disabling tls13. But I will leave this issue open, as this option is to be removed in go 1.14.
This unit test fails consistently when using go 1.13. As we will plan to upgrade to go 1.13 in the future, we should no doubt fix it:The unit test currently has a workaround set in the Makefile, of
export GODEBUG=tls13=0
. This is require for the unit tests to not produce the following error. According to the go docs, this workaround will be removed in go 1.14.The text was updated successfully, but these errors were encountered: