Closed bobheadxi closed 5 years ago
Not sure what happened with one of the build jobs: https://travis-ci.com/src-d/hercules/jobs/183188633
but the -race
tests are passing in https://travis-ci.com/src-d/hercules/jobs/183188632
Hi @bobheadxi thanks so much for your contribution. That build failed because of an annoying problem in Travis environment related to networking:
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export golang.org/x/sys: failed to fetch source for https://go.googlesource.com/sys: unable to get repository: Cloning into '/home/travis/gopath/pkg/dep/sources/https---go.googlesource.com-sys'...
fatal: unable to access 'https://go.googlesource.com/sys/': The requested URL returned error: 502
I restarted that job. I have recently had to restart it 5 times before that error goes away, which is very annoying. We are thinking with @smola what can be done to resolve it.
It is 10pm here, so I will review this tomorrow :+1:
Please feel free to close this if avoiding race conditions aren't a priority, but I noticed my
-race
-enabled tests would fail on what seemed like hercules code.If the build for this PR fails (it does locally on my machine) I'll open a ticket about resolving concurrency issues.
Here's what I get when I run hercules' tests on my machine:
update: travis ran into the same issue, so I've opened #233 with some more details
update 2: working on resolving race conditions, so hopefully this will close #233 as well