Skip to content

Commit

Permalink
[tools] Boost kcov timeouts (RobotLocomotion#22224)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoyner-tri authored Nov 21, 2024
1 parent 1e59016 commit c5f8489
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/dynamic_analysis/bazel.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ build:kcov --nocache_test_results
# These increased timeouts were set through experimentation. Because kcov runs
# in a separate process from the main program, the OS has to context-switch
# between the processes every time a line is hit, slowing down execution
# significantly. Timeouts are 10x default values.
build:kcov --test_timeout=600,3000,9000,36000
# significantly. In addition, kcov builds complete reports during the timeout
# period, and is vulnerable to cloud filesystem slow-downs. Timeouts are 20x
# default values.
build:kcov --test_timeout=1200,6000,19000,72000

### Kcov everything build. ###
build:kcov_everything --build_tests_only
Expand All @@ -28,8 +30,8 @@ build:kcov_everything --run_under=//tools/dynamic_analysis:kcov
build:kcov_everything --local_test_jobs=HOST_CPUS*0.5
build:kcov_everything --test_tag_filters=-lint,-no_kcov
build:kcov_everything --nocache_test_results
# See timeout note above. Timeouts are 10x default values.
build:kcov_everything --test_timeout=600,3000,9000,36000
# See timeout note above.
build:kcov_everything --test_timeout=1200,6000,19000,72000

### ASan build. Clang only. ###
build:asan --build_tests_only
Expand Down

0 comments on commit c5f8489

Please sign in to comment.