Skip to content

Intermittent failure of static_file/file_filter_test.go: TestBasicFiles #30

@gnanderson

Description

@gnanderson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions