-
Notifications
You must be signed in to change notification settings - Fork 101
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
tikv: fix code coverage script #2748
Conversation
Potential problems:
Fixing suggestions:
|
/cc @purelind @Connor1996 |
@glorv: GitHub didn't allow me to request PR reviews from the following users: Connor1996. Note that only PingCAP-QE members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions 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 kubernetes/test-infra repository. |
/cc @overvenus |
@@ -64,12 +64,12 @@ stage("Cover") { | |||
export FAIL_POINT=1 | |||
export ROCKSDB_SYS_SSE=1 | |||
export CARGO_INCREMENTAL=0 | |||
export RUSTFLAGS="-Zinstrument-coverage" | |||
export RUSTFLAGS="-C instrument-coverage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-Zinstrument-coverage is not supported anymore. -Z is for unstable flags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Connor1996: changing LGTM is restricted to collaborators In response to this:
Instructions 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 kubernetes/test-infra repository. |
This pull request is updating the tikv_ghpr_coverage.groovy script by changing the RUSTFLAGS environment variable from "-Zinstrument-coverage" to "-C instrument-coverage". This change is made to fix the code coverage script. Potential Problems: The pull request does not mention any potential problems. However, the pull request description indicates that the script will not work until tikv updates the rust toolchain to a newer version. Fixing Suggestions: The pull request looks good, but the contributor should add more information about the issue that the pull request is solving. Also, the contributor should mention the new version of rust that is required for this script to work. Additionally, it would be helpful to mention how the code coverage script was failing before this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[LGTM Timeline notifier]Timeline:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Connor1996, purelind The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
After this change we still need to wait tikv to update the rust toolchain to a newer version before this script can succeed due to rust-lang/rust#118850