{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2901","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2901/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2901/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2901/events","html_url":"https://github.com/cockroachdb/cockroach/issues/2901","id":113000420,"number":2901,"title":"go test -coverprofile failure ","user":{"login":"Karthic-Hackintosh","id":2609511,"avatar_url":"https://avatars.githubusercontent.com/u/2609511?v=3","gravatar_id":"","url":"https://api.github.com/users/Karthic-Hackintosh","html_url":"https://github.com/Karthic-Hackintosh","followers_url":"https://api.github.com/users/Karthic-Hackintosh/followers","following_url":"https://api.github.com/users/Karthic-Hackintosh/following{/other_user}","gists_url":"https://api.github.com/users/Karthic-Hackintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/Karthic-Hackintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karthic-Hackintosh/subscriptions","organizations_url":"https://api.github.com/users/Karthic-Hackintosh/orgs","repos_url":"https://api.github.com/users/Karthic-Hackintosh/repos","events_url":"https://api.github.com/users/Karthic-Hackintosh/events{/privacy}","received_events_url":"https://api.github.com/users/Karthic-Hackintosh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-23T11:15:01Z","updated_at":"2015-10-23T14:41:57Z","closed_at":null,"body":"I made an attempt to check out the test coverage from the `cli` folder of the project by running the following command \r\n`go test -coverprofile=cover.out .` . This failed. How could I get the test coverage report without any failure? "},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/150594046","html_url":"https://github.com/cockroachdb/cockroach/issues/2901#issuecomment-150594046","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/2901","id":150594046,"user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T14:41:57Z","updated_at":"2015-10-23T14:41:57Z","body":"This looks like you have the wrong version of `cobra`, one of our dependencies. Can you try using `make test PKG=./cli TESTFLAGS='-coverprofile=cover.out'` instead of the `go test` invocation? That will take care of grabbing the correct cobra version."}}