forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#13000] Rewrite test logs for better readability
Summary: Replacing tablet ids with something like `{mytable_tablet_id1}` Replacing peer ids with something like `{m1_peer_id}`. Also replacing some directories, such as `${YB_SRC_ROOT}`, `${BUILD_ROOT}`, and `${TEST_TMPDIR}`. The list of substitutions is appended to the end of the log. The rewriter script is implemented as a Python script that calls out to egrep and perl. Perl turned out to be better than sed and awk for straightforward replacement of multiple regular expressions. To avoid rewriting the test log, specify the --skip-test-log-rewrite option to yb_build.sh, or set the YB_SKIP_TEST_LOG_REWRITE environment variable to 1. Also rearranging the usage instructions in yb_build.sh to group options into categories better. Test Plan: Jenkins Reviewers: odeshmukh, steve.varnau Reviewed By: steve.varnau Subscribers: jason, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D17899
- Loading branch information
Showing
11 changed files
with
1,636 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
# Copyright (c) Yugabyte, Inc. | ||
# | ||
|
Oops, something went wrong.