Closed tonyyang-svail closed 5 years ago
Initially, the CI of https://github.com/sql-machine-learning/gomaxcompute/pull/19 failed with the following error message
$ travis_script_go -v === RUN TestQuery --- PASS: TestQuery (5.35s) === RUN TestSQLOpen --- PASS: TestSQLOpen (0.00s) === RUN TestConfig_ParseDSN --- PASS: TestConfig_ParseDSN (0.00s) === RUN TestConfig_FormatDSN --- PASS: TestConfig_FormatDSN (0.00s) === RUN TestConfig_ParseAndFormatRoundTrip --- PASS: TestConfig_ParseAndFormatRoundTrip (0.00s) === RUN TestJob_GenCreateInstanceXml --- PASS: TestJob_GenCreateInstanceXml (0.00s) === RUN TestNext --- FAIL: TestNext (3.42s) rows_test.go:21: Error Trace: rows_test.go:21 Error: Received unexpected error: parseResponseBody error: 401 Test: TestNext panic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x66b866] goroutine 67 [running]: testing.tRunner.func1(0xc0001e2600) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/testing/testing.go:792 +0x387 panic(0x6f0740, 0x999a30) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9 database/sql.(*Rows).close(0x0, 0x0, 0x0, 0x0, 0x0) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/database/sql/sql.go:2955 +0x66 database/sql.(*Rows).Close(0x0, 0x0, 0x0) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/database/sql/sql.go:2951 +0x33 panic(0x6f0740, 0x999a30) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9 database/sql.(*Rows).Columns(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/database/sql/sql.go:2743 +0x3c github.com/sql-machine-learning/gomaxcompute.TestNext(0xc0001e2600) /home/travis/gopath/src/github.com/sql-machine-learning/gomaxcompute/rows_test.go:23 +0x1a9 testing.tRunner(0xc0001e2600, 0x760d88) /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/testing/testing.go:827 +0xbf created by testing.(*T).Run /home/travis/.gimme/versions/go1.11.10.linux.amd64/src/testing/testing.go:878 +0x35c FAIL github.com/sql-machine-learning/gomaxcompute 8.780s
However, the error went away after rerunning.
Initially, the CI of https://github.com/sql-machine-learning/gomaxcompute/pull/19 failed with the following error message
However, the error went away after rerunning.