mozilla / mig

Distributed & real time digital forensics at the speed of the cloud

Home Page:http://mig.mozilla.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make test failing

arcrose opened this issue · comments

Following the instructions in the configuration.rst document, I've tried running make test in the mig/ directory. This operation failed with the following error:

GOOS=darwin GOARCH=amd64 GO15VENDOREXPERIMENT=1 go test mig.ninja/mig/modules/
ok  	mig.ninja/mig/modules	0.111s
GOOS=darwin GOARCH=amd64 GO15VENDOREXPERIMENT=1 go test mig.ninja/mig/modules/agentdestroy
# mig.ninja/mig/modules/agentdestroy
modules/agentdestroy/agentdestroy.go:59: Errorf format %s has arg r.Parameters.PID of wrong type int
FAIL	mig.ninja/mig/modules/agentdestroy [build failed]
make: *** [test-modules] Error 2

Specifically, we can see there's a simple format string error, where a string is expected but an int- r.Parameters.PID is provided.

After having resolved the above format string errors, I'm now encountering test failures related to hardcoded PGP signatures not validating with their hardcoded keys.

See Travis.CI.

This issue has been resolved in my issue437 branch, which I've successfully merged into master.