From 0175fe53e5fbd6945ec851f8902e4ca713d1c4a6 Mon Sep 17 00:00:00 2001 From: Andrew Baptist Date: Mon, 21 Oct 2024 14:04:21 -0400 Subject: [PATCH] roachtest: add gctrace to perturbation/* tests We have had at least one perturbation test failure where the cause appears to be a ~2s process freeze. We don't have conclusive evidence that this is a GOGC rather than some other type of infra flake, but at least this can help rule out one more potential cause. Informs: #131822 Epic: none Release note: None --- pkg/cmd/roachtest/tests/admission_control_latency.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/roachtest/tests/admission_control_latency.go b/pkg/cmd/roachtest/tests/admission_control_latency.go index 036ce4dcf7e5..327f9492a1b3 100644 --- a/pkg/cmd/roachtest/tests/admission_control_latency.go +++ b/pkg/cmd/roachtest/tests/admission_control_latency.go @@ -924,7 +924,8 @@ func (v variations) startNoBackup( opts.RoachprodOpts.ExtraArgs = append(opts.RoachprodOpts.ExtraArgs, fmt.Sprintf("--locality=region=fake-%d", (node-1)/nodesPerRegion)) opts.RoachprodOpts.ExtraArgs = append(opts.RoachprodOpts.ExtraArgs, extraArgs...) - v.Start(ctx, t.L(), opts, install.MakeClusterSettings(), v.Node(node)) + settings := install.MakeClusterSettings(install.EnvOption([]string{"GODEBUG=gctrace=1"})) + v.Start(ctx, t.L(), opts, settings, v.Node(node)) } }