-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I've noticed an intermittent failure of this test, here's a sample log from the latest failure.
[ 51s] $WORK/github.com/ngmoco/falcore/static_file/_test/static_file.test
[ 52s] --- FAIL: TestBasicFiles (0.02 seconds)
[ 52s] file_filter_test.go:144: custom mime type Error GETting file:unexpected EOF
I first saw the failure on the openSUSE Factory and openSUSE Tumbleweed builders. These are our unstable and rolling release platforms respectivly so after triggering a rebuild and not seeing a direct repeat of the failure I dismissed it as an issue with an unstable platform. Subsequently I have seen the issue maybe two or three time on the current stable release builders and now on an external distro build. Seeing the issue on an external distro prompted me to upstream it.
This intermittently appears on both 32 and 64 bit archs, and across at least the following platforms, but this should be considered with the knowledge that as in intermittent failure, the openSUSE platforms are the ones that get automatically triggered to rebuild more often which increases the likelyhood of occurence.
- openSUSE 12.2 RC
- openSUSE Factory
- openSUSE Tumbleweed
- RHEL 6
A first take suggests the error can only originate from the RoundTripper use but poking at the implemtation in the std libs:
http://golang.org/src/pkg/net/http/transport.go?s=3821:3892#L116
I see that there's the use of synch primatives, so this may be a subtle failure and possibly a bug in the test rather than falcore. Additionally we run our Go builds with -p 4 to match the allocated cores on the builders, so I'm not sure if that affects things.