Open kishorkunal-raj opened 4 years ago
Sorry, it's hard to follow the logs since they are not formatted. By the looks of it, it seemed like a data race in the testing package, which could be a big from the past. I suggest you change the Travis config to test with the latest two Go versions (which is what Google currently supports), i.e. 1.14 + 1.15 only
Hi All, I am using Travis-CI for running jobs on ppc64le architecture but the jobs failed and exited with status 2. Please help me out . Logs are mentioned below
logs
Setting environment variables from .travis.yml
$ export GO111MODULE=on
0.10s$ travis_setup_go
go version go1.11.13 linux/ppc64le
$ export GOPATH="/home/travis/gopath"
$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.13.linux.ppc64le/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.rvm/gems/ruby-2.7.0/bin:/home/travis/.rvm/gems/ruby-2.7.0@global/bin:/home/travis/.rvm/rubies/ruby-2.7.0/bin:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.kiex/elixirs/elixir-1.9.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/travis/.phpenv/bin:/home/travis/.rvm/bin"
$ export GO111MODULE="on"
$ gimme version
v1.5.4
$ go version
go version go1.11.13 linux/ppc64le go.env
$ go env install
12.76s$ go get -u github.com/go-redis/redis
248.86s$ make default fuzz fuzzrace
go vet ./...
go: downloading github.com/bsm/pool v0.8.1
go: downloading github.com/onsi/gomega v1.5.0
go: downloading github.com/onsi/ginkgo v1.8.0
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading golang.org/x/net v0.0.0-20190724013045-ca1201d0de80
go: downloading github.com/hpcloud/tail v1.0.0
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: downloading golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e
go: downloading golang.org/x/text v0.3.2
go test ./...
ok github.com/bsm/redeo 0.113s
ok github.com/bsm/redeo/client 0.007s
? github.com/bsm/redeo/cmd/redeo-server-example [no test files]
ok github.com/bsm/redeo/info 0.007s
ok github.com/bsm/redeo/redeotest 0.013s
ok github.com/bsm/redeo/resp 0.047s
go test ./.fuzz
ok github.com/bsm/redeo/.fuzz 20.381s
go test -race ./.fuzz
==================
WARNING: DATA RACE
Write at 0x00c000102151 by goroutine 13:
testing.(*common).FailNow()
testing.(*common).Fatalf()
github.com/bsm/redeo/%2efuzz_test.fuzzIteration()
github.com/bsm/redeo/%2efuzz_test.TestFuzz.func1()
Previous write at 0x00c000102151 by goroutine 23:
testing.(*common).FailNow()
testing.(*common).Fatalf()
github.com/bsm/redeo/%2efuzz_test.fuzzIteration()
github.com/bsm/redeo/%2efuzz_test.TestFuzz.func1()
Goroutine 13 (running) created at:
github.com/bsm/redeo/%2efuzz_test.TestFuzz()
testing.tRunner()
Goroutine 23 (finished) created at:
github.com/bsm/redeo/%2efuzz_test.TestFuzz()
testing.tRunner()
==================
--- FAIL: TestFuzz (199.51s)
.. .. .. \x14\x97'"
FAIL
FAIL github.com/bsm/redeo/.fuzz 199.531s
make: *** [fuzzrace] Error 1
Makefile:16: recipe for target 'fuzzrace' failed
The command "make default fuzz fuzzrace" exited with 2.
Done. Your build exited with 1.
Please excuse if I asked irrelevant as am newbie here