Created
May 8, 2015 14:15
-
-
Save avagin/7336ccb5e1026e27168e to your computer and use it in GitHub Desktop.
libcontainer tests for libct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@avagin-fc19-cr libcontainer]# make integration | |
make -C integration | |
make[1]: Entering directory '/root/git/libcontainer/integration' | |
go test -bench . -v --tags libct . | |
=== RUN TestExecPS | |
--- PASS: TestExecPS (0.07s) | |
=== RUN TestUsernsExecPS | |
--- PASS: TestUsernsExecPS (0.38s) | |
=== RUN TestIPCPrivate | |
--- PASS: TestIPCPrivate (0.37s) | |
=== RUN TestIPCHost | |
--- PASS: TestIPCHost (0.38s) | |
=== RUN TestIPCJoinPath | |
--- PASS: TestIPCJoinPath (0.38s) | |
=== RUN TestIPCBadPath | |
WARN[0001] exit status 1 | |
--- PASS: TestIPCBadPath (0.33s) | |
=== RUN TestRlimit | |
--- PASS: TestRlimit (0.12s) | |
=== RUN TestEnter | |
--- PASS: TestEnter (0.37s) | |
=== RUN TestProcessEnv | |
--- PASS: TestProcessEnv (0.37s) | |
=== RUN TestProcessCaps | |
--- PASS: TestProcessCaps (0.40s) | |
=== RUN TestFreeze | |
--- PASS: TestFreeze (0.39s) | |
=== RUN TestSystemdFreeze | |
--- PASS: TestSystemdFreeze (0.37s) | |
=== RUN TestCpuShares | |
WARN[0004] signal: killed | |
--- PASS: TestCpuShares (0.36s) | |
=== RUN TestSystemdCpuShares | |
WARN[0004] exit status 2 | |
--- PASS: TestSystemdCpuShares (0.11s) | |
=== RUN TestContainerState | |
--- PASS: TestContainerState (0.07s) | |
=== RUN TestPassExtraFiles | |
--- PASS: TestPassExtraFiles (0.35s) | |
=== RUN TestMountCmds | |
--- PASS: TestMountCmds (0.38s) | |
=== RUN TestSystemProperties | |
--- PASS: TestSystemProperties (0.39s) | |
=== RUN TestExecIn | |
--- PASS: TestExecIn (0.38s) | |
=== RUN TestExecInRlimit | |
--- PASS: TestExecInRlimit (0.37s) | |
=== RUN TestExecInError | |
WARN[0006] exit status 1 | |
--- PASS: TestExecInError (0.39s) | |
=== RUN TestExecInTTY | |
--- PASS: TestExecInTTY (0.39s) | |
=== RUN TestExecInEnvironment | |
--- PASS: TestExecInEnvironment (0.37s) | |
=== RUN TestExecinPassExtraFiles | |
--- PASS: TestExecinPassExtraFiles (0.35s) | |
PASS | |
BenchmarkStart 3 348852554 ns/op | |
BenchmarkEnter 200 9131474 ns/op | |
=== RUN TestExecPS | |
--- PASS: TestExecPS (0.34s) | |
=== RUN TestUsernsExecPS | |
--- PASS: TestUsernsExecPS (0.09s) | |
=== RUN TestIPCPrivate | |
--- PASS: TestIPCPrivate (0.08s) | |
=== RUN TestIPCHost | |
--- PASS: TestIPCHost (0.07s) | |
=== RUN TestIPCJoinPath | |
--- PASS: TestIPCJoinPath (0.06s) | |
=== RUN TestIPCBadPath | |
ERRO[0013] Error (src/ct.c:96): Unable to open /proc/1/ns/ipcc: No such file or directory | |
--- PASS: TestIPCBadPath (0.07s) | |
=== RUN TestRlimit | |
--- PASS: TestRlimit (0.07s) | |
=== RUN TestEnter | |
--- PASS: TestEnter (0.10s) | |
=== RUN TestProcessEnv | |
--- PASS: TestProcessEnv (0.09s) | |
=== RUN TestProcessCaps | |
--- PASS: TestProcessCaps (0.08s) | |
=== RUN TestFreeze | |
--- PASS: TestFreeze (0.08s) | |
=== RUN TestSystemdFreeze | |
--- PASS: TestSystemdFreeze (0.07s) | |
=== RUN TestCpuShares | |
--- SKIP: TestCpuShares (0.00s) | |
exec_test.go:566: libct is't going to be clever than kernel | |
=== RUN TestSystemdCpuShares | |
--- SKIP: TestSystemdCpuShares (0.00s) | |
exec_test.go:566: libct is't going to be clever than kernel | |
=== RUN TestContainerState | |
--- PASS: TestContainerState (0.07s) | |
=== RUN TestPassExtraFiles | |
--- PASS: TestPassExtraFiles (0.10s) | |
=== RUN TestMountCmds | |
--- PASS: TestMountCmds (0.09s) | |
=== RUN TestSystemProperties | |
--- PASS: TestSystemProperties (0.06s) | |
=== RUN TestExecIn | |
--- PASS: TestExecIn (0.07s) | |
=== RUN TestExecInRlimit | |
--- PASS: TestExecInRlimit (0.09s) | |
=== RUN TestExecInError | |
--- PASS: TestExecInError (0.07s) | |
=== RUN TestExecInTTY | |
--- PASS: TestExecInTTY (0.08s) | |
=== RUN TestExecInEnvironment | |
--- PASS: TestExecInEnvironment (0.08s) | |
=== RUN TestExecinPassExtraFiles | |
--- PASS: TestExecinPassExtraFiles (0.08s) | |
PASS | |
BenchmarkStart 30 65839144 ns/op | |
BenchmarkEnter 500 2795231 ns/op | |
ok _/root/git/libcontainer/integration 18.341s | |
make[1]: Leaving directory '/root/git/libcontainer/integration' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment