dcos / dcos-diagnostics

DC/OS Distributed Diagnostics Tool & Aggregation Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test errors under api subdir with source code straight from master branch, is this expected?

soccerGB opened this issue · comments

soccerl@dcos:~/golang/src/github.com/dcos/dcos-diagnostics/api$ go test

ERRO[0000] Could not cancel a job: unexpected end of JSON input
ERRO[0000] Could not cancel a job: Job is not running
ERRO[0000] Could not find masters or agents in memory: No nodes found in memory, perhaps dcos-diagnostics was started without -pull flag
ERRO[0000] Could not run a diagnostics job: Requested nodes: [192.168.0.1] not found
ERRO[0000] Could not find masters or agents in memory: No nodes found in memory, perhaps dcos-diagnostics was started without -pull flag
INFO[0000] Started background job
ERRO[0000] could not unmarshal a list of logs, url: http://127.0.0.1:1050/system/health/v1/logs: unexpected end of JSON input
ERRO[0000] could not unmarshal a list of logs, url: http://127.0.0.2:0/system/health/v1/logs: unexpected end of JSON input
INFO[0000] Job finished
INFO[0002] Trying to find a bundle bundle-2016-05-13T22:11:36.zip on remote hosts
INFO[0002] Bundle bundle-2016-05-13T22:11:36.zip found on a host: 127.0.0.1:1050
INFO[0002] Trying to find a bundle bundle-123.zip on remote hosts
ERRO[0002] Node 127.0.0.1 not found
ERRO[0002] Unit dcos-notfound.service not found
ERRO[0002] Node 127.0.0.1 not found
ERRO[0002] Node 127.0.0.1 not found
ERRO[0002] Unit dcos-bad.service not found
ERRO[0002] Node 127.0.0.1 not found
ERRO[0002] Unit dcos-notfound.service not found
Trying to look for dcos-cosmos.service
Trying to look for dcos-notfound.service
ERRO[0002] Unit dcos-notfound.service not found
ERRO[0002] Could not deserialize json response from 127.0.0.2, url http://127.0.0.2:0/system/health/v1: unexpected end of JSON input
Trying to look for test-Unit
ERRO[0002] Could not deserialize json response from 127.0.0.2, url http://127.0.0.2:0/system/health/v1: unexpected end of JSON input
Trying to look for dcos-master.service
ERRO[0002] Could not deserialize json response from 127.0.0.2, url http://127.0.0.2:0/system/health/v1: unexpected end of JSON input
Trying to look for dcos-service-not-here.service
PASS
ok github.com/dcos/dcos-diagnostics/api 2.058s
soccerl@dcos:~/golang/src/github.com/dcos/dcos-diagnostics/api$