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

ticdc: unstable unit test TestRemoveExpiredFilesWithoutPartition #10815

Closed
Tracked by #10742
lidezhu opened this issue Mar 19, 2024 · 1 comment · Fixed by #10814
Closed
Tracked by #10742

ticdc: unstable unit test TestRemoveExpiredFilesWithoutPartition #10815

lidezhu opened this issue Mar 19, 2024 · 1 comment · Fixed by #10814
Labels
area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@lidezhu
Copy link
Collaborator

lidezhu commented Mar 19, 2024

What did you do?

TZ="America/New_York" go test -run ^TestRemoveExpiredFilesWithoutPartition$ github.com/pingcap/tiflow/pkg/sink/cloudstorage -v

What did you expect to see?

The test pass.

What did you see instead?

=== RUN TestRemoveExpiredFilesWithoutPartition
=== PAUSE TestRemoveExpiredFilesWithoutPartition
=== CONT TestRemoveExpiredFilesWithoutPartition
[2024/03/19 03:15:35.891 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/5/2021-01-01]
[2024/03/19 03:15:35.892 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/5/2021-01-01/meta]
[2024/03/19 03:15:35.893 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/meta]
[2024/03/19 03:15:35.893 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table2/5/2021-01-01]
[2024/03/19 03:15:35.894 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table2/5/2021-01-01/meta]
[2024/03/19 03:15:35.895 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table2/meta]
[2024/03/19 03:15:35.895 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/400200133/12/2021-01-01/20210101]
[2024/03/19 03:15:35.896 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/400200133/12/2021-01-01/20210101/meta]
[2024/03/19 03:15:35.897 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema2/table1/400200150/12/2021-01-01/20210101]
[2024/03/19 03:15:35.898 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema2/table1/400200150/12/2021-01-01/20210101/meta]
[2024/03/19 03:15:35.898 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema2/table1/meta]
[2024/03/19 03:15:35.899 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/5/2021-01-02]
[2024/03/19 03:15:35.900 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table1/5/2021-01-02/meta]
[2024/03/19 03:15:35.900 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table2/5/2021-01-02]
[2024/03/19 03:15:35.901 -04:00] [INFO] [local.go:57] ["failed to write file, try to mkdir the path"] [path=/var/folders/7k/4g8s_f9d64xftf1277sk3d0h0000gn/T/TestRemoveExpiredFilesWithoutPartition1580636193/001/schema1/table2/5/2021-01-02/meta]
[2024/03/19 03:15:35.901 -04:00] [INFO] [path.go:452] ["removing expired files"] [expiredDate=2021-01-01]
path_test.go:437:
Error Trace: /Users/linkmyth/workspace/tiflow/pkg/sink/cloudstorage/path_test.go:437
Error: Not equal:
expected: 0x10
actual : 0x0
Test: TestRemoveExpiredFilesWithoutPartition
--- FAIL: TestRemoveExpiredFilesWithoutPartition (0.02s)
FAIL
FAIL github.com/pingcap/tiflow/pkg/sink/cloudstorage 0.682s
FAIL

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)
@lidezhu lidezhu added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Mar 19, 2024
@lidezhu
Copy link
Collaborator Author

lidezhu commented Mar 19, 2024

/severity moderate

@lidezhu lidezhu changed the title ticdc: unstable uts TestRemoveExpiredFilesWithoutPartition ticdc: unstable unit test TestRemoveExpiredFilesWithoutPartition Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant