Message ID | 4b1391d5-89c2-41b1-b1de-e1bd26b9f10e@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Re* [PATCH] t0613: mark as leak-free | expand |
On Wed, Jul 24, 2024 at 01:07:23AM +0200, Rubén Justo wrote: > On Tue, Jul 23, 2024 at 05:03:39PM -0400, Jeff King wrote: > > On Mon, Jul 22, 2024 at 11:02:24AM +0200, Patrick Steinhardt wrote: > > So I dunno. If we think people are paying attention to CI on their > > topics, and we think that we are close enough to leak-free that (1b) > > won't come up a lot, it might make sense. I'm not quite sure we're there > > yet on the latter, but it's mostly gut feeling (and I know things have > > gotten a bit better recently, too). > > I don't know either. Maybe it seems a bit early still considering the > numbers we have: > > $ git grep -l PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l > 678 > $ git grep -L PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l > 329 These numbers aren't quite right -- you have to filter out most of the tests that include "lib-git-svn.sh", which reverses the schema and makes leak checks opt-out (?!). That brings me to the following hacky numbers: $ grep -l TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l 678 $ grep -L TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l 261 I've got two local topic branches pending that reduce the number of failing tests even further. One is the Perforce series I've sent out yesterday. And then another random set of leak fixes. Which together bring us to: $ grep -l TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l 749 $ grep -L TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l 190 So considering that it's currently still rather easy to make progress, I'd vote for keeping things as-is and wait for another couple of series to land before switching to opt-out. Patrick
On Wed, Jul 24, 2024 at 07:16:00AM +0200, Patrick Steinhardt wrote: > On Wed, Jul 24, 2024 at 01:07:23AM +0200, Rubén Justo wrote: > > On Tue, Jul 23, 2024 at 05:03:39PM -0400, Jeff King wrote: > > > On Mon, Jul 22, 2024 at 11:02:24AM +0200, Patrick Steinhardt wrote: > > > So I dunno. If we think people are paying attention to CI on their > > > topics, and we think that we are close enough to leak-free that (1b) > > > won't come up a lot, it might make sense. I'm not quite sure we're there > > > yet on the latter, but it's mostly gut feeling (and I know things have > > > gotten a bit better recently, too). > > > > I don't know either. Maybe it seems a bit early still considering the > > numbers we have: > > > > $ git grep -l PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l > > 678 > > $ git grep -L PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l > > 329 > > These numbers aren't quite right -- you have to filter out most of the > tests that include "lib-git-svn.sh", which reverses the schema and makes > leak checks opt-out (?!). You are right. > That brings me to the following hacky numbers: > > $ grep -l TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l > 678 > $ grep -L TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l > 261 Out of curiosity, I ran this: $ echo $((329 - $(git grep -l lib-git-svn.sh t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l))) 260 which points to t9150-svk-mergetickets.sh.
diff --git a/t/t0210-trace2-normal.sh b/t/t0210-trace2-normal.sh index c312657a12..eff9a59dbd 100755 --- a/t/t0210-trace2-normal.sh +++ b/t/t0210-trace2-normal.sh @@ -2,7 +2,6 @@ test_description='test trace2 facility (normal target)' -TEST_PASSES_SANITIZE_LEAK=false . ./test-lib.sh # Turn off any inherited trace2 settings for this test. diff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh index 070fe7a5da..b9421a64a7 100755 --- a/t/t0211-trace2-perf.sh +++ b/t/t0211-trace2-perf.sh @@ -2,7 +2,6 @@ test_description='test trace2 facility (perf target)' -TEST_PASSES_SANITIZE_LEAK=false . ./test-lib.sh # Turn off any inherited trace2 settings for this test.