bosh-init
bosh-init copied to clipboard
How to run integration tests?
I've setup my workstation as described here and could successfully run unit and acceptance tests (on virtualbox). But when I try to run the integration tests, I get the following error:
Expected error:
<errors.ComplexError>: {
Err: {s: "Deploying"},
Cause: {
Err: {
s: "Creating instance 'fake-deployment-job-name/0'",
},
Cause: {
Err: {
s: "Waiting until instance is ready",
},
Cause: {
Err: {
s: "Starting SSH tunnel",
},
Cause: {
Err: {
s: "Listening on remote server",
},
Cause: {
s: "ssh: tcpip-forward request denied by peer",
},
},
},
},
},
}
Deploying: Creating instance 'fake-deployment-job-name/0': Waiting until instance is ready: Starting SSH tunnel: Listening on remote server: ssh: tcpip-forward request denied by peer
not to have occurred
Is it required to run bin/mockgen? When doing so, I get the following error:
mockgen -package mocks -destination /Users/myuser/go/src/github.com/cloudfoundry/bosh-init/agentclient/mocks/mocks.go github.com/cloudfoundry/bosh-agent/agentclient AgentClient
prog.go:13:2: cannot find package "github.com/cloudfoundry/bosh-agent/agentclient" in any of:
/usr/local/Cellar/go/1.6.2/libexec/src/github.com/cloudfoundry/bosh-agent/agentclient (from $GOROOT)
/Users/myuser/go/src/github.com/cloudfoundry/bosh-agent/agentclient (from $GOPATH)
cc @tylerschultz
Hi @philippthun, I'm seeing the same problem on my personal workstation too. @cppforlife Let's file & prioritize a bug.
$go version go1.6.2 darwin/amd64