With the proposed fix applied I got the following autopkgtest error:

Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
Unable to find Provider in any go files under this path
Error parsing file:  
/tmp/autopkgtest.34VDae/autopkgtest_tmp/_build/src/github.com/hashicorp/consul/agent/connect/ca/provider_vault.go:18:11:
 could not import github.com/hashicorp/vault/api (invalid package name: "")
src/github.com/hashicorp/consul/agent/connect/ca/provider.go:10: running 
"mockery": exit status 1


In the provider_vault.go file we have this import `vaultapi 
"github.com/hashicorp/vault/api"` and I was not able to find a dependency to 
satisfy it. I am still not sure why this issue does not pop out during my local 
builds, this mockery call works just fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940152

Title:
  TLS related test failure with go1.16

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consul/+bug/1940152/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to