Compile error - gotestcover " matched no packages"

beats]# make
make -C libbeat testsuite || exit 1; make -C packetbeat testsuite || exit 1; make -C topbeat testsuite || exit 1; make -C filebeat testsuite || exit 1; make -C winlogbeat testsuite || exit 1; make -C metricbeat testsuite || exit 1;
make[1]: Entering directory /root/beats/libbeat' make unit-tests make[2]: Entering directory/root/beats/libbeat'
mkdir -p /root/beats/libbeat/build/coverage
gotestcover is needed to fetch coverage for multiple packages
go get
/root/beats/src/bin/gotestcover -coverprofile=/root/beats/libbeat/build/coverage/unit.cov
command [go test -cover -coverprofile /tmp/gotestcover-394298164 warning: "" matched no packages]: exit status 1
warning: "warning: "" matched no packages" matched no packages
no packages to test
test failed
make[2]: *** [unit-tests] Error 1
make[2]: Leaving directory /root/beats/libbeat' make[1]: *** [testsuite] Error 2 make[1]: Leaving directory/root/beats/libbeat'
make: *** [testsuite] Error 1

Probably your Go development environment is setup wrong. See

We are not currently seeing any failures in our CI systems (Jenkins, Travis, or AppVeyor).

This topic was automatically closed after 21 days. New replies are no longer allowed.