Alright, so this works: % go test github.com/docker/docker/builder github.com/docker/docker/daemon/cluster/executor/container github.com/docker/docker/daemon/logger/gelf But if we replace github.com/docker/docker/daemon/logger/gelf with anything else, it breaks. Now to come up with a non-Docker reproducer...