Skip to content

GolangCI failed with error message, Invalid output json #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks
chandankumar4 opened this issue Oct 14, 2019 · 2 comments
Closed
3 tasks

GolangCI failed with error message, Invalid output json #817

chandankumar4 opened this issue Oct 14, 2019 · 2 comments

Comments

@chandankumar4
Copy link

chandankumar4 commented Oct 14, 2019

Thank you for creating the issue!

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).

Please include the following information:

Version of golangci-lint
$ golangci-lint --version
golangci-lint v1.20.0
Config file
$ cat .golangci.yml
# No config file
Go environment
$ go version && go env
go version
    go version go1.13 linux/amd64
$ go env
    GO111MODULE=""
    GOARCH="amd64"
    GOBIN=""
    GOCACHE="/root/.cache/go-build"
    GOENV="/root/.config/go/env"
    GOEXE=""
    GOFLAGS=""
    GOHOSTARCH="amd64"
    GOHOSTOS="linux"
    GONOPROXY=""
    GONOSUMDB=""
    GOOS="linux"
    GOPATH="/go"
    GOPRIVATE=""
    GOPROXY="https://proxy.golang.org,direct"
    GOROOT="/usr/local/go"
    GOSUMDB="sum.golang.org"
    GOTMPDIR=""
    GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
    GCCGO="gccgo"
    AR="ar"
    CC="gcc"
    CXX="g++"
    CGO_ENABLED="1"
    GOMOD="/go/src/github.com/openebs/jiva/go.mod"
    CGO_CFLAGS="-g -O2"
    CGO_CPPFLAGS=""
    CGO_CXXFLAGS="-g -O2"
    CGO_FFLAGS="-g -O2"
    CGO_LDFLAGS="-g -O2"
    PKG_CONFIG="pkg-config"
    GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build006973412=/tmp/go-build -gno-record-gcc-switches"
Verbose output of running
$ golangci-lint run -v
# paste output here

Anything else to know:
Screenshot from 2019-10-14 20-08-40

Issue reference: litmuschaos/chaos-exporter#32

@vthiery
Copy link

vthiery commented Oct 14, 2019

Issue also raised here

@chandankumar4 chandankumar4 changed the title GolangCI failed with error message, Invalid outpt json GolangCI failed with error message, Invalid output json Oct 14, 2019
@jirfag
Copy link
Contributor

jirfag commented Oct 14, 2019

sorry, already fixed and released

@jirfag jirfag closed this as completed Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants