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

test(dm): drop_column_with_index is unstable #4246

Closed
Tracked by #2246
okJiang opened this issue Jan 7, 2022 · 0 comments · Fixed by #4172
Closed
Tracked by #2246

test(dm): drop_column_with_index is unstable #4246

okJiang opened this issue Jan 7, 2022 · 0 comments · Fixed by #4172
Assignees
Labels
component/test Unit tests and integration tests component.

Comments

@okJiang
Copy link
Member

okJiang commented Jan 7, 2022

Which jobs are flaking?

https://ci2.pingcap.net/blue/organizations/jenkins/dm_ghpr_integration_test/detail/dm_ghpr_integration_test/2565/pipeline/

Which test(s) are flaking?

drop_column_with_index

Jenkins logs or GitHub Actions link

[2022-01-07T08:27:42.536Z] start running case: [drop_column_with_index] script: [/home/jenkins/agent/workspace/dm_ghpr_integration_test/go/src/github.com/pingcap/tiflow/dm/tests/drop_column_with_index/run.sh]

[2022-01-07T08:27:42.536Z] Running test /home/jenkins/agent/workspace/dm_ghpr_integration_test/go/src/github.com/pingcap/tiflow/dm/tests/drop_column_with_index/run.sh...

[2022-01-07T08:27:42.536Z] Verbose mode = false

[2022-01-07T08:27:42.536Z] 0 dm-master alive

[2022-01-07T08:27:42.536Z] 0 dm-worker alive

[2022-01-07T08:27:42.536Z] 0 dm-syncer alive

[2022-01-07T08:27:42.536Z] process dm-master.test already exit

[2022-01-07T08:27:42.536Z] process dm-worker.test already exit

[2022-01-07T08:27:42.536Z] process dm-syncer.test already exit

[2022-01-07T08:27:42.536Z] [Fri Jan  7 16:27:42 CST 2022] <<<<<< START DM-MASTER on port 8261, config: /home/jenkins/agent/workspace/dm_ghpr_integration_test/go/src/github.com/pingcap/tiflow/dm/tests/drop_column_with_index/conf/dm-master.toml >>>>>>

[2022-01-07T08:27:42.536Z] wait for rpc addr 127.0.0.1:8261 alive the 1-th time

[2022-01-07T08:27:43.465Z] rpc addr 127.0.0.1:8261 is alive

[2022-01-07T08:27:43.465Z] [Fri Jan  7 16:27:43 CST 2022] <<<<<< START DM-WORKER on port 8262, config: /home/jenkins/agent/workspace/dm_ghpr_integration_test/go/src/github.com/pingcap/tiflow/dm/tests/drop_column_with_index/conf/dm-worker1.toml >>>>>>

[2022-01-07T08:27:43.465Z] wait for rpc addr 127.0.0.1:8262 alive the 1-th time

[2022-01-07T08:27:44.833Z] rpc addr 127.0.0.1:8262 is alive

[2022-01-07T08:27:44.833Z] dmctl test cmd: "operate-source create /tmp/dm_test/drop_column_with_index/source1.yaml"

[2022-01-07T08:27:45.761Z] dmctl test cmd: "start-task /home/jenkins/agent/workspace/dm_ghpr_integration_test/go/src/github.com/pingcap/tiflow/dm/tests/drop_column_with_index/conf/dm-task.yaml --remove-meta"

[2022-01-07T08:27:47.659Z] dmctl test cmd: "query-status test"

[2022-01-07T08:27:47.659Z] got=1 expected=1

[2022-01-07T08:27:47.659Z] check diff successfully

[2022-01-07T08:27:47.659Z] dmctl test cmd: "query-status test"

[2022-01-07T08:27:47.659Z] got=1 expected=1

[2022-01-07T08:27:47.659Z] got=1 expected=1

[2022-01-07T08:27:47.659Z] got=1 expected=1

[2022-01-07T08:27:47.659Z] dmctl test cmd: "pause-task test"

[2022-01-07T08:27:47.917Z] dmctl test cmd: "query-status test"

[2022-01-07T08:27:47.917Z] got=1 expected=1

[2022-01-07T08:27:47.917Z] got=1 expected=1

[2022-01-07T08:27:47.917Z] got=1 expected=1

[2022-01-07T08:27:53.165Z] grep: dispatch: No such file or directory

[2022-01-07T08:27:53.165Z] grep: auto: No such file or directory

[2022-01-07T08:27:53.165Z] grep: resume: No such file or directory

[2022-01-07T08:27:53.165Z] grep: task: No such file or directory

[2022-01-07T08:27:53.166Z] dmctl test cmd: "resume-task test"

[2022-01-07T08:27:53.422Z] check diff failed 1-th time, retry later

[2022-01-07T08:27:55.942Z] check diff failed 2-th time, retry later

[2022-01-07T08:27:57.831Z] check diff failed 3-th time, retry later

[2022-01-07T08:27:59.721Z] check diff failed 4-th time, retry later

[2022-01-07T08:28:02.239Z] check diff failed 5-th time, retry later

[2022-01-07T08:28:04.128Z] check diff failed 6-th time, retry later

[2022-01-07T08:28:06.020Z] check diff failed 7-th time, retry later

[2022-01-07T08:28:08.537Z] check diff failed 8-th time, retry later

[2022-01-07T08:28:10.427Z] check diff failed 9-th time, retry later

[2022-01-07T08:28:12.321Z] check diff failed 10-th time, retry later

[2022-01-07T08:28:14.216Z] check diff failed at last

[2022-01-07T08:28:14.216Z] /tmp/dm_test/drop_column_with_index/sync_diff_stdout.log

[2022-01-07T08:28:14.216Z] A total of 1 tables need to be compared

[2022-01-07T08:28:14.216Z] 

[2022-01-07T08:28:14.216Z] 

[2022-01-07T08:28:14.216Z] Comparing the table structure of ``drop_column_with_index`.`t1`` ... failure

[2022-01-07T08:28:14.216Z] _____________________________________________________________________________

[2022-01-07T08:28:14.216Z] Progress [============================================================>] 100% 0/0

[2022-01-07T08:28:14.216Z] Progress [============================================================>] 100% 0/0

[2022-01-07T08:28:14.216Z] The structure of `drop_column_with_index`.`t1` is not equal, and data-check is skipped

[2022-01-07T08:28:14.216Z] 

[2022-01-07T08:28:14.216Z] The rest of tables are all equal.
[2022-01-07T09:10:30.852Z] [2022/01/07 17:10:07.990 +08:00] [ERROR] [baseconn.go:184] ["execute statement failed"] [task=test] [unit="binlog replication"] [query="ALTER TABLE `drop_column_with_index`.`t1` DROP COLUMN `c1`"] [argument="[]"] [error="Error 8200: can't drop column c1 with tidb_enable_change_multi_schema is disable"]
[2022-01-07T09:10:30.852Z] [2022/01/07 17:10:07.992 +08:00] [ERROR] [db.go:221] ["execute statements failed after retry"] [task=test] [unit="binlog replication"] [queries="[ALTER TABLE `drop_column_with_index`.`t1` DROP COLUMN `c1`]"] [arguments="[]"] [error="[code=10006:class=database:scope=not-set:level=high], Message: execute statement failed: ALTER TABLE `drop_column_with_index`.`t1` DROP COLUMN `c1`, RawCause: Error 8200: can't drop column c1 with tidb_enable_change_multi_schema is disable"]
[2022-01-07T09:10:30.852Z] [2022/01/07 17:10:07.997 +08:00] [ERROR] [syncer.go:2588] ["error detected when executing SQL job"] [task=test] [unit="binlog replication"] [error="[code=10006:class=database:scope=downstream:level=high], Message: startLocation: [position: (dm-integration-test-2566-hjl2n-pw6g6-bin|000001.000001, 2116), gtid-set: 23ef696b-6f99-11ec-80f0-ae184bbcf630:1-9], endLocation: [position: (dm-integration-test-2566-hjl2n-pw6g6-bin|000001.000001, 2255), gtid-set: ], origin SQL: [alter table t1 drop column c1]: execute statement failed: ALTER TABLE `drop_column_with_index`.`t1` DROP COLUMN `c1`, RawCause: Error 8200: can't drop column c1 with tidb_enable_change_multi_schema is disable"]

Anything else we need to know

  • Does this test exist for other branches as well?

  • Has there been a high frequency of failure lately?

@okJiang okJiang added the component/test Unit tests and integration tests component. label Jan 7, 2022
@okJiang okJiang self-assigned this Jan 7, 2022
ti-chi-bot pushed a commit that referenced this issue Jan 7, 2022
ti-chi-bot added a commit to ti-chi-bot/tiflow that referenced this issue Jan 18, 2022
…ngcap#4323)

* fix the txn_batch_size metric inaccuracy bug when the sink target is MQ

* address comments

* add comments for exported functions

* fix the compiling problem

* workerpool: limit the rate to output deadlock warning (pingcap#3775) (pingcap#3795)

* tests(ticdc): set up the sync diff output directory correctly (pingcap#3725) (pingcap#3741)

* relay(dm): use binlog name comparison (pingcap#3710) (pingcap#3712)

* dm/load: fix concurrent call Loader.Status (pingcap#3459) (pingcap#3468)

* cdc/sorter: make unified sorter cgroup aware (pingcap#3436) (pingcap#3439)

* tz (ticdc): fix timezone error (pingcap#3887) (pingcap#3906)

* pkg,cdc: do not use log package (pingcap#3902) (pingcap#3940)

* *: rename repo from pingcap/ticdc to pingcap/tiflow (pingcap#3959)

* http_*: add log for http api and refine the err handle logic (pingcap#2997) (pingcap#3307)

* etcd_worker: batch etcd patch (pingcap#3277) (pingcap#3389)

* http_api (ticdc): check --cert-allowed-cn before add server common name (pingcap#3628) (pingcap#3882)

* kvclient(ticdc): fix kvclient takes too long time to recover (pingcap#3612) (pingcap#3663)

* owner: fix owner tick block http request (pingcap#3490) (pingcap#3530)

* dm/syncer: use downstream PK/UK to generate DML (pingcap#3168) (pingcap#3256)

* dep(dm): update go-mysql (pingcap#3914) (pingcap#3934)

* dm/syncer: multiple rows use downstream schema (pingcap#3308) (pingcap#3953)

* errorutil,sink,syncer: add errorutil to handle ignorable error (pingcap#3264) (pingcap#3995)

* dm/worker: don't exit when failed to read checkpoint in relay (pingcap#3345) (pingcap#4005)

* syncer(dm): use an early location to reset binlog and open safemode (pingcap#3860)

* ticdc/owner: Fix ddl special comment syntax error (pingcap#3845) (pingcap#3978)

* dm/scheduler: fix inconsistent of relay status (pingcap#3474) (pingcap#4009)

* owner,scheduler(cdc): fix nil pointer panic in owner scheduler (pingcap#2980) (pingcap#4007) (pingcap#4016)

* config(ticdc): Fix old value configuration check for maxwell protocol (pingcap#3747) (pingcap#3783)

* sink(ticdc): cherry pick sink bug fix to release 5.3 (pingcap#4083)

* master(dm): clean and treat invalid load task (pingcap#4004) (pingcap#4145)

* loader: fix wrong progress in query-status for loader (pingcap#4093) (pingcap#4143)

close pingcap#3252

* ticdc/processor: Fix backoff base delay misconfiguration (pingcap#3992) (pingcap#4028)

* dm: load table structure from dump files (pingcap#3295) (pingcap#4163)

* compactor: fix duplicate entry in safemode (pingcap#3432) (pingcap#3434) (pingcap#4088)

* kv(ticdc): reduce eventfeed rate limited log (pingcap#4072) (pingcap#4111)

close pingcap#4006

* metrics(ticdc): add resolved ts and add changefeed to dataflow (pingcap#4038) (pingcap#4104)

* This is an automated cherry-pick of pingcap#4192

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>

* retry(dm): align with tidb latest error message (pingcap#4172) (pingcap#4254)

close pingcap#4159, close pingcap#4246

* owner(ticdc): Add bootstrap and try to fix the meta information in it (pingcap#3838) (pingcap#3865)

* redolog: add a precleanup process when s3 enable (pingcap#3525) (pingcap#3878)

* ddl(dm): make skipped ddl pass `SplitDDL()` (pingcap#4176) (pingcap#4227)

close pingcap#4173

* cdc/sink: remove Initialize method from the sink interface (pingcap#3682) (pingcap#3765)

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* http_api (ticdc): fix http api 'get processor' panic. (pingcap#4117) (pingcap#4123)

close pingcap#3840

* sink (ticdc): fix a deadlock due to checkpointTs fall back in sinkNode (pingcap#4084) (pingcap#4099)

close pingcap#4055

* cdc/sink: adjust kafka initialization logic (pingcap#3192) (pingcap#4162)

* try fix conflicts.

* This is an automated cherry-pick of pingcap#4192

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>

* fix conflicts.

* fix conflicts.

Co-authored-by: zhaoxinyu <zhaoxinyu512@gmail.com>
Co-authored-by: amyangfei <yangfei@pingcap.com>
Co-authored-by: lance6716 <lance6716@gmail.com>
Co-authored-by: sdojjy <sdojjy@qq.com>
Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
Co-authored-by: 3AceShowHand <jinl1037@hotmail.com>
zhaoxinyu pushed a commit to zhaoxinyu/ticdc that referenced this issue Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test Unit tests and integration tests component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant