Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test case 'planner/core TestPrepareCacheChangingParamType' fail on real TiKV #35836

Closed
tiancaiamao opened this issue Jun 30, 2022 · 1 comment
Labels
severity/moderate sig/execution SIG execution type/bug The issue is confirmed as a bug. type/stale This issue has not been updated for a long time.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

I'm testing paging protocol by running tidb UT with a real TiKV using this branch #35647

tiup playground nightly --mode tikv-slim
cd planner/core
go test -run ^TestPrepareCacheChangingParamType$ -with-tikv 127.0.0.1:2379

2. What did you expect to see? (Required)

Success

3. What did you see instead (Required)

--- FAIL: TestPrepareCacheChangingParamType (3.53s)
    testkit.go:174: 
        	Error Trace:	testkit.go:174
        	            				testkit.go:168
        	            				prepare_test.go:672
        	            				prepare_test.go:677
        	Error:      	Received unexpected error:
        	            	other error: [components/tidb_query_expr/src/types/expr_builder.rs:306]: Invalid compare (sig = EqInt) signature: Evaluate error: [components/tidb_query_expr/src/types/function.rs:269]: Expect `Int`, received `Bytes`
        	            	github.com/pingcap/tidb/store/copr.(*copIteratorWorker).handleCopResponse
        	            		/home/genius/project/src/github.com/pingcap/tidb/store/copr/coprocessor.go:921
        	            	github.com/pingcap/tidb/store/copr.(*copIteratorWorker).handleCopPagingResult
        	            		/home/genius/project/src/github.com/pingcap/tidb/store/copr/coprocessor.go:852
        	            	github.com/pingcap/tidb/store/copr.(*copIteratorWorker).handleTaskOnce
        	            		/home/genius/project/src/github.com/pingcap/tidb/store/copr/coprocessor.go:782
        	            	github.com/pingcap/tidb/store/copr.(*copIteratorWorker).handleTask
        	            		/home/genius/project/src/github.com/pingcap/tidb/store/copr/coprocessor.go:674
        	            	github.com/pingcap/tidb/store/copr.(*copIteratorWorker).run
        	            		/home/genius/project/src/github.com/pingcap/tidb/store/copr/coprocessor.go:416
        	            	runtime.goexit
        	            		/home/genius/project/go/src/runtime/asm_amd64.s:1571
        	Test:       	TestPrepareCacheChangingParamType
        	Messages:   	sql1:execute s2 using @b1, sql2:select * from t_tinyint where b=null
FAIL
exit status 1
FAIL	github.com/pingcap/tidb/planner/core	3.570s

4. What is your TiDB version? (Required)

master

commit 47a4f3a017768dda0b9a826451486c5539bc8427 (HEAD -> master, origin/master, origin/HEAD)
Author: Weizhen Wang <[email protected]>
Date:   Wed Jun 29 20:16:40 2022 +0800

    *: enable unconvert (#35821)
    
    ref pingcap/tidb#35345
@tiancaiamao tiancaiamao added type/bug The issue is confirmed as a bug. severity/moderate sig/execution SIG execution labels Jun 30, 2022
@jebter
Copy link

jebter commented Sep 3, 2024

Please try the latest version. I will close it,if there are any updates, you can reopen it.

@jebter jebter closed this as completed Sep 3, 2024
@jebter jebter added the type/stale This issue has not been updated for a long time. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate sig/execution SIG execution type/bug The issue is confirmed as a bug. type/stale This issue has not been updated for a long time.
Projects
None yet
Development

No branches or pull requests

2 participants