tests: ignore env var dependent tests at runtime#12805
tests: ignore env var dependent tests at runtime#12805ti-chi-bot merged 10 commits intotikv:masterfrom
Conversation
Signed-off-by: tabokie <xy.tao@outlook.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
sticnarf
left a comment
There was a problem hiding this comment.
Do you know why CI fails because tikv-ctl depends on libstdc++?
The regression is caused by rust-lang/rust#93901. Fixed by manually adding that flag back. |
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
| // remove lib prefix and .a postfix. | ||
| let libname = &lib[3..lib.len() - 2]; | ||
| println!("cargo:rustc-link-lib=static={}", &libname); | ||
| println!("cargo:rustc-link-lib=static:+whole-archive={}", &libname); |
There was a problem hiding this comment.
From what I can read, whole-archive flag will force using static symbols when there're both a static and a dynamic version available. It is enabled by default before. The fact that we must enable it to pass the check means we somehow linked multiple versions of libstdc++.
There was a problem hiding this comment.
How can that happen? I think it should report duplicated symbol error.
There was a problem hiding this comment.
I meant to say that multiple versions are available for the linker. So it's up to the implementation to choose one of them. And FYI during the debugging I have ruled out rust-rocksdb by setting the static_libcpp feature.
| @@ -1 +1 @@ | |||
| nightly-2022-02-14 | |||
| nightly-2022-05-01 | |||
|
/merge |
|
@tabokie: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 68b2dfa |
Signed-off-by: tabokie <xy.tao@outlook.com>
|
/merge |
|
@tabokie: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 39d35f3 |
Signed-off-by: tabokie xy.tao@outlook.com
What is changed and how it works?
Issue Number: Close #12804
What's Changed:
Implement rust-lang/rust#68007 using custom test runner.
The test runner is deliberately not placed in
test_utilcrate to avoid dependency.Also bump rust-toolchain to 2022-05-01 to use ignore message (rust-lang/cargo#10250, rust-lang/rust#96132). We can implement similar functionality by parsing test name, but that will be slower and not very UI friendly.
The only reason I still keep two lines in test script is to avoid repeated
<jemalloc>: Invalid conf pair: prof:trueyelling during build.Related changes
Check List
Tests
Manual test:
Release note