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

[flaky test] CRI test failed when the pr is just doc-related #1337

Closed
ZouRui89 opened this issue May 16, 2018 · 1 comment · Fixed by #1340
Closed

[flaky test] CRI test failed when the pr is just doc-related #1337

ZouRui89 opened this issue May 16, 2018 · 1 comment · Fixed by #1340

Comments

@ZouRui89
Copy link
Contributor

ZouRui89 commented May 16, 2018

Ⅰ. Issue Description

In the CI result https://travis-ci.org/alibaba/pouch/jobs/379529089 of PR #1331.

And error log went like this:

• Failure [0.653 seconds]
[k8s.io] Security Context
/home/travis/gopath/src/github.com/kubernetes-incubator/cri-tools/pkg/framework/framework.go:72
  SeccompProfilePath
  /home/travis/gopath/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/security_context.go:411
    runtime should support an seccomp profile that blocks setting hostname with SYS_ADMIN [It]
    /home/travis/gopath/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/security_context.go:517
    cmd [hostname ANewHostName], stdout "hostname: sethostname: Operation not permitted\n", stderr ""
    Expected an error to have occurred.  Got:
        <nil>: nil
    /home/travis/gopath/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/security_context.go:1046

Ⅱ. Describe what happened

Similar error log has appeared in the CRI test, but within different test cases, while I was on #1318.
But the error came occasionally, thus I think maybe it is a flakty test.

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Since the similiar situation has appeared before, I think this error is related to ExecSync.

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot
Copy link
Collaborator

Thanks for your contribution. 🍻 @ZouRui89
While we thought ISSUE TITLE could be more specific, longer than 20 chars.
Please edit issue title instead of opening a new one.
More details, please refer to https://github.com/alibaba/pouch/blob/master/CONTRIBUTING.md

@ZouRui89 ZouRui89 changed the title [flaky test] [flaky test] CRI test failed when the pr is only doc-related May 16, 2018
@ZouRui89 ZouRui89 changed the title [flaky test] CRI test failed when the pr is only doc-related [flaky test] CRI test failed when the pr is just doc-related May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants