Kapacitor errors in ./build.py --test

Hi,
When I run build.py --test, I get the following errors:

$ ./build.py
[INFO] print_banner:

‘##:::’##::::’###::::’########:::::’###:::::’######::’####:’########::’#######::’########::
##::’##::::’## ##::: ##… ##:::’## ##:::’##… ##:. ##::… ##…::’##… ##: ##… ##:
##:’##::::’##:. ##:: ##:::: ##::’##:. ##:: ##:::…::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::’##:::. ##: ########::’##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##…::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##… ##:::
##:. ##:: ##… ##: ##:::::::: ##… ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::’####:::: ##::::. #######:: ##:::. ##:
…::::…::…:::::…::…:::::::::…:::::…:::…:::…:::::…::::::…:::…:::::…::
Build Script

[INFO] check_environ: Checking environment…
[INFO] check_prereqs: Checking for dependencies…
[INFO] go_get: Pretending to retrieve Go dependencies…
[INFO] build: Starting build for linux/amd64…
[INFO] build: Using Go version: 1.8.1
[INFO] build: Using git branch: master
[INFO] build: Using git commit: 39c759dd97bac74ebe501e379307e5f404659197
[INFO] build: Sending build output to: /home/arindam/goproj/src/github.com/arindamchoudhury/kapacitor/build
[INFO] build: Using version ‘1.2.1’ for build.
[INFO] build: Building target: kapacitord
[INFO] build: Time taken: 11.558507s
[INFO] build: Building target: kapacitor
[INFO] build: Time taken: 5.080879s
[INFO] build: Building target: tickfmt
[INFO] build: Time taken: 3.933016s

$ ./build.py --test
[INFO] print_banner:

‘##:::’##::::’###::::’########:::::’###:::::’######::’####:’########::’#######::’########::
##::’##::::’## ##::: ##… ##:::’## ##:::’##… ##:. ##::… ##…::’##… ##: ##… ##:
##:’##::::’##:. ##:: ##:::: ##::’##:. ##:: ##:::…::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::’##:::. ##: ########::’##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##…::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##… ##:::
##:. ##:: ##… ##: ##:::::::: ##… ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::’####:::: ##::::. #######:: ##:::. ##:
…::::…::…:::::…::…:::::::::…:::::…:::…:::…:::::…::::::…:::…:::::…::
Build Script

[INFO] check_environ: Checking environment…
[INFO] check_prereqs: Checking for dependencies…
[INFO] go_get: Pretending to retrieve Go dependencies…
[INFO] run_tests: Starting tests…
[ERROR] run: Command ‘go tool vet -composites=false github.com/arindamchoudhury/kapacitor github.com/arindamchoudhury/kapacitor/alert github.com/arindamchoudhury/kapacitor/auth github.com/arindamchoudhury/kapacitor/bufpool github.com/arindamchoudhury/kapacitor/client/v1 github.com/arindamchoudhury/kapacitor/clock github.com/arindamchoudhury/kapacitor/cmd/kapacitor github.com/arindamchoudhury/kapacitor/cmd/kapacitord github.com/arindamchoudhury/kapacitor/cmd/kapacitord/help github.com/arindamchoudhury/kapacitor/cmd/kapacitord/run github.com/arindamchoudhury/kapacitor/command github.com/arindamchoudhury/kapacitor/command/commandtest github.com/arindamchoudhury/kapacitor/expvar github.com/arindamchoudhury/kapacitor/influxdb github.com/arindamchoudhury/kapacitor/integrations github.com/arindamchoudhury/kapacitor/models github.com/arindamchoudhury/kapacitor/pipeline github.com/arindamchoudhury/kapacitor/server github.com/arindamchoudhury/kapacitor/services/alert github.com/arindamchoudhury/kapacitor/services/alert/alerttest github.com/arindamchoudhury/kapacitor/services/alerta github.com/arindamchoudhury/kapacitor/services/alerta/alertatest github.com/arindamchoudhury/kapacitor/services/config github.com/arindamchoudhury/kapacitor/services/config/override github.com/arindamchoudhury/kapacitor/services/deadman github.com/arindamchoudhury/kapacitor/services/hipchat github.com/arindamchoudhury/kapacitor/services/hipchat/hipchattest github.com/arindamchoudhury/kapacitor/services/httpd github.com/arindamchoudhury/kapacitor/services/httpd/httpdtest github.com/arindamchoudhury/kapacitor/services/influxdb github.com/arindamchoudhury/kapacitor/services/k8s github.com/arindamchoudhury/kapacitor/services/k8s/client github.com/arindamchoudhury/kapacitor/services/logging github.com/arindamchoudhury/kapacitor/services/logging/loggingtest github.com/arindamchoudhury/kapacitor/services/noauth github.com/arindamchoudhury/kapacitor/services/opsgenie github.com/arindamchoudhury/kapacitor/services/opsgenie/opsgenietest github.com/arindamchoudhury/kapacitor/services/pagerduty github.com/arindamchoudhury/kapacitor/services/pagerduty/pagerdutytest github.com/arindamchoudhury/kapacitor/services/pushover github.com/arindamchoudhury/kapacitor/services/pushover/pushovertest github.com/arindamchoudhury/kapacitor/services/replay github.com/arindamchoudhury/kapacitor/services/reporting github.com/arindamchoudhury/kapacitor/services/sensu github.com/arindamchoudhury/kapacitor/services/sensu/sensutest github.com/arindamchoudhury/kapacitor/services/servicetest github.com/arindamchoudhury/kapacitor/services/slack github.com/arindamchoudhury/kapacitor/services/slack/slacktest github.com/arindamchoudhury/kapacitor/services/smtp github.com/arindamchoudhury/kapacitor/services/smtp/smtptest github.com/arindamchoudhury/kapacitor/services/snmptrap github.com/arindamchoudhury/kapacitor/services/snmptrap/snmptraptest github.com/arindamchoudhury/kapacitor/services/stats github.com/arindamchoudhury/kapacitor/services/storage github.com/arindamchoudhury/kapacitor/services/storage/storagetest github.com/arindamchoudhury/kapacitor/services/talk github.com/arindamchoudhury/kapacitor/services/talk/talktest github.com/arindamchoudhury/kapacitor/services/task_store github.com/arindamchoudhury/kapacitor/services/telegram github.com/arindamchoudhury/kapacitor/services/telegram/telegramtest github.com/arindamchoudhury/kapacitor/services/udf github.com/arindamchoudhury/kapacitor/services/udp github.com/arindamchoudhury/kapacitor/services/victorops github.com/arindamchoudhury/kapacitor/services/victorops/victoropstest github.com/arindamchoudhury/kapacitor/tick github.com/arindamchoudhury/kapacitor/tick/ast github.com/arindamchoudhury/kapacitor/tick/cmd/tickdoc github.com/arindamchoudhury/kapacitor/tick/cmd/tickfmt github.com/arindamchoudhury/kapacitor/tick/stateful github.com/arindamchoudhury/kapacitor/timer github.com/arindamchoudhury/kapacitor/udf github.com/arindamchoudhury/kapacitor/udf/agent github.com/arindamchoudhury/kapacitor/udf/agent/examples/mirror github.com/arindamchoudhury/kapacitor/udf/agent/examples/moving_avg github.com/arindamchoudhury/kapacitor/udf/agent/examples/outliers github.com/arindamchoudhury/kapacitor/udf/test github.com/arindamchoudhury/kapacitor/uuid github.com/arindamchoudhury/kapacitor/vars’ failed with error: vet: error walking tree: stat github.com/arindamchoudhury/kapacitor: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/alert: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/auth: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/bufpool: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/client/v1: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/clock: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/cmd/kapacitor: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/cmd/kapacitord: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/cmd/kapacitord/help: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/cmd/kapacitord/run: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/command: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/command/commandtest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/expvar: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/influxdb: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/integrations: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/models: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/pipeline: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/server: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/alert: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/alert/alerttest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/alerta: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/alerta/alertatest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/config: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/config/override: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/deadman: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/hipchat: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/hipchat/hipchattest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/httpd: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/httpd/httpdtest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/influxdb: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/k8s: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/k8s/client: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/logging: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/logging/loggingtest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/noauth: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/opsgenie: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/opsgenie/opsgenietest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/pagerduty: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/pagerduty/pagerdutytest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/pushover: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/pushover/pushovertest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/replay: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/reporting: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/sensu: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/sensu/sensutest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/servicetest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/slack: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/slack/slacktest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/smtp: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/smtp/smtptest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/snmptrap: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/snmptrap/snmptraptest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/stats: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/storage: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/storage/storagetest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/talk: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/talk/talktest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/task_store: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/telegram: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/telegram/telegramtest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/udf: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/udp: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/victorops: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/services/victorops/victoropstest: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/tick: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/tick/ast: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/tick/cmd/tickdoc: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/tick/cmd/tickfmt: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/tick/stateful: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/timer: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf/agent: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf/agent/examples/mirror: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf/agent/examples/moving_avg: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf/agent/examples/outliers: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/udf/test: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/uuid: no such file or directory
vet: error walking tree: stat github.com/arindamchoudhury/kapacitor/vars: no such file or directory
vet: github.com/arindamchoudhury/kapacitor: open github.com/arindamchoudhury/kapacitor: no such file or directory
vet: no files checked

Regards,
Arindam

It looks like you have checked out the code under the path of your fork github.com/arindamchoudhury/kapacitor. The code should be checked out under the import path of github.com/influxdata/kapacitor.

I want to fork it and do some contribution. I can not test a forked one?

@arindamchoudhury You can but the way go does imports will require you to have the kapacitor code at $GOPATH/src/github.com/influxdata/kapacitor. What I do in situations like this is clone my fork to the original repo location in my gopath. Makes it pretty easy.