Skip to content

mounting of /tmp by security driver causing make test to fail #4252

@john-a-joyce

Description

@john-a-joyce

While trying to run "make test" on my local system the tests are not running properly due to lack of space.
Getting numerous errors of the type: "write /tmp/go-build095530034/b510/vet.cfg: no space left on device". Notably when I change the size of the mounted partition in this line:
https://github.com/istio/istio/blame/master/security/cmd/flexvolume/driver/driver.go#L105
the tests executed without the "out of space" errors. A couple other notable points.

  • Others in my group can run the tests just fine from the same code base, although their environments are different.
  • The /tmp partition is left mounted at the end of running "make test" on my system while I believe it should be unmounted by the driver.go code.
  • Before running the tests /tmp is not specifically mounted
  • Ubuntu release:
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.3 LTS
    Release: 16.04
    Codename: xenial
  • K8s version:
    kubectl version
    Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T10:09:24Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T11:55:20Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions