Skip to content

Instantly share code, notes, and snippets.

@caglar10ur
Last active January 3, 2016 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caglar10ur/8450091 to your computer and use it in GitHub Desktop.
Save caglar10ur/8450091 to your computer and use it in GitHub Desktop.
[caglar@qp:~/go/src/github.com/caglar10ur/lxc(devel)] make test
==> Running go test
=== RUN TestVersion-2
--- PASS: TestVersion-2 (0.00 seconds)
lxc_test.go:40: LXC version: 1.0.0.beta2
=== RUN TestDefaultConfigPath-2
--- PASS: TestDefaultConfigPath-2 (0.00 seconds)
=== RUN TestSetConfigPath-2
--- PASS: TestSetConfigPath-2 (0.00 seconds)
=== RUN TestGetContainer-2
--- PASS: TestGetContainer-2 (0.00 seconds)
=== RUN TestConcurrentDefined_Negative-2
--- PASS: TestConcurrentDefined_Negative-2 (0.25 seconds)
=== RUN TestDefined_Negative-2
--- PASS: TestDefined_Negative-2 (0.00 seconds)
=== RUN TestExecute-2
--- PASS: TestExecute-2 (0.09 seconds)
=== RUN TestSetVerbosity-2
--- PASS: TestSetVerbosity-2 (0.00 seconds)
=== RUN TestCreate-2
--- PASS: TestCreate-2 (0.39 seconds)
=== RUN TestClone-2
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestClone-2 (0.17 seconds)
=== RUN TestCreateSnapshot-2
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestCreateSnapshot-2 (0.11 seconds)
=== RUN TestRestoreSnapshot-2
lxc_container: Failed to get freezer state for /var/lib/lxcsnaps/rubik:snap0
--- PASS: TestRestoreSnapshot-2 (0.12 seconds)
=== RUN TestConcurrentCreate-2
--- PASS: TestConcurrentCreate-2 (1.51 seconds)
=== RUN TestSnapshots-2
--- PASS: TestSnapshots-2 (0.00 seconds)
=== RUN TestConcurrentStart-2
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:2
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:9
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:7
--- PASS: TestConcurrentStart-2 (0.97 seconds)
=== RUN TestContainerNames-2
--- PASS: TestContainerNames-2 (0.00 seconds)
=== RUN TestDefinedContainerNames-2
--- PASS: TestDefinedContainerNames-2 (0.00 seconds)
=== RUN TestActiveContainerNames-2
--- PASS: TestActiveContainerNames-2 (0.00 seconds)
=== RUN TestContainers-2
--- PASS: TestContainers-2 (0.01 seconds)
=== RUN TestDefinedContainers-2
--- PASS: TestDefinedContainers-2 (0.01 seconds)
=== RUN TestActiveContainers-2
--- PASS: TestActiveContainers-2 (0.00 seconds)
=== RUN TestConfigFileName-2
--- PASS: TestConfigFileName-2 (0.00 seconds)
=== RUN TestDefined_Positive-2
--- PASS: TestDefined_Positive-2 (0.00 seconds)
=== RUN TestConcurrentDefined_Positive-2
--- PASS: TestConcurrentDefined_Positive-2 (0.28 seconds)
=== RUN TestInitPID_Negative-2
--- PASS: TestInitPID_Negative-2 (0.00 seconds)
=== RUN TestStart-2
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestStart-2 (0.36 seconds)
=== RUN TestMayControl-2
--- PASS: TestMayControl-2 (0.00 seconds)
=== RUN TestRunning-2
--- PASS: TestRunning-2 (0.00 seconds)
=== RUN TestWantDaemonize-2
--- PASS: TestWantDaemonize-2 (0.00 seconds)
=== RUN TestWantCloseAllFds-2
--- PASS: TestWantCloseAllFds-2 (0.00 seconds)
=== RUN TestSetLogLevel-2
--- PASS: TestSetLogLevel-2 (0.00 seconds)
=== RUN TestSetLogFile-2
--- PASS: TestSetLogFile-2 (0.00 seconds)
=== RUN TestInitPID_Positive-2
--- PASS: TestInitPID_Positive-2 (0.00 seconds)
=== RUN TestName-2
--- PASS: TestName-2 (0.00 seconds)
=== RUN TestFreeze-2
--- PASS: TestFreeze-2 (1.01 seconds)
=== RUN TestUnfreeze-2
--- PASS: TestUnfreeze-2 (0.01 seconds)
=== RUN TestLoadConfigFile-2
--- PASS: TestLoadConfigFile-2 (0.00 seconds)
=== RUN TestSaveConfigFile-2
--- PASS: TestSaveConfigFile-2 (0.00 seconds)
=== RUN TestConfigItem-2
--- PASS: TestConfigItem-2 (0.00 seconds)
=== RUN TestSetConfigItem-2
--- PASS: TestSetConfigItem-2 (0.00 seconds)
=== RUN TestSetCgroupItem-2
--- PASS: TestSetCgroupItem-2 (0.01 seconds)
=== RUN TestClearConfigItem-2
--- PASS: TestClearConfigItem-2 (0.00 seconds)
=== RUN TestConfigKeys-2
--- PASS: TestConfigKeys-2 (0.00 seconds)
=== RUN TestInterfaces-2
--- PASS: TestInterfaces-2 (0.02 seconds)
=== RUN TestMemoryUsage-2
--- PASS: TestMemoryUsage-2 (0.01 seconds)
=== RUN TestSwapUsage-2
--- PASS: TestSwapUsage-2 (0.01 seconds)
=== RUN TestMemoryLimit-2
--- PASS: TestMemoryLimit-2 (0.00 seconds)
=== RUN TestSwapLimit-2
--- PASS: TestSwapLimit-2 (0.00 seconds)
=== RUN TestSetMemoryLimit-2
--- PASS: TestSetMemoryLimit-2 (0.01 seconds)
=== RUN TestSetSwapLimit-2
--- PASS: TestSetSwapLimit-2 (0.01 seconds)
=== RUN TestCPUTime-2
--- PASS: TestCPUTime-2 (0.00 seconds)
=== RUN TestCPUTimePerCPU-2
--- PASS: TestCPUTimePerCPU-2 (0.00 seconds)
=== RUN TestCPUStats-2
--- PASS: TestCPUStats-2 (0.00 seconds)
=== RUN TestRunCommand-2
--- PASS: TestRunCommand-2 (0.07 seconds)
=== RUN TestRunCommandWithClearEnvironment-2
--- PASS: TestRunCommandWithClearEnvironment-2 (0.06 seconds)
=== RUN TestConsoleGetFD-2
--- PASS: TestConsoleGetFD-2 (0.00 seconds)
=== RUN TestIPAddress-2
--- PASS: TestIPAddress-2 (0.03 seconds)
=== RUN TestAddDeviceNode-2
--- PASS: TestAddDeviceNode-2 (0.00 seconds)
=== RUN TestRemoveDeviceNode-2
--- PASS: TestRemoveDeviceNode-2 (0.00 seconds)
=== RUN TestReboot-2
--- PASS: TestReboot-2 (0.01 seconds)
=== RUN TestConcurrentShutdown-2
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:2
lxc_container: Failed to get freezer state for /var/lib/lxc:7
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:9
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:7
lxc_container: Failed to get freezer state for /var/lib/lxc:2
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:2
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:7
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:9
lxc_container: Failed to get freezer state for /var/lib/lxc:9
--- PASS: TestConcurrentShutdown-2 (3.25 seconds)
=== RUN TestShutdown-2
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestShutdown-2 (2.40 seconds)
=== RUN TestStop-2
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestStop-2 (0.65 seconds)
=== RUN TestDestroySnapshot-2
lxc_container: Failed to get freezer state for /var/lib/lxcsnaps/rubik:snap0
--- PASS: TestDestroySnapshot-2 (0.02 seconds)
=== RUN TestDestroy-2
lxc_container: Failed to get freezer state for /var/lib/lxc:O_o
lxc_container: Failed to get freezer state for /var/lib/lxc:O_o
lxc_container: Failed to get freezer state for /var/lib/lxc:O
lxc_container: Failed to get freezer state for /var/lib/lxc:O
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik-restore
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik-restore
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
lxc_container: Failed to get freezer state for /var/lib/lxc:rubik
--- PASS: TestDestroy-2 (0.06 seconds)
=== RUN TestConcurrentDestroy-2
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:4
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:6
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:3
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:5
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:1
lxc_container: Failed to get freezer state for /var/lib/lxc:7
lxc_container: Failed to get freezer state for /var/lib/lxc:7
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:8
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:0
lxc_container: Failed to get freezer state for /var/lib/lxc:9
lxc_container: Failed to get freezer state for /var/lib/lxc:9
lxc_container: Failed to get freezer state for /var/lib/lxc:2
lxc_container: Failed to get freezer state for /var/lib/lxc:2
--- PASS: TestConcurrentDestroy-2 (0.26 seconds)
PASS
ok github.com/caglar10ur/lxc 12.245s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment