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

Unstable unit test CPUAffinityManagerTest.CPUAffinityManager #8327

Closed
SeaRise opened this issue Nov 7, 2023 · 1 comment · Fixed by #8328
Closed

Unstable unit test CPUAffinityManagerTest.CPUAffinityManager #8327

SeaRise opened this issue Nov 7, 2023 · 1 comment · Fixed by #8328
Assignees
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@SeaRise
Copy link
Contributor

SeaRise commented Nov 7, 2023

Bug Report

https://ci.pingcap.net/blue/rest/organizations/jenkins/pipelines/tiflash-ghpr-unit-tests/runs/11771/nodes/73/steps/78/log/?start=0

[2023-11-07T02:38:12.556Z] [2023/11/07 10:38:11.044 +08:00] [INFO] [S3Common.cpp:145] ["tag=SSOCredentialsProvider message=Unable to open token file on path: /root/.aws/sso/cache/da39a3ee5e6b4b0d3255bfef95601890afd80709.json"] [source=AWSClient] [thread_id=1]
[2023-11-07T02:38:12.556Z] �[0;33mNote: Google Test filter = CPUAffinityManagerTest.CPUAffinityManager
[2023-11-07T02:38:12.556Z] �[m�[0;32m[==========] �[mRunning 1 test from 1 test case.
[2023-11-07T02:38:12.556Z] �[0;32m[----------] �[mGlobal test environment set-up.
[2023-11-07T02:38:12.556Z] �[0;32m[----------] �[m1 test from CPUAffinityManagerTest
[2023-11-07T02:38:12.556Z] �[0;32m[ RUN      ] �[mCPUAffinityManagerTest.CPUAffinityManager
[2023-11-07T02:38:12.556Z] [2023/11/07 10:38:11.119 +08:00] [DEBUG] [gtest_cpu_affinity_manager.cpp:98] ["n_cpu = 96, cpu_cores = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]"] [thread_id=1]
[2023-11-07T02:38:12.556Z] [2023/11/07 10:38:11.119 +08:00] [INFO] [CPUAffinityManager.cpp:127] ["Thread: gtests_dbms bindQueryThread."] [thread_id=1]
[2023-11-07T02:38:12.556Z] [2023/11/07 10:38:11.120 +08:00] [INFO] [CPUAffinityManager.cpp:137] ["Thread: gtests_dbms bindOtherThread."] [thread_id=1]
[2023-11-07T02:38:12.556Z] /home/jenkins/agent/workspace/tiflash-build-common/tiflash/dbms/src/Common/tests/gtest_cpu_affinity_manager.cpp:147: Failure
[2023-11-07T02:38:12.556Z] Value of: cpu_affinity.isQueryThread("cop-pool0")
[2023-11-07T02:38:12.556Z]   Actual: false
[2023-11-07T02:38:12.556Z] Expected: true
[2023-11-07T02:38:12.556Z] �[0;31m[  FAILED  ] �[mCPUAffinityManagerTest.CPUAffinityManager (1 ms)
[2023-11-07T02:38:12.556Z] �[0;32m[----------] �[m1 test from CPUAffinityManagerTest (1 ms total)
[2023-11-07T02:38:12.556Z] 
[2023-11-07T02:38:12.556Z] �[0;32m[----------] �[mGlobal test environment tear-down
[2023-11-07T02:38:12.556Z] �[0;32m[==========] �[m1 test from 1 test case ran. (1 ms total)
[2023-11-07T02:38:12.556Z] �[0;32m[  PASSED  ] �[m0 tests.
[2023-11-07T02:38:12.556Z] �[0;31m[  FAILED  ] �[m1 test, listed below:
[2023-11-07T02:38:12.556Z] �[0;31m[  FAILED  ] �[mCPUAffinityManagerTest.CPUAffinityManager
@SeaRise SeaRise added the type/bug The issue is confirmed as a bug. label Nov 7, 2023
@SeaRise SeaRise self-assigned this Nov 7, 2023
@SeaRise
Copy link
Contributor Author

SeaRise commented Nov 7, 2023

Introduced by #8299

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.

1 participant