Closed sneaxiy closed 4 years ago
Based on https://github.com/sql-machine-learning/sqlflow/pull/2970 .
2020-10-10T06:12:35.8540517Z [0m[91m--- FAIL: TestModelZooServer (4.58s) 2020-10-10T06:12:35.8543005Z [0m[32m --- PASS: TestModelZooServer/ReleaseModelDef (3.56s) 2020-10-10T06:12:35.8545311Z [0m[0m modelzooserver_test.go:152: 2020-10-10T06:12:35.8546656Z [0m[0m Error Trace: modelzooserver_test.go:152 2020-10-10T06:12:35.8548602Z [0m[0m Error: rpc error: %v 2020-10-10T06:12:35.8549344Z [0m[0m Test: TestModelZooServer 2020-10-10T06:12:35.8550771Z [0m[0m Messages: rpc error: code = Unknown desc = convert length head error: strconv.ParseInt: parsing "\x1f\x8b\b\x00\xd3P\x81_\x00\x03": invalid syntax 2020-10-10T06:12:35.8553259Z [0m[91m --- FAIL: TestModelZooServer/ReleaseTrainedModel (0.01s) 2020-10-10T06:12:35.8556005Z [0m[0m testing.go:864: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test 2020-10-10T06:12:35.8558480Z [0m[0m=== RUN TestUsingModelZooModel 2020-10-10T06:12:35.8613889Z [0m[0mtime="2020-10-10T14:12:35+08:00" level=info msg="SQLFlow Model Zoo started at: 50056" 2020-10-10T06:12:51.3255821Z [0m[91m--- FAIL: TestUsingModelZooModel (15.47s) 2020-10-10T06:12:51.3256634Z [0m[0m using_model_test.go:189: 2020-10-10T06:12:51.3257174Z [0m[0m Error Trace: using_model_test.go:189 2020-10-10T06:12:51.3257869Z [0m[0m Error: Received unexpected error: 2020-10-10T06:12:51.3258829Z [0m[0m rpc error: code = Unknown desc = runSQLProgram error: open: table localhost:50056/sqlflow_models.modelzoo_model_iris doesn't exist 2020-10-10T06:12:51.3259747Z [0m[0m Test: TestUsingModelZooModel 2020-10-10T06:12:51.3260324Z [0m[91mFAIL 2020-10-10T06:12:51.3261771Z [0m[0mcoverage: 47.7% of statements 2020-10-10T06:12:51.3286625Z [0m[91mFAIL sqlflow.org/sqlflow/go/modelzooserver 21.405s
Based on https://github.com/sql-machine-learning/sqlflow/pull/2970 .