Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: tools/valgrind/regrind.sh

Issue 5961009: Convert build.chromium.org URLs to new URL format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update to tools/bisect-builds.py move Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/bisect-builds.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Scape errors from the valgrind bots, reproduce them locally, 2 # Scape errors from the valgrind bots, reproduce them locally,
3 # save logs as regrind-TESTNAME.log, and display any errors found. 3 # save logs as regrind-TESTNAME.log, and display any errors found.
4 # Also save files regrind-failed.txt listing failed tests, 4 # Also save files regrind-failed.txt listing failed tests,
5 # and regrind-failed-map.txt showing which bot URLs have which failed tests 5 # and regrind-failed-map.txt showing which bot URLs have which failed tests
6 # (handy when filing bugs). 6 # (handy when filing bugs).
7 # 7 #
8 # Only scrapes linux layout bot at the moment. 8 # Only scrapes linux layout bot at the moment.
9 # TODO: handle layout tests that don't have obvious path to test file 9 # TODO: handle layout tests that don't have obvious path to test file
10 # TODO: extend script to handle more kinds of errors and more tests 10 # TODO: extend script to handle more kinds of errors and more tests
11 11
12 # where the valgrind layout bot results live 12 # where the valgrind layout bot results live
13 LAYOUT_URL="http://build.chromium.org/buildbot/waterfall/builders/Webkit%20Linux %20(valgrind%20layout)" 13 LAYOUT_URL="http://build.chromium.org/p/chromium.memory/builders/Webkit%20Linux% 20(valgrind%20layout)"
14 # how many builds back to check 14 # how many builds back to check
15 LAYOUT_COUNT=250 15 LAYOUT_COUNT=250
16 16
17 # regexp to match valgrind errors 17 # regexp to match valgrind errors
18 PATTERN="are definitely|uninitialised|Unhandled exception|\ 18 PATTERN="are definitely|uninitialised|Unhandled exception|\
19 Invalid read|Invalid write|Invalid free|Source and desti|Mismatched free|\ 19 Invalid read|Invalid write|Invalid free|Source and desti|Mismatched free|\
20 unaddressable byte|vex x86|the 'impossible' happened|\ 20 unaddressable byte|vex x86|the 'impossible' happened|\
21 valgrind:.*: Assertion.*failed|VALGRIND INTERNAL ERROR" 21 valgrind:.*: Assertion.*failed|VALGRIND INTERNAL ERROR"
22 22
23 usage() { 23 usage() {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 if test $do_repro = 1 124 if test $do_repro = 1
125 then 125 then
126 repro_layout 126 repro_layout
127 fi 127 fi
128 128
129 if test $do_cleanup = 1 129 if test $do_cleanup = 1
130 then 130 then
131 rm -f regrind-errfiles.txt regrind-*.tmp* 131 rm -f regrind-errfiles.txt regrind-*.tmp*
132 fi 132 fi
OLDNEW
« no previous file with comments | « tools/bisect-builds.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698