Developer Machine (Mac) Test Error: $HOME/go/bin/godep: No such file or directory make: *** [test] Error 1

Hi all, I’ve been doing some research but haven’t found any solutions to this when trying to run ‘make test’ in the dev environment. Here is the full error:

$HOME/go/bin/godep go test -run=. -test.v -test.timeout=180s ./api || exit 1
/bin/sh: $HOME/go/bin/godep: No such file or directory
make: *** [test] Error 1

I tried creating a bin directory in /go and downloading godep there, but that led to the error:

godep: WARNING: Go version (go1.6) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists

Thanks in advance for any help!

Hi tomcaridi,

You can ignore this message as it is a Warning.

I have the same problem, but I can successfully run the tests and mattermost, even with the warning.

Regarding the missing godep dependency, it was not installed for me either and I also had to download it.
The Makefile seems to be able to handle this case but it didn’t. Maybe we should give it a better look.

On my side, I suspect that I was missing an env variable at that time, but I could not track this down.

Hope this helps