|
| 1 | +# Next-Gen DM CI Status Tracker |
| 2 | + |
| 3 | +## PR: https://github.com/pingcap/tiflow/pull/12599 |
| 4 | +## Branch: mariadb-source-smoke-dm → mine/mariadb-source-smoke-dm |
| 5 | + |
| 6 | +## Goal: All groups pass on BOTH classic and next-gen CI |
| 7 | + |
| 8 | +### Validation Progress |
| 9 | + |
| 10 | +| Group | Next-Gen | Classic | Notes | |
| 11 | +|-------|----------|---------|-------| |
| 12 | +| G00 | **PASSED** #82 | NEED CHECK | | |
| 13 | +| G01 | **PASSED** #83 | NEED CHECK | | |
| 14 | +| G02 | **PASSED** #84 | NEED CHECK | | |
| 15 | +| G03 | **PASSED** #86 | NEED CHECK | | |
| 16 | +| G04 | **PASSED** #87 | NEED CHECK | | |
| 17 | +| G05 | **PASSED** #101 | NEED CHECK | many_tables: import-into + MinIO for Phase 2 | |
| 18 | +| G06 | **PASSED** #88 | NEED CHECK | | |
| 19 | +| G07 | **PASSED** #89 | NEED CHECK | | |
| 20 | +| G08 | **PASSED** #90 | NEED CHECK | | |
| 21 | +| G09 | **PASSED** #94 | NEED CHECK | Flaky ERROR 1008 on #93 | |
| 22 | +| G10 | PENDING #103 | NEED CHECK | mariadb_source removed, others adapted | |
| 23 | +| G11 | **PASSED** #95 | NEED CHECK | | |
| 24 | +| TLS_GROUP | **PASSED** #96 | NEED CHECK | | |
| 25 | + |
| 26 | +### Tests Skipped on Next-Gen |
| 27 | + |
| 28 | +| Test | Group | Reason | |
| 29 | +|------|-------|--------| |
| 30 | +| new_collation_off | G09 | Next-gen can't disable new collation | |
| 31 | +| s3_dumpling_lightning | G09 | Lightning version gate (physical mode) | |
| 32 | + |
| 33 | +### Tests Adapted for Next-Gen |
| 34 | + |
| 35 | +| Test | Group | Change | |
| 36 | +|------|-------|--------| |
| 37 | +| many_tables Phase 2 | G05 | import-into mode + existing MinIO instead of Lightning physical | |
| 38 | +| sync_collation | G11 | Explicit COLLATE utf8_general_ci in SQL | |
| 39 | +| openapi test_tls | G09 | TLS TiDB with plain mysql probe (status port stays HTTP) | |
| 40 | +| openapi test_delete_task_with_stopped_downstream | G09 | cleanup_tidb_server (port-4000 targeted) | |
| 41 | +| new_relay | G10 | cleanup_tidb_server instead of pkill tidb-server | |
| 42 | +| all_mode | G10 | cleanup_tidb_server instead of pkill tidb-server | |
| 43 | +| import_into_mode | G10 | PID-targeted MinIO kill (preserve next-gen cluster MinIO) | |
| 44 | + |
| 45 | +### Key Fixes Applied |
| 46 | + |
| 47 | +1. DDL fix: Don't set tidb_ddl_enable_fast_reorg=0 / tidb_enable_dist_task=0 on next-gen |
| 48 | +2. CONFIG privilege: Added to test user GRANT |
| 49 | +3. run_tidb_server: Unified TiDB startup (unistore/tikv via PD_ADDR, TLS detection) |
| 50 | +4. env_variables: Centralized next-gen vars (PD_ADDR, TIKV_WORKER_ADDR, KEYSPACE_NAME, etc.) |
| 51 | +5. Cluster scripts: Source env_variables for standalone invocation |
| 52 | +6. cleanup_tidb_server: Port-4000 targeted, removes temp-storage _dir.lock |
| 53 | +7. shardddl1: DML merge threshold relaxed (>2) |
| 54 | +8. dmctl_basic: Session block normalization for tidb_txn_mode diff |
| 55 | +9. print_debug_status: Moved to ha_cases_lib.sh |
| 56 | +10. TLS classic cluster: Restored original (separate ports, inline TiDB startup) |
| 57 | +11. Makefile: check_third_party_binary_for_dm checks sync_diff_inspector exists instead of rebuilding |
| 58 | + |
| 59 | +### Remaining Work |
| 60 | + |
| 61 | +- [ ] Build #103: Full next-gen run with all groups including G10 |
| 62 | +- [ ] Verify classic CI passes |
| 63 | +- [ ] Final cleanup: simplify scripts, squash commits |
0 commit comments