Created
May 17, 2022 13:42
-
-
Save radeksimko/a199a28daa4eb8225aa6886686bac7fd to your computer and use it in GitHub Desktop.
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
go test ./... -race | |
? github.com/hashicorp/terraform-exec/internal/version [no test files] | |
================== | |
WARNING: DATA RACE | |
Write at 0x0001019940a0 by goroutine 57: | |
internal/reflectlite.maplen() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/map.go:1404 +0x7c | |
internal/reflectlite.typedmemmove() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/mbarrier.go:196 +0x1c | |
errors.As() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/errors/wrap.go:93 +0x534 | |
github.com/hashicorp/terraform-exec/tfexec.writeOutput() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd.go:246 +0x194 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func2() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:55 +0x5c | |
Previous read at 0x0001019940a0 by goroutine 56: | |
os.(*File).wrapErr() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/os/file.go:371 +0xb4 | |
os.(*File).Read() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/os/file.go:120 +0xf4 | |
bufio.(*Reader).fill() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:106 +0x218 | |
bufio.(*Reader).ReadSlice() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:371 +0x5c | |
bufio.(*Reader).collectFragments() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:446 +0x6c | |
bufio.(*Reader).ReadBytes() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:474 +0x34 | |
github.com/hashicorp/terraform-exec/tfexec.writeOutput() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd.go:239 +0x140 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:52 +0x5c | |
Goroutine 57 (running) created at: | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:54 +0x464 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:55 +0x12c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:39 +0xb0 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).compatible() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:161 +0x48 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).applyCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/apply.go:135 +0x8e4 | |
github.com/hashicorp/terraform-exec/tfexec.TestApplyCmd.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/apply_test.go:22 +0x5d4 | |
testing.tRunner() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1439 +0x18c | |
testing.(*T).Run.func1() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1486 +0x44 | |
Goroutine 56 (finished) created at: | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:51 +0x37c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:55 +0x12c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:39 +0xb0 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).compatible() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:161 +0x48 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).applyCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/apply.go:135 +0x8e4 | |
github.com/hashicorp/terraform-exec/tfexec.TestApplyCmd.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/apply_test.go:22 +0x5d4 | |
testing.tRunner() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1439 +0x18c | |
testing.(*T).Run.func1() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1486 +0x44 | |
================== | |
--- FAIL: TestApplyCmd (7.74s) | |
terraform_test.go:169: caching exec "v:1.0.11" in dir "/var/folders/9w/pddq2x656j76vxvsbhcs4nwr0000gq/T/tfinstall3431041760/v-1.0.11" | |
--- FAIL: TestApplyCmd/basic (0.60s) | |
testing.go:1312: race detected during execution of test | |
testing.go:1312: race detected during execution of test | |
FAIL | |
FAIL github.com/hashicorp/terraform-exec/tfexec 10.011s | |
^C================== | |
WARNING: DATA RACE | |
Read at 0x0001058543f0 by goroutine 62: | |
internal/poll.(*FD).Read() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/internal/poll/fd_unix.go:172 +0x3b8 | |
os.(*File).read() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/os/file_posix.go:31 +0x90 | |
os.(*File).Read() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/os/file.go:119 +0x70 | |
bufio.(*Reader).fill() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:106 +0x218 | |
bufio.(*Reader).ReadSlice() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:371 +0x5c | |
bufio.(*Reader).collectFragments() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:446 +0x6c | |
bufio.(*Reader).ReadBytes() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/bufio/bufio.go:474 +0x34 | |
github.com/hashicorp/terraform-exec/tfexec.writeOutput() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd.go:239 +0x140 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func2() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:55 +0x5c | |
Previous write at 0x0001058543f0 by goroutine 61: | |
internal/reflectlite.maplen() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/map.go:1404 +0x7c | |
internal/reflectlite.typedmemmove() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/runtime/mbarrier.go:196 +0x1c | |
errors.As() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/errors/wrap.go:93 +0x534 | |
github.com/hashicorp/terraform-exec/tfexec.writeOutput() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd.go:246 +0x194 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:52 +0x5c | |
Goroutine 62 (running) created at: | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:54 +0x464 | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:55 +0x12c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:39 +0xb0 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/internal/e2etest/util_test.go:93 +0x4d0 | |
testing.tRunner() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1439 +0x18c | |
testing.(*T).Run.func1() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1486 +0x44 | |
Goroutine 61 (finished) created at: | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).runTerraformCmd() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/cmd_default.go:51 +0x37c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:55 +0x12c | |
github.com/hashicorp/terraform-exec/tfexec.(*Terraform).Version() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/version.go:39 +0xb0 | |
github.com/hashicorp/terraform-exec/tfexec/internal/e2etest.runTestVersions.func1() | |
/Users/radeksimko/gopath/src/github.com/hashicorp/terraform-exec/tfexec/internal/e2etest/util_test.go:93 +0x4d0 | |
testing.tRunner() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1439 +0x18c | |
testing.(*T).Run.func1() | |
/opt/homebrew/Cellar/go/1.18.1/libexec/src/testing/testing.go:1486 +0x44 | |
================== | |
FAIL github.com/hashicorp/terraform-exec/tfexec/internal/e2etest 16.155s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment