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

Some of UTs failed when enable TASN. #5085

Closed
jiaqizho opened this issue Jun 8, 2022 · 0 comments · Fixed by #5086
Closed

Some of UTs failed when enable TASN. #5085

jiaqizho opened this issue Jun 8, 2022 · 0 comments · Fixed by #5086
Assignees
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@jiaqizho
Copy link
Contributor

jiaqizho commented Jun 8, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. when build with TASN + gcc
    some of error from build
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2221:108: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2221:108: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2222:107: sorry, unimplemented: non-trivial designated initializers not supported
     PageEntryV3 entry_5_v1{.file_id = file_id2, .size = 255, .tag = 0, .offset = 0x100, .checksum = 0x4567};
                                                                                                           ^
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2222:107: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2222:107: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2223:107: sorry, unimplemented: non-trivial designated initializers not supported
     PageEntryV3 entry_5_v2{.file_id = file_id2, .size = 255, .tag = 0, .offset = 0x400, .checksum = 0x4567};
                                                                                                           ^
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2223:107: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2223:107: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp: In member function ‘virtual void DB::PS::V3::tests::PageDirectoryGCTest_CleanAfterDecreaseRef_Test::TestBody()’:
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2278:101: sorry, unimplemented: non-trivial designated initializers not supported
     PageEntryV3 entry_50_1{.file_id = 1, .size = 7890, .tag = 0, .offset = 0x123, .checksum = 0x4567};
                                                                                                     ^
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2278:101: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2278:101: sorry, unimplemented: non-trivial designated initializers not supported
tics-dev/dbms/src/Storages/Page/V3/tests/gtest_page_directory.cpp:2279:101: sorry, unimplemented: non-trivial designated initializers not supported
     PageEntryV3 entry_50_2{.file_id = 2, .size = 7890, .tag = 0, .offset = 0x123, .checksum = 0x4567};
                                                                                                     ^
....
tics-dev/dbms/src/TestUtils/ColumnsToTiPBExpr.cpp: In function ‘void DB::tests::{anonymous}::columnToTiPBExpr(tipb::Expr*, DB::ColumnWithTypeAndName, size_t)’:
tics-dev/dbms/src/TestUtils/ColumnsToTiPBExpr.cpp:38:36: error: unused variable ‘null_map’ [-Werror=unused-variable]
                 auto [col, null_map] = removeNullable(column.column.get());
                                    ^
tics-dev/dbms/src/TestUtils/ColumnsToTiPBExpr.cpp: In function ‘void DB::tests::{anonymous}::columnsToTiPBExprForTiDBCast(tipb::Expr*, const String&, const ColumnNumbers&, const ColumnsWithTypeAndName&, const TiDB::ITiDBCollator* const&)’:
tics-dev/dbms/src/TestUtils/ColumnsToTiPBExpr.cpp:99:36: error: unused variable ‘null_map’ [-Werror=unused-variable]
                 auto [col, null_map] = removeNullable(type_column.column.get());
                                    ^
...
  1. some of test case will be failed
[2022-06-07T18:12:59.993Z] FAILED TESTS (4/1272):

[2022-06-07T18:12:59.993Z]     2513 ms: /tiflash/gtests_dbms DynamicThreadPoolTest.testAutoExpanding
[2022-06-07T18:12:59.993Z]     2633 ms: /tiflash/gtests_dbms DynamicThreadPoolTest.testDynamicShrink
[2022-06-07T18:12:59.993Z]     2499 ms: /tiflash/gtests_dbms DynamicThreadPoolTest.testTaskDestruct
[2022-06-07T18:12:59.993Z]     2280 ms: /tiflash/gtests_dbms StorageDeltaMergeTest.RestoreAfterClearData

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

master

@jiaqizho jiaqizho added the type/bug The issue is confirmed as a bug. label Jun 8, 2022
@jiaqizho jiaqizho self-assigned this Jun 8, 2022
ti-chi-bot pushed a commit that referenced this issue Jun 9, 2022
JaySon-Huang pushed a commit to JaySon-Huang/tiflash that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants