pingcap / pingcap/tidb

`make ut` failed when running locally on x64 or arm64 machine

Open
#54,276 5 comments 0 reactions 2 assignees Claimed by @hawkingrei View on GitHub
affects-8.5 component/test may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 may-affects-8.1 severity/major sig/execution sig/planner sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)
1. `make ut`

### 2. What did you expect to see? (Required)
success
### 3. What did you see instead (Required)
some cases failed
7 cases failed on x64 linux machine
``` bash
cat ~/master-on-x64-ubuntu-ut.log | grep FAIL]
[FAIL] pkg/executor TestContextCancelWhenReadFromCopIterator
[FAIL] pkg/executor/join TestShuffleMergeJoinInDisk
[FAIL] pkg/statistics/handle/cache/internal/lfu TestMemoryControlWithUpdate
[FAIL] pkg/plugin TestLoadStaticRegisteredPlugin
[FAIL] pkg/planner/core/casetest/planstats TestPlanStatsLoad
[FAIL] pkg/infoschema/test/clustertablestest TestMDLViewIDConflict
[FAIL] pkg/session/bootstraptest TestUpgradeVersionForPausedJob
```

6 cases failed on arm mac machine
```bash
cat ~/master-on-darwin-ut.log | grep FAIL]
[FAIL] pkg/statistics/handle/storage TestGCExtendedStats
[FAIL] pkg/statistics/handle/cache/internal/lfu TestMemoryControlWithUpdate
[FAIL] pkg/session/bootstraptest TestUpgradeVersionForPausedJob
[FAIL] pkg/infoschema/test/clustertablestest TestMDLViewIDConflict
[FAIL] pkg/ddl/tests/partition TestPartitionErrorCode
[FAIL] pkg/executor/join TestShuffleMergeJoinInDisk
```
there are logs for run ut
[master-on-x64-ubuntu-ut.log](https://github.com/user-attachments/files/16010027/master-on-x64-ubuntu-ut.log)
[master-on-darwin-ut.log](https://github.com/user-attachments/files/16010040/master-on-darwin-ut.log)

### 4. What is your TiDB version? (Required)
master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.