ticdc: unstable unit test TestRemoveExpiredFilesWithoutPartition #10815
Labels
area/ticdc
Issues or PRs related to TiCDC.
severity/moderate
type/bug
The issue is confirmed as a bug.
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)
The text was updated successfully, but these errors were encountered: