Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test volume mount e2e failure for k3s image #45

Closed
erikwilson opened this Issue Feb 26, 2019 · 0 comments

Comments

3 participants
@erikwilson
Copy link
Member

erikwilson commented Feb 26, 2019

e2e tests check permissions of /tmp volume mount, which is missing sticky bit and group permissions for k3s image:

[sig-storage] HostPath
/workspace/anago-v1.13.0-rc.2.1+ddf47ac13c1a94/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/host_path.go:34
  should give a volume the correct mode [NodeConformance] [Conformance] [It]
  /workspace/anago-v1.13.0-rc.2.1+ddf47ac13c1a94/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:699

  Expected error:
      <*errors.errorString | 0xc000707b10>: {
          s: "expected \"mode of file \\\"/test-volume\\\": dtrwxrwx\" in container output: Expected\n    <string>: mount type of \"/test-volume\": 2035054128\n    mode of file \"/test-volume\": drwxr-xr-x\n    \nto contain substring\n    <string>: mode of file \"/test-volume\": dtrwxrwx",
      }
      expected "mode of file \"/test-volume\": dtrwxrwx" in container output: Expected
          <string>: mount type of "/test-volume": 2035054128
          mode of file "/test-volume": drwxr-xr-x

      to contain substring
          <string>: mode of file "/test-volume": dtrwxrwx
  not to have occurred

  /workspace/anago-v1.13.0-rc.2.1+ddf47ac13c1a94/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2395

@erikwilson erikwilson added this to Testing in K3S Development Feb 27, 2019

@erikwilson erikwilson moved this from Testing to Reviewer approved in K3S Development Feb 27, 2019

@ibuildthecloud ibuildthecloud moved this from Reviewer approved to Testing in K3S Development Mar 4, 2019

@ibuildthecloud ibuildthecloud moved this from Testing to Reviewer approved in K3S Development Mar 4, 2019

@cjellick cjellick added this to the v0.2.0 milestone Mar 8, 2019

@cjellick cjellick moved this from Reviewer approved to Testing in K3S Development Mar 8, 2019

@cjellick cjellick added the kind/bug label Mar 8, 2019

K3S Development automation moved this from Testing to Done Mar 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.