-
-
Save lornasong/3f1e7f995aaa01d3120c6c0c72ede3ec to your computer and use it in GitHub Desktop.
TestShow_noInitLocalBackendNonDefaultState/local_backend_non_default_state-0.13.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10:38:29 [terraform-exec]: go test -race -run TestShow_noInitLocalBackendNonDefaultState ./tfexec/internal/e2etest -v | |
=== RUN TestShow_noInitLocalBackendNonDefaultState | |
=== RUN TestShow_noInitLocalBackendNonDefaultState/local_backend_non_default_state-0.13.7 | |
util_test.go:72: caching exec "v:0.13.7" in dir "/var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/tfinstall454609225/v-0.13.7" | |
2022/05/19 22:38:37 exact_version.go:91: created new temp dir at /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_4137184602 | |
2022/05/19 22:38:37 exact_version.go:93: will install into dir at /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_4137184602 | |
2022/05/19 22:38:37 releases.go:134: requesting version from https://releases.hashicorp.com/terraform/0.13.7/index.json | |
2022/05/19 22:38:38 releases.go:153: received 200 OK | |
2022/05/19 22:38:38 checksum_downloader.go:56: downloading signature from https://releases.hashicorp.com/terraform/0.13.7/terraform_0.13.7_SHA256SUMS.72D7468F.sig | |
2022/05/19 22:38:38 checksum_downloader.go:72: downloading checksums from https://releases.hashicorp.com/terraform/0.13.7/terraform_0.13.7_SHA256SUMS | |
2022/05/19 22:38:38 checksum_downloader.go:165: checksum signature is valid | |
2022/05/19 22:38:38 downloader.go:76: downloading archive from https://releases.hashicorp.com/terraform/0.13.7/terraform_0.13.7_darwin_amd64.zip | |
2022/05/19 22:38:38 downloader.go:100: verifying checksum of "terraform_0.13.7_darwin_amd64.zip" | |
2022/05/19 22:38:38 checksum_downloader.go:130: copying "terraform_0.13.7_darwin_amd64.zip" (35672990 bytes) to calculate checksum | |
2022/05/19 22:38:49 checksum_downloader.go:135: copied 35672990 bytes of "terraform_0.13.7_darwin_amd64.zip" | |
2022/05/19 22:38:49 checksum_downloader.go:149: checksum matches: "d5fbb589bc35c2655d0705c26117135cbb25e4259f120415009e0e6427ea97c8" | |
2022/05/19 22:38:49 downloader.go:118: copying "terraform_0.13.7_darwin_amd64.zip" (35672990 bytes) to /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_0.13.7_darwin_amd64.zip2928236785 | |
2022/05/19 22:38:49 downloader.go:127: copied 35672990 bytes to /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_0.13.7_darwin_amd64.zip2928236785 | |
2022/05/19 22:38:49 downloader.go:146: unpacking terraform to /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_4137184602 | |
2022/05/19 22:38:59 exact_version.go:127: changing perms of /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_4137184602/terraform | |
util_test.go:113: [INFO] running Terraform command: /var/folders/0l/fmwfr9md1fl887r8ydtl2b_r0000gp/T/terraform_4137184602/terraform show -json -no-color | |
================== | |
WARNING: DATA RACE | |
Read at 0x00c00026e040 by goroutine 66: | |
strings.(*Builder).copyCheck() | |
/usr/local/go/src/strings/builder.go:33 +0x3d | |
strings.(*Builder).Write() | |
/usr/local/go/src/strings/builder.go:88 +0x38 | |
io.(*multiWriter).Write() | |
/usr/local/go/src/io/multi.go:60 +0xb9 | |
io.copyBuffer() | |
/usr/local/go/src/io/io.go:428 +0x2dc | |
io.Copy() | |
/usr/local/go/src/io/io.go:385 +0x64 | |
os/exec.(*Cmd).writerDescriptor.func1() | |
/usr/local/go/src/os/exec/exec.go:311 +0x3d | |
os/exec.(*Cmd).Start.func1() | |
/usr/local/go/src/os/exec/exec.go:441 +0x35 | |
os/exec.(*Cmd).Start.func3() | |
/usr/local/go/src/os/exec/exec.go:442 +0x47 | |
Previous write at 0x00c00026e040 by goroutine 65: | |
strings.(*Builder).copyCheck() | |
/usr/local/go/src/strings/builder.go:39 +0x6e | |
strings.(*Builder).Write() | |
/usr/local/go/src/strings/builder.go:88 +0x38 | |
io.(*multiWriter).Write() | |
/usr/local/go/src/io/multi.go:60 +0xb9 | |
io.copyBuffer() | |
/usr/local/go/src/io/io.go:428 +0x2dc | |
io.Copy() | |
/usr/local/go/src/io/io.go:385 +0x64 | |
os/exec.(*Cmd).writerDescriptor.func1() | |
/usr/local/go/src/os/exec/exec.go:311 +0x3d | |
os/exec.(*Cmd).Start.func1() | |
/usr/local/go/src/os/exec/exec.go:441 +0x35 | |
os/exec.(*Cmd).Start.func3() | |
/usr/local/go/src/os/exec/exec.go:442 +0x47 | |
Goroutine 66 (running) created at: | |
os/exec.(*Cmd).Start() | |
/usr/local/go/src/os/exec/exec.go:440 +0xcf7 | |
os/exec.(*Cmd).Run() | |
/usr/local/go/src/os/exec/exec.go:338 +0x30 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd_default.go:37 +0x3a7 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmdJSON() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd.go:188 +0x184 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Show() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/show.go:53 +0x3d2 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.TestShow_noInitLocalBackendNonDefaultState.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/show_test.go:209 +0x108 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/util_test.go:101 +0x824 | |
testing.tRunner() | |
/usr/local/go/src/testing/testing.go:1439 +0x213 | |
testing.(*T).Run.func1() | |
/usr/local/go/src/testing/testing.go:1486 +0x47 | |
Goroutine 65 (running) created at: | |
os/exec.(*Cmd).Start() | |
/usr/local/go/src/os/exec/exec.go:440 +0xcf7 | |
os/exec.(*Cmd).Run() | |
/usr/local/go/src/os/exec/exec.go:338 +0x30 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd_default.go:37 +0x3a7 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmdJSON() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd.go:188 +0x184 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Show() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/show.go:53 +0x3d2 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.TestShow_noInitLocalBackendNonDefaultState.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/show_test.go:209 +0x108 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/util_test.go:101 +0x824 | |
testing.tRunner() | |
/usr/local/go/src/testing/testing.go:1439 +0x213 | |
testing.(*T).Run.func1() | |
/usr/local/go/src/testing/testing.go:1486 +0x47 | |
================== | |
================== | |
WARNING: DATA RACE | |
Read at 0x00c00026e048 by goroutine 66: | |
strings.(*Builder).Write() | |
/usr/local/go/src/strings/builder.go:89 +0xc4 | |
io.(*multiWriter).Write() | |
/usr/local/go/src/io/multi.go:60 +0xb9 | |
io.copyBuffer() | |
/usr/local/go/src/io/io.go:428 +0x2dc | |
io.Copy() | |
/usr/local/go/src/io/io.go:385 +0x64 | |
os/exec.(*Cmd).writerDescriptor.func1() | |
/usr/local/go/src/os/exec/exec.go:311 +0x3d | |
os/exec.(*Cmd).Start.func1() | |
/usr/local/go/src/os/exec/exec.go:441 +0x35 | |
os/exec.(*Cmd).Start.func3() | |
/usr/local/go/src/os/exec/exec.go:442 +0x47 | |
Previous write at 0x00c00026e048 by goroutine 65: | |
strings.(*Builder).Write() | |
/usr/local/go/src/strings/builder.go:89 +0x164 | |
io.(*multiWriter).Write() | |
/usr/local/go/src/io/multi.go:60 +0xb9 | |
io.copyBuffer() | |
/usr/local/go/src/io/io.go:428 +0x2dc | |
io.Copy() | |
/usr/local/go/src/io/io.go:385 +0x64 | |
os/exec.(*Cmd).writerDescriptor.func1() | |
/usr/local/go/src/os/exec/exec.go:311 +0x3d | |
os/exec.(*Cmd).Start.func1() | |
/usr/local/go/src/os/exec/exec.go:441 +0x35 | |
os/exec.(*Cmd).Start.func3() | |
/usr/local/go/src/os/exec/exec.go:442 +0x47 | |
Goroutine 66 (running) created at: | |
os/exec.(*Cmd).Start() | |
/usr/local/go/src/os/exec/exec.go:440 +0xcf7 | |
os/exec.(*Cmd).Run() | |
/usr/local/go/src/os/exec/exec.go:338 +0x30 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd_default.go:37 +0x3a7 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmdJSON() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd.go:188 +0x184 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Show() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/show.go:53 +0x3d2 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.TestShow_noInitLocalBackendNonDefaultState.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/show_test.go:209 +0x108 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/util_test.go:101 +0x824 | |
testing.tRunner() | |
/usr/local/go/src/testing/testing.go:1439 +0x213 | |
testing.(*T).Run.func1() | |
/usr/local/go/src/testing/testing.go:1486 +0x47 | |
Goroutine 65 (running) created at: | |
os/exec.(*Cmd).Start() | |
/usr/local/go/src/os/exec/exec.go:440 +0xcf7 | |
os/exec.(*Cmd).Run() | |
/usr/local/go/src/os/exec/exec.go:338 +0x30 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd_default.go:37 +0x3a7 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmdJSON() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/cmd.go:188 +0x184 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Show() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/show.go:53 +0x3d2 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.TestShow_noInitLocalBackendNonDefaultState.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/show_test.go:209 +0x108 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/lornasong/go/src/github.com/lornasong/terraform-exec/tfexec/internal/e2etest/util_test.go:101 +0x824 | |
testing.tRunner() | |
/usr/local/go/src/testing/testing.go:1439 +0x213 | |
testing.(*T).Run.func1() | |
/usr/local/go/src/testing/testing.go:1486 +0x47 | |
================== | |
util_test.go:103: CLI Output: | |
Backend reinitialization required. Please run "terraform init". | |
Reason: Initial configuration of the requested backend "local" | |
The "backend" is the interface that Terraform uses to store state, | |
perform operations, etc. If this message is showing up, it means that the | |
Terraform configuration you're using is using a custom configuration for | |
the Terraform backend. | |
Changes to backend configurations require reinitialization. This allows | |
Terraform to setup the new configuration, copy existing state, etc. This is | |
only done during "terraform init". Please run that command now then try again. | |
If the change reason above is incorrect, please verify your configuration | |
hasn't changed and try again. At this point, no changes to your existing | |
configuration or state have been made. | |
Error: Initialization required. Please see the error message above. | |
testing.go:1312: race detected during execution of test | |
=== CONT TestShow_noInitLocalBackendNonDefaultState | |
testing.go:1312: race detected during execution of test | |
--- FAIL: TestShow_noInitLocalBackendNonDefaultState (22.79s) | |
--- FAIL: TestShow_noInitLocalBackendNonDefaultState/local_backend_non_default_state-0.13.7 (22.79s) | |
=== CONT | |
testing.go:1312: race detected during execution of test | |
FAIL | |
FAIL github.com/hashicorp/terraform-exec/tfexec/internal/e2etest 23.005s | |
FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment