From 0a6990723627bf3aa3683f5aa7f65c091d8656f2 Mon Sep 17 00:00:00 2001 From: Tom Proctor Date: Fri, 1 Sep 2023 11:11:49 +0100 Subject: [PATCH] Debug info for broken tests --- go.mod | 2 +- go.sum | 2 ++ sdk/helper/pluginutil/run_config.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 18c07043b7b9..3c8f162507af 100644 --- a/go.mod +++ b/go.mod @@ -382,7 +382,7 @@ require ( github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-msgpack/v2 v2.0.0 // indirect github.com/hashicorp/go-secure-stdlib/fileutil v0.1.0 // indirect - github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.1 // indirect + github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.2-0.20230901101019-1eb92a4801d5 // indirect github.com/hashicorp/go-slug v0.11.1 // indirect github.com/hashicorp/go-tfe v1.25.1 // indirect github.com/hashicorp/jsonapi v0.0.0-20210826224640-ee7dae0fb22d // indirect diff --git a/go.sum b/go.sum index 88ee0882a38c..6269e83cc526 100644 --- a/go.sum +++ b/go.sum @@ -1897,6 +1897,8 @@ github.com/hashicorp/go-secure-stdlib/password v0.1.1 h1:6JzmBqXprakgFEHwBgdchsj github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.1 h1:1F0n5stk5uz4yIw2elN3k6bGbIv95OQaJVR2sVQ1kk0= github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.1/go.mod h1:kRpzC4wHYXc2+sjXA9vuKawXYs0x0d0HuqqbaW1fj1w= +github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.2-0.20230901101019-1eb92a4801d5 h1:8XaNTh4bWYsvNybvmnjM40c565/smbB8QcPiAyaj9i0= +github.com/hashicorp/go-secure-stdlib/plugincontainer v0.1.2-0.20230901101019-1eb92a4801d5/go.mod h1:kRpzC4wHYXc2+sjXA9vuKawXYs0x0d0HuqqbaW1fj1w= github.com/hashicorp/go-secure-stdlib/reloadutil v0.1.1 h1:SMGUnbpAcat8rIKHkBPjfv81yC46a8eCNZ2hsR2l1EI= github.com/hashicorp/go-secure-stdlib/reloadutil v0.1.1/go.mod h1:Ch/bf00Qnx77MZd49JRgHYqHQjtEmTgGU2faufpVZb0= github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= diff --git a/sdk/helper/pluginutil/run_config.go b/sdk/helper/pluginutil/run_config.go index 480bdc1d9a01..5554bd6d9be9 100644 --- a/sdk/helper/pluginutil/run_config.go +++ b/sdk/helper/pluginutil/run_config.go @@ -137,6 +137,7 @@ func (rc runConfig) makeConfig(ctx context.Context) (*plugin.ClientConfig, error Labels: map[string]string{ "managed-by": "hashicorp.com/vault", }, + Debug: true, // TODO: More configurables. // Defaulting to runsc will require installing gVisor in the GitHub runner. // Runtime: "runsc",