From 9ce85032176be2502eb391bd8916c77191a3d991 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 8 Sep 2023 17:01:27 +0200 Subject: pkg/repro: make instance falure log less confusing Now it looks like a failure of the whole reproduction process. Adjust the message to reduce confusion. --- pkg/repro/repro.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index 1da74830f..9f0faf29c 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -673,7 +673,8 @@ func (ctx *context) createInstances(cfg *mgrconfig.Config, vmPool *vm.Pool) { inst, err = instance.CreateExecProgInstance(vmPool, vmIndex, cfg, ctx.reporter, &instance.OptionalConfig{Logf: ctx.reproLogf}) if err != nil { - ctx.reproLogf(0, "failed to init instance: %v", err) + ctx.reproLogf(0, "failed to init instance: %v, attempt %d/%d", + err, try+1, maxTry) time.Sleep(10 * time.Second) continue } -- cgit mrf-deployment