-
Notifications
You must be signed in to change notification settings - Fork 944
Closed
Labels
Description
Ⅰ. Issue Description
sometimes cli_rich_container_test.go:151 fails to validate stdout, here(tavis log) can give us more details.
err=
Command: /usr/local/bin/pouch exec TestRichContainerInitdWorks ps -ef | grep /sbin/init | awk '{print $1}'
ExitCode: 0
Error: <nil>
Stdout:
Stderr:
Failures:
Expected stdout to contain "1"
----------------------------------------------------------------------
FAIL: /go/src/github.com/alibaba/pouch/test/cli_rich_container_test.go:151: PouchRichContainerSuite.TestRichContainerInitdWorks
/go/src/github.com/alibaba/pouch/test/cli_rich_container_test.go:182:
c.Assert(checkPidofProcessIsOne(funcname, "/sbin/init"), check.Equals, true)
... obtained bool = false
... expected bool = true
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
- pouch version (use
pouch version): - OS (e.g. from /etc/os-release):
- Kernel (e.g.
uname -a): - Install tools:
- Others: