Created
January 23, 2019 02:49
-
-
Save ccollicutt/9ef86c8b441ce1ab784bad7528cf1821 to your computer and use it in GitHub Desktop.
This file contains hidden or 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@kata:~/go/src/github.com/kata-containers/runtime# git log --format=%h -1 HEAD | |
5f7fcd7 | |
root@kata:~/go/src/github.com/kata-containers/runtime# uname -a | |
Linux kata 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | |
root@kata:~/go/src/github.com/kata-containers/runtime# make test | |
TEST go-test | |
WARNING: Already running as root so will not re-run tests as non-root user. | |
WARNING: As a result, only a subset of tests will be run | |
WARNING: (run this script as a non-privileged to ensure all tests are run). | |
INFO: Currently running as user 'root' | |
INFO: Running 'go test' as current user on package 'github.com/kata-containers/runtime/cli' with flags '-v -race -timeout 30s -outputdir "/tmp/tmp.WACcF5qO8x"' | |
INFO: running as actual user 0 (effective 0), actual group 0 (effective 0) | |
INFO: switching to fake virtcontainers implementation for testing | |
INFO: creating test directory | |
INFO: test directory is /tmp/kata-runtime-173608073 | |
INFO: ensuring docker is running | |
INFO: ensuring required docker image (busybox) is available | |
INFO: docker image busybox already exists locally | |
INFO: creating OCI bundle in /tmp/kata-runtime-173608073/bundle for tests to use | |
time="2019-01-23T02:48:59Z" level=debug msg="converting /tmp/kata-runtime-173608073/bundle/config.json" source=virtcontainers subsystem=oci | |
=== RUN TestConsoleFromFile | |
--- PASS: TestConsoleFromFile (0.00s) | |
=== RUN TestNewConsole | |
--- PASS: TestNewConsole (0.00s) | |
=== RUN TestIsTerminal | |
--- PASS: TestIsTerminal (0.00s) | |
=== RUN TestReadWrite | |
--- PASS: TestReadWrite (0.00s) | |
=== RUN TestNewConsoleFail | |
--- PASS: TestNewConsoleFail (0.00s) | |
=== RUN TestConsoleClose | |
--- PASS: TestConsoleClose (0.00s) | |
=== RUN TestConsolePtsnameFail | |
--- PASS: TestConsolePtsnameFail (0.00s) | |
=== RUN TestCreatePIDFileSuccessful | |
--- PASS: TestCreatePIDFileSuccessful (0.00s) | |
=== RUN TestCreatePIDFileEmptyPathSuccessful | |
--- PASS: TestCreatePIDFileEmptyPathSuccessful (0.00s) | |
=== RUN TestCreatePIDFileUnableToRemove | |
--- SKIP: TestCreatePIDFileUnableToRemove (0.00s) | |
create_test.go:75: Test disabled as requires non-root user | |
=== RUN TestCreatePIDFileUnableToCreate | |
--- PASS: TestCreatePIDFileUnableToCreate (0.00s) | |
=== RUN TestCreateCLIFunctionNoRuntimeConfig | |
--- PASS: TestCreateCLIFunctionNoRuntimeConfig (0.00s) | |
=== RUN TestCreateCLIFunctionSetupConsoleFail | |
--- PASS: TestCreateCLIFunctionSetupConsoleFail (0.00s) | |
=== RUN TestCreateCLIFunctionCreateFail | |
time="2019-01-23T02:49:00Z" level=debug msg="Defaulting bundle path to current directory" arch=amd64 container= directory=/root/go/src/github.com/kata-containers/runtime/cli name=kata-runtime pid=6998 source=runtime | |
--- PASS: TestCreateCLIFunctionCreateFail (0.00s) | |
=== RUN TestCreateInvalidArgs | |
time="2019-01-23T02:49:00Z" level=debug msg="Defaulting bundle path to current directory" arch=amd64 container= directory=/root/go/src/github.com/kata-containers/runtime/cli name=kata-runtime pid=6998 source=runtime | |
time="2019-01-23T02:49:00Z" level=debug msg="Defaulting bundle path to current directory" arch=amd64 container= directory=/root/go/src/github.com/kata-containers/runtime/cli name=kata-runtime pid=6998 source=runtime | |
time="2019-01-23T02:49:00Z" level=debug msg="Defaulting bundle path to current directory" arch=amd64 container=foo directory=/root/go/src/github.com/kata-containers/runtime/cli name=kata-runtime pid=6998 source=runtime | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /root/go/src/github.com/kata-containers/runtime/cli/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/808001148/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/808001148/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/808001148/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/808001148/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreateInvalidArgs (0.01s) | |
=== RUN TestCreateInvalidConfigJSON | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/827606286/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/827606286/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreateInvalidConfigJSON (0.01s) | |
=== RUN TestCreateInvalidContainerType | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/512826736/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/512826736/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreateInvalidContainerType (0.01s) | |
=== RUN TestCreateContainerInvalid | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/575754786/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/575754786/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/575754786/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/575754786/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreateContainerInvalid (0.01s) | |
=== RUN TestCreateProcessCgroupsPathSuccessful | |
time="2019-01-23T02:49:00Z" level=debug msg="Defaulting bundle path to current directory" arch=amd64 container=1 directory=/root/go/src/github.com/kata-containers/runtime/cli name=kata-runtime pid=6998 source=runtime | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /root/go/src/github.com/kata-containers/runtime/cli/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/172800420/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/172800420/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/172800420/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/172800420/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreateProcessCgroupsPathSuccessful (0.01s) | |
=== RUN TestCreateCreateCgroupsFilesFail | |
--- SKIP: TestCreateCreateCgroupsFilesFail (0.00s) | |
create_test.go:494: Test disabled as requires non-root user | |
=== RUN TestCreateCreateCreatePidFileFail | |
--- SKIP: TestCreateCreateCreatePidFileFail (0.00s) | |
create_test.go:580: Test disabled as requires non-root user | |
=== RUN TestCreate | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/305855325/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/305855325/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/305855325/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=debug msg="container rootfs: /tmp/305855325/bundle/rootfs" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
time="2019-01-23T02:49:00Z" level=info msg="shm-size detected: 67108864" arch=amd64 container= name=kata-runtime pid=6998 source=virtcontainers subsystem=oci | |
--- PASS: TestCreate (0.01s) | |
=== RUN TestRemoveCgroupsPathEmptyPathSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg="Cgroups files not removed because cgroupsPath was empty" arch=amd64 container=foo name=kata-runtime pid=6998 source=runtime | |
--- PASS: TestRemoveCgroupsPathEmptyPathSuccessful (0.00s) | |
=== RUN TestRemoveCgroupsPathNonEmptyPathSuccessful | |
--- PASS: TestRemoveCgroupsPathNonEmptyPathSuccessful (0.00s) | |
=== RUN TestDeleteInvalidContainer | |
--- PASS: TestDeleteInvalidContainer (0.00s) | |
=== RUN TestDeleteMissingContainerTypeAnnotation | |
time="2019-01-23T02:49:00Z" level=error msg="Annotations[com.github.containers.virtcontainers.pkg.oci.container_type] not found, cannot determine the container type" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteMissingContainerTypeAnnotation (0.00s) | |
=== RUN TestDeleteInvalidConfig | |
--- PASS: TestDeleteInvalidConfig (0.00s) | |
=== RUN TestDeleteSandbox | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/395903948/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteSandbox (0.01s) | |
=== RUN TestDeleteInvalidContainerType | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/124875998/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteInvalidContainerType (0.01s) | |
=== RUN TestDeleteSandboxRunning | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/444886464/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteSandboxRunning (0.01s) | |
=== RUN TestDeleteRunningContainer | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/528722674/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteRunningContainer (0.01s) | |
=== RUN TestDeleteContainer | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/382190829/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteContainer (0.01s) | |
=== RUN TestDeleteCLIFunction | |
--- PASS: TestDeleteCLIFunction (0.00s) | |
=== RUN TestDeleteCLIFunctionSuccess | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/043473692/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestDeleteCLIFunctionSuccess (0.01s) | |
=== RUN TestRemoveCGroupsPath | |
--- SKIP: TestRemoveCGroupsPath (0.00s) | |
delete_test.go:597: Test disabled as requires non-root user | |
=== RUN TestEventsCliAction | |
--- PASS: TestEventsCliAction (0.00s) | |
=== RUN TestEventsCLIFailure | |
--- PASS: TestEventsCLIFailure (0.00s) | |
=== RUN TestEventsCLISuccessful | |
{"type":"stats","id":"1","data":null} | |
--- PASS: TestEventsCLISuccessful (0.00s) | |
=== RUN TestExecCLIFunction | |
--- PASS: TestExecCLIFunction (0.00s) | |
=== RUN TestExecuteErrors | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/172912687/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteErrors (0.01s) | |
=== RUN TestExecuteErrorReadingProcessJson | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/547685945/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteErrorReadingProcessJson (0.01s) | |
=== RUN TestExecuteErrorOpeningConsole | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/481925142/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteErrorOpeningConsole (0.01s) | |
=== RUN TestExecuteWithFlags | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/298800567/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteWithFlags (0.01s) | |
=== RUN TestExecuteWithFlagsDetached | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/163811436/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteWithFlagsDetached (0.01s) | |
=== RUN TestExecuteWithInvalidProcessJson | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/574030789/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteWithInvalidProcessJson (0.01s) | |
=== RUN TestExecuteWithValidProcessJson | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/769784978/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteWithValidProcessJson (0.01s) | |
=== RUN TestExecuteWithEmptyEnvironmentValue | |
time="2019-01-23T02:49:00Z" level=debug msg="converting /tmp/687567331/bundle/config.json" arch=amd64 container= name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=virtcontainers subsystem=oci | |
--- PASS: TestExecuteWithEmptyEnvironmentValue (0.01s) | |
=== RUN TestGenerateExecParams | |
--- PASS: TestGenerateExecParams (0.00s) | |
=== RUN TestGenerateExecParamsWithProcessJsonFile | |
--- PASS: TestGenerateExecParamsWithProcessJsonFile (0.00s) | |
=== RUN TestExit | |
--- PASS: TestExit (0.01s) | |
=== RUN TestFactoryCLIFunctionNoRuntimeConfig | |
--- PASS: TestFactoryCLIFunctionNoRuntimeConfig (0.00s) | |
=== RUN TestFactoryCLIFunctionInit | |
time="2019-01-23T02:49:00Z" level=error msg="vm factory is not enabled" arch=amd64 container=1 name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
vm factory is not enabled | |
time="2019-01-23T02:49:00Z" level=info msg="create vm factory" arch=amd64 container=1 factory="{true 0 {mock {0 0 0 0 0 0 0 [] [] /tmp/330309063/kernel /tmp/330309063/image /tmp/330309063/hypervisor pc-lite map[] false false false false false false false false false false false false false false false false } noop <nil> { false}}}" name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
time="2019-01-23T02:49:00Z" level=info msg="create new vm" config="{mock {1 240 2048 1 8192 0 0 [] [] /tmp/330309063/kernel /tmp/330309063/image /tmp/330309063/hypervisor virtio-scsi pc-lite /run/vc/vm/template/memory /run/vc/vm/template/state map[] false false false false false false false false false false false false false true false false } noop <nil> kataBuiltInProxy { false}}" source=virtcontainers vm=e479f11c-d130-41bd-ada6-1806dbcccff3 | |
time="2019-01-23T02:49:00Z" level=error msg="failed to start proxy" error="Invalid proxy parameters {id:e479f11c-d130-41bd-ada6-1806dbcccff3 path: agentURL: consoleURL: logger:0xc4200d13b0 debug:false}" params="{e479f11c-d130-41bd-ada6-1806dbcccff3 0xc4200d13b0 false}" proxy type=kataBuiltInProxy source=virtcontainers vm=e479f11c-d130-41bd-ada6-1806dbcccff3 | |
time="2019-01-23T02:49:00Z" level=info msg="clean up vm" error="Invalid proxy parameters {id:e479f11c-d130-41bd-ada6-1806dbcccff3 path: agentURL: consoleURL: logger:0xc4200d13b0 debug:false}" source=virtcontainers vm=e479f11c-d130-41bd-ada6-1806dbcccff3 | |
time="2019-01-23T02:49:00Z" level=error msg="failed to create new vm" error="Invalid proxy parameters {id:e479f11c-d130-41bd-ada6-1806dbcccff3 path: agentURL: consoleURL: logger:0xc4200d13b0 debug:false}" source=virtcontainers vm=e479f11c-d130-41bd-ada6-1806dbcccff3 | |
vm factory initialized | |
--- PASS: TestFactoryCLIFunctionInit (0.02s) | |
=== RUN TestFactoryCLIFunctionDestroy | |
vm factory destroyed | |
time="2019-01-23T02:49:00Z" level=info msg="load vm factory" arch=amd64 container=1 factory="{true 0 {mock {0 0 0 0 0 0 0 [] [] /tmp/187999354/kernel /tmp/187999354/image /tmp/187999354/hypervisor pc-lite map[] false false false false false false false false false false false false false false false false } noop <nil> { false}}}" name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
time="2019-01-23T02:49:00Z" level=error msg="load vm factory failed" arch=amd64 container=1 error="stat /run/vc/vm/template/memory: no such file or directory" name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
vm factory destroyed | |
--- PASS: TestFactoryCLIFunctionDestroy (0.00s) | |
=== RUN TestFactoryCLIFunctionStatus | |
vm factory not enabled | |
time="2019-01-23T02:49:00Z" level=info msg="load vm factory" arch=amd64 container=1 factory="{true 0 {mock {0 0 0 0 0 0 0 [] [] /tmp/529969041/kernel /tmp/529969041/image /tmp/529969041/hypervisor pc-lite map[] false false false false false false false false false false false false false false false false } noop <nil> { false}}}" name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
vm factory is off | |
--- PASS: TestFactoryCLIFunctionStatus (0.00s) | |
=== RUN TestCCCheckCLIFunction | |
--- PASS: TestCCCheckCLIFunction (0.01s) | |
=== RUN TestCheckCheckKernelModulesNoNesting | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=warning msg="kernel module parameter has unexpected value" arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=nested pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=N | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=Y | |
--- PASS: TestCheckCheckKernelModulesNoNesting (0.00s) | |
=== RUN TestCheckCheckKernelModulesNoUnrestrictedGuest | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description="Intel KVM" name=kvm_intel parameter=nested pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=Y | |
time="2019-01-23T02:49:00Z" level=error msg="kernel module parameter has unexpected value" arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=N | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=N | |
--- PASS: TestCheckCheckKernelModulesNoUnrestrictedGuest (0.00s) | |
=== RUN TestCheckHostIsVMContainerCapable | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Intel Architecture CPU" name=GenuineIntel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description=SSE4.1 name=sse4_1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="Virtualization support" name=vmx pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="64Bit CPU" name=lm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Kernel-based Virtual Machine" name=kvm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio" name=vhost pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio network" name=vhost_net pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Intel Architecture CPU" name=GenuineIntel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="64Bit CPU" name=lm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description=SSE4.1 name=sse4_1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Virtualization support" name=vmx pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Kernel-based Virtual Machine" name=kvm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio" name=vhost pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio network" name=vhost_net pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Intel Architecture CPU" name=GenuineIntel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description=SSE4.1 name=sse4_1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Virtualization support" name=vmx pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="64Bit CPU" name=lm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Kernel-based Virtual Machine" name=kvm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio" name=vhost pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio network" name=vhost_net pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Intel Architecture CPU" name=GenuineIntel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="Virtualization support" name=vmx pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="64Bit CPU" name=lm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description=SSE4.1 name=sse4_1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Kernel-based Virtual Machine" name=kvm pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio" name=vhost pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Host kernel accelerator for virtio network" name=vhost_net pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
--- PASS: TestCheckHostIsVMContainerCapable (0.01s) | |
=== RUN TestArchKernelParamHandler | |
time="2019-01-23T02:49:00Z" level=warning msg="Kernel property value correct" arch=amd64 container=1 name=kata-runtime parameter=unrestricted_guest pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
time="2019-01-23T02:49:00Z" level=warning arch=amd64 container=1 name=kata-runtime parameter=nested pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
--- PASS: TestArchKernelParamHandler (0.00s) | |
=== RUN TestKvmIsUsable | |
time="2019-01-23T02:49:00Z" level=info msg="device available" arch=amd64 check-type=full container=1 device=/tmp/745690800/kvm name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime | |
--- PASS: TestKvmIsUsable (0.00s) | |
=== RUN TestGetCPUDetails | |
--- PASS: TestGetCPUDetails (0.00s) | |
=== RUN TestSetCPUtype | |
--- PASS: TestSetCPUtype (0.00s) | |
=== RUN TestCheckGetCPUInfo | |
--- PASS: TestCheckGetCPUInfo (0.00s) | |
=== RUN TestCheckFindAnchoredString | |
--- PASS: TestCheckFindAnchoredString (0.00s) | |
=== RUN TestCheckGetCPUFlags | |
--- PASS: TestCheckGetCPUFlags (0.00s) | |
=== RUN TestCheckCheckCPUFlags | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="B flag" name=b pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="X flag" name=x pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="Y flag" name=y pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="Z flag" name=z pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=flag | |
--- PASS: TestCheckCheckCPUFlags (0.00s) | |
=== RUN TestCheckCheckCPUAttribs | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="B attribute" name=b pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="B attribute" name=b pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="B attribute" name=b pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="C attribute" name=c pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=error msg="CPU property not found" arch=amd64 container=1 description="D attribute" name=d pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="D attribute" name=d pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="F attribute" name=f pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
time="2019-01-23T02:49:00Z" level=info msg="CPU property found" arch=amd64 container=1 description="B attribute" name=b pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=attribute | |
--- PASS: TestCheckCheckCPUAttribs (0.00s) | |
=== RUN TestCheckHaveKernelModule | |
--- PASS: TestCheckHaveKernelModule (0.00s) | |
=== RUN TestCheckCheckKernelModules | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=bar pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=bar pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=hello | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param2 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=world | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param3 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=a | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param4 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=. | |
--- PASS: TestCheckCheckKernelModules (0.00s) | |
=== RUN TestCheckCheckKernelModulesUnreadableFile | |
--- SKIP: TestCheckCheckKernelModulesUnreadableFile (0.00s) | |
kata-check_test.go:547: Test disabled as requires non-root user | |
=== RUN TestCheckCheckKernelModulesInvalidFileContents | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=error msg="kernel module parameter has unexpected value" arch=amd64 container=1 description=desc expected=wibble name=foo parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=burp | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc expected=wibble name=foo parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=burp | |
--- PASS: TestCheckCheckKernelModulesInvalidFileContents (0.00s) | |
=== RUN TestCheckCLIFunctionFail | |
--- PASS: TestCheckCLIFunctionFail (0.00s) | |
=== RUN TestCheckKernelParamHandler | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=bar pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=bar pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=hello | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc name=bar parameter=param2 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=world | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=error msg="kernel property not found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=info msg="kernel property found" arch=amd64 container=1 description=desc name=foo pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module | |
time="2019-01-23T02:49:00Z" level=error msg="kernel module parameter has unexpected value" arch=amd64 container=1 description=desc expected=bar name=foo parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=moo | |
time="2019-01-23T02:49:00Z" level=info msg="Kernel property value correct" arch=amd64 container=1 description=desc expected=bar name=foo parameter=param1 pid=6998 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=moo | |
--- PASS: TestCheckKernelParamHandler (0.00s) | |
=== RUN TestEnvGetEnvInfoSetsCPUType | |
--- PASS: TestEnvGetEnvInfoSetsCPUType (0.00s) | |
=== RUN TestEnvGetMetaInfo | |
--- PASS: TestEnvGetMetaInfo (0.00s) | |
=== RUN TestEnvGetHostInfo | |
--- PASS: TestEnvGetHostInfo (0.00s) | |
=== RUN TestEnvGetHostInfoNoProcCPUInfo | |
--- PASS: TestEnvGetHostInfoNoProcCPUInfo (0.00s) | |
=== RUN TestEnvGetHostInfoNoOSRelease | |
--- PASS: TestEnvGetHostInfoNoOSRelease (0.00s) | |
=== RUN TestEnvGetHostInfoNoProcVersion | |
--- PASS: TestEnvGetHostInfoNoProcVersion (0.00s) | |
=== RUN TestEnvGetEnvInfo | |
--- PASS: TestEnvGetEnvInfo (0.01s) | |
=== RUN TestEnvGetEnvInfoNoHypervisorVersion | |
--- PASS: TestEnvGetEnvInfoNoHypervisorVersion (0.00s) | |
=== RUN TestEnvGetEnvInfoShimError | |
--- PASS: TestEnvGetEnvInfoShimError (0.00s) | |
=== RUN TestEnvGetEnvInfoAgentError | |
--- PASS: TestEnvGetEnvInfoAgentError (0.00s) | |
=== RUN TestEnvGetEnvInfoNoOSRelease | |
--- PASS: TestEnvGetEnvInfoNoOSRelease (0.00s) | |
=== RUN TestEnvGetEnvInfoNoProcCPUInfo | |
--- PASS: TestEnvGetEnvInfoNoProcCPUInfo (0.00s) | |
=== RUN TestEnvGetEnvInfoNoProcVersion | |
--- PASS: TestEnvGetEnvInfoNoProcVersion (0.00s) | |
=== RUN TestEnvGetRuntimeInfo | |
--- PASS: TestEnvGetRuntimeInfo (0.00s) | |
=== RUN TestEnvGetProxyInfo | |
--- PASS: TestEnvGetProxyInfo (0.00s) | |
=== RUN TestEnvGetProxyInfoNoVersion | |
--- PASS: TestEnvGetProxyInfoNoVersion (0.00s) | |
=== RUN TestEnvGetNetmonInfo | |
--- PASS: TestEnvGetNetmonInfo (0.00s) | |
=== RUN TestEnvGetNetmonInfoNoVersion | |
--- PASS: TestEnvGetNetmonInfoNoVersion (0.00s) | |
=== RUN TestEnvGetShimInfo | |
--- PASS: TestEnvGetShimInfo (0.00s) | |
=== RUN TestEnvGetShimInfoNoVersion | |
--- PASS: TestEnvGetShimInfoNoVersion (0.00s) | |
=== RUN TestEnvGetShimInfoInvalidType | |
--- PASS: TestEnvGetShimInfoInvalidType (0.00s) | |
=== RUN TestEnvGetAgentInfo | |
--- PASS: TestEnvGetAgentInfo (0.00s) | |
=== RUN TestEnvShowSettings | |
--- PASS: TestEnvShowSettings (0.00s) | |
=== RUN TestEnvShowSettingsInvalidFile | |
--- PASS: TestEnvShowSettingsInvalidFile (0.00s) | |
=== RUN TestEnvHandleSettings | |
--- PASS: TestEnvHandleSettings (0.01s) | |
=== RUN TestEnvHandleSettingsInvalidShimConfig | |
--- PASS: TestEnvHandleSettingsInvalidShimConfig (0.00s) | |
=== RUN TestEnvHandleSettingsInvalidParams | |
--- PASS: TestEnvHandleSettingsInvalidParams (0.00s) | |
=== RUN TestEnvHandleSettingsEmptyMap | |
--- PASS: TestEnvHandleSettingsEmptyMap (0.00s) | |
=== RUN TestEnvHandleSettingsInvalidFile | |
--- PASS: TestEnvHandleSettingsInvalidFile (0.00s) | |
=== RUN TestEnvHandleSettingsInvalidConfigFileType | |
--- PASS: TestEnvHandleSettingsInvalidConfigFileType (0.00s) | |
=== RUN TestEnvHandleSettingsInvalidRuntimeConfigType | |
--- PASS: TestEnvHandleSettingsInvalidRuntimeConfigType (0.00s) | |
=== RUN TestEnvCLIFunction | |
--- PASS: TestEnvCLIFunction (0.01s) | |
=== RUN TestEnvCLIFunctionFail | |
--- PASS: TestEnvCLIFunctionFail (0.00s) | |
=== RUN TestGetHypervisorInfo | |
--- PASS: TestGetHypervisorInfo (0.00s) | |
=== RUN TestProcessSignal | |
--- PASS: TestProcessSignal (0.00s) | |
=== RUN TestKillCLIFunctionSigkillSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGKILL source=runtime | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGKILL source=runtime | |
--- PASS: TestKillCLIFunctionSigkillSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionSigtermSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionSigtermSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionNotTerminationSignalSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGUSR1 source=runtime | |
--- PASS: TestKillCLIFunctionNotTerminationSignalSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionNoSignalSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionNoSignalSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionEnableAllSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionEnableAllSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionNoContainerIDFailure | |
--- PASS: TestKillCLIFunctionNoContainerIDFailure (0.00s) | |
=== RUN TestKillCLIFunctionContainerNotExistFailure | |
--- PASS: TestKillCLIFunctionContainerNotExistFailure (0.00s) | |
=== RUN TestKillCLIFunctionInvalidSignalFailure | |
--- PASS: TestKillCLIFunctionInvalidSignalFailure (0.00s) | |
=== RUN TestKillCLIFunctionStatePausedSuccessful | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=paused name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionStatePausedSuccessful (0.00s) | |
=== RUN TestKillCLIFunctionInvalidStateStoppedFailure | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=stopped name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionInvalidStateStoppedFailure (0.00s) | |
=== RUN TestKillCLIFunctionKillContainerFailure | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=running name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=SIGTERM source=runtime | |
--- PASS: TestKillCLIFunctionKillContainerFailure (0.00s) | |
=== RUN TestKillCLIFunctionInvalidStateStoppedAllSuccess | |
time="2019-01-23T02:49:00Z" level=info msg=kill arch=amd64 container=1 container state=stopped name=kata-runtime pid=6998 sandbox=99999999-9999-9999-99999999999999999 signal=10 source=runtime | |
--- PASS: TestKillCLIFunctionInvalidStateStoppedAllSuccess (0.00s) | |
=== RUN TestStateToIDList | |
--- PASS: TestStateToIDList (0.00s) | |
=== RUN TestStateToTabular | |
--- PASS: TestStateToTabular (0.00s) | |
=== RUN TestStateToJSON | |
--- PASS: TestStateToJSON (0.00s) | |
=== RUN TestListCLIFunctionNoContainers | |
--- PASS: TestListCLIFunctionNoContainers (0.00s) | |
=== RUN TestListGetContainersListSandboxFail | |
--- PASS: TestListGetContainersListSandboxFail (0.00s) | |
=== RUN TestListGetContainers | |
--- PASS: TestListGetContainers (0.00s) | |
=== RUN TestListGetContainersSandboxWithoutContainers | |
--- PASS: TestListGetContainersSandboxWithoutContainers (0.00s) | |
=== RUN TestListGetContainersSandboxWithContainer | |
--- PASS: TestListGetContainersSandboxWithContainer (0.00s) | |
=== RUN TestListCLIFunctionFormatFail | |
--- PASS: TestListCLIFunctionFormatFail (0.00s) | |
=== RUN TestListCLIFunctionQuiet | |
--- PASS: TestListCLIFunctionQuiet (0.00s) | |
=== RUN TestListGetDirOwner | |
--- PASS: TestListGetDirOwner (0.00s) | |
=== RUN TestMakeOCIBundle | |
--- PASS: TestMakeOCIBundle (0.01s) | |
=== RUN TestCreateOCIConfig | |
--- PASS: TestCreateOCIConfig (0.01s) | |
=== RUN TestCreateRootfs | |
--- PASS: TestCreateRootfs (0.17s) | |
=== RUN TestMainUserWantsUsage | |
--- PASS: TestMainUserWantsUsage (0.00s) | |
=== RUN TestMainBeforeSubCommands | |
--- PASS: TestMainBeforeSubCommands (0.00s) | |
=== RUN TestMainBeforeSubCommandsInvalidLogFile | |
--- PASS: TestMainBeforeSubCommandsInvalidLogFile (0.00s) | |
=== RUN TestMainBeforeSubCommandsInvalidLogFormat | |
--- PASS: TestMainBeforeSubCommandsInvalidLogFormat (0.00s) | |
=== RUN TestMainBeforeSubCommandsLoadConfigurationFail | |
Cannot find usable config file (file /tmp/kata-runtime-173608073/360536310/config does not exist) | |
Cannot find usable config file (file /tmp/kata-runtime-173608073/360536310/config does not exist) | |
--- PASS: TestMainBeforeSubCommandsLoadConfigurationFail (0.02s) | |
=== RUN TestMainBeforeSubCommandsShowCCConfigPaths | |
--- PASS: TestMainBeforeSubCommandsShowCCConfigPaths (0.01s) | |
=== RUN TestMainFatal | |
--- PASS: TestMainFatal (0.01s) | |
=== RUN TestMainMakeVersionString | |
--- PASS: TestMainMakeVersionString (0.00s) | |
=== RUN TestMainMakeVersionStringNoVersion | |
--- PASS: TestMainMakeVersionStringNoVersion (0.00s) | |
=== RUN TestMainMakeVersionStringNoCommit | |
--- PASS: TestMainMakeVersionStringNoCommit (0.00s) | |
=== RUN TestMainMakeVersionStringNoOCIVersion | |
--- PASS: TestMainMakeVersionStringNoOCIVersion (0.00s) | |
=== RUN TestMainCreateRuntimeApp | |
--- PASS: TestMainCreateRuntimeApp (0.00s) | |
=== RUN TestMainCreateRuntimeAppInvalidSubCommand | |
Invalid command "i-am-an-invalid-sub-command" | |
--- PASS: TestMainCreateRuntimeAppInvalidSubCommand (0.01s) | |
=== RUN TestMainCreateRuntime | |
moo FAILURE | |
--- PASS: TestMainCreateRuntime (0.01s) | |
=== RUN TestMainVersionPrinter | |
--- PASS: TestMainVersionPrinter (0.00s) | |
=== RUN TestMainFatalWriter | |
moo FAILURE | |
--- PASS: TestMainFatalWriter (0.00s) | |
=== RUN TestMainSetCLIGlobals | |
--- PASS: TestMainSetCLIGlobals (0.00s) | |
=== RUN TestMainResetCLIGlobals | |
--- PASS: TestMainResetCLIGlobals (0.00s) | |
=== RUN TestNetworkCliFunction | |
null | |
null | |
null | |
null | |
null | |
--- PASS: TestNetworkCliFunction (0.00s) | |
=== RUN TestGetContainerInfoContainerIDEmptyFailure | |
--- PASS: TestGetContainerInfoContainerIDEmptyFailure (0.00s) | |
=== RUN TestGetContainerInfo | |
--- PASS: TestGetContainerInfo (0.00s) | |
=== RUN TestValidCreateParamsContainerIDEmptyFailure | |
--- PASS: TestValidCreateParamsContainerIDEmptyFailure (0.00s) | |
=== RUN TestGetExistingContainerInfoContainerIDEmptyFailure | |
--- PASS: TestGetExistingContainerInfoContainerIDEmptyFailure (0.00s) | |
=== RUN TestValidCreateParamsContainerIDNotUnique | |
--- PASS: TestValidCreateParamsContainerIDNotUnique (0.00s) | |
=== RUN TestValidCreateParamsInvalidBundle | |
--- PASS: TestValidCreateParamsInvalidBundle (0.00s) | |
=== RUN TestValidCreateParamsBundleIsAFile | |
--- PASS: TestValidCreateParamsBundleIsAFile (0.00s) | |
=== RUN TestSetupConsoleExistingConsolePathSuccessful | |
--- PASS: TestSetupConsoleExistingConsolePathSuccessful (0.00s) | |
=== RUN TestSetupConsoleExistingConsolePathAndConsoleSocketPathSuccessful | |
--- PASS: TestSetupConsoleExistingConsolePathAndConsoleSocketPathSuccessful (0.00s) | |
=== RUN TestSetupConsoleEmptyPathsSuccessful | |
--- PASS: TestSetupConsoleEmptyPathsSuccessful (0.00s) | |
=== RUN TestSetupConsoleExistingConsoleSocketPath | |
--- PASS: TestSetupConsoleExistingConsoleSocketPath (0.00s) | |
=== RUN TestSetupConsoleNotExistingSocketPathFailure | |
--- PASS: TestSetupConsoleNotExistingSocketPathFailure (0.00s) | |
=== RUN TestNoNeedForOutputDetachTrueTtyTrue | |
--- PASS: TestNoNeedForOutputDetachTrueTtyTrue (0.00s) | |
=== RUN TestNoNeedForOutputDetachFalseTtyTrue | |
--- PASS: TestNoNeedForOutputDetachFalseTtyTrue (0.00s) | |
=== RUN TestNoNeedForOutputDetachFalseTtyFalse | |
--- PASS: TestNoNeedForOutputDetachFalseTtyFalse (0.00s) | |
=== RUN TestNoNeedForOutputDetachTrueTtyFalse | |
--- PASS: TestNoNeedForOutputDetachTrueTtyFalse (0.00s) | |
=== RUN TestIsCgroupMounted | |
--- PASS: TestIsCgroupMounted (0.00s) | |
=== RUN TestGetCgroupsDirPath | |
--- PASS: TestGetCgroupsDirPath (0.00s) | |
=== RUN TestPauseCLIFunctionSuccessful | |
--- PASS: TestPauseCLIFunctionSuccessful (0.00s) | |
=== RUN TestPauseCLIFunctionContainerNotExistFailure | |
--- PASS: TestPauseCLIFunctionContainerNotExistFailure (0.00s) | |
=== RUN TestPauseCLIFunctionPauseContainerFailure | |
--- PASS: TestPauseCLIFunctionPauseContainerFailure (0.00s) | |
=== RUN TestResumeCLIFunctionSuccessful | |
--- PASS: TestResumeCLIFunctionSuccessful (0.00s) | |
=== RUN TestResumeCLIFunctionContainerNotExistFailure | |
--- PASS: TestResumeCLIFunctionContainerNotExistFailure (0.00s) | |
=== RUN TestResumeCLIFunctionPauseContainerFailure | |
--- PASS: TestResumeCLIFunctionPauseContainerFailure (0.00s) | |
=== RUN TestPSCLIAction | |
--- PASS: TestPSCLIAction (0.00s) | |
=== RUN TestPSFailure | |
--- PASS: TestPSFailure (0.00s) | |
=== RUN TestPSSuccessful | |
echo,sleep,grep--- PASS: TestPSSuccessful (0.00s) | |
=== RUN TestRunCliAction | |
--- PASS: TestRunCliAction (0.00s) | |
=== RUN TestRunInvalidArgs | |
--- PASS: TestRunInvalidArgs (0.01s) | |
=== RUN TestRunContainerSuccessful | |
--- PASS: TestRunContainerSuccessful (0.01s) | |
=== RUN TestRunContainerDetachSuccessful | |
--- PASS: TestRunContainerDetachSuccessful (0.01s) | |
=== RUN TestRunContainerDeleteFail | |
--- PASS: TestRunContainerDeleteFail (0.01s) | |
=== RUN TestRunContainerWaitFail | |
--- PASS: TestRunContainerWaitFail (0.01s) | |
=== RUN TestRunContainerStartFail | |
--- PASS: TestRunContainerStartFail (0.01s) | |
=== RUN TestRunContainerStartFailExistingContainer | |
--- PASS: TestRunContainerStartFailExistingContainer (0.01s) | |
=== RUN TestSpecCliAction | |
--- PASS: TestSpecCliAction (0.00s) | |
=== RUN TestStartInvalidArgs | |
--- PASS: TestStartInvalidArgs (0.00s) | |
=== RUN TestStartSandbox | |
--- PASS: TestStartSandbox (0.00s) | |
=== RUN TestStartMissingAnnotation | |
--- PASS: TestStartMissingAnnotation (0.00s) | |
=== RUN TestStartContainerSucessFailure | |
--- PASS: TestStartContainerSucessFailure (0.00s) | |
=== RUN TestStartCLIFunction | |
--- PASS: TestStartCLIFunction (0.00s) | |
=== RUN TestStartCLIFunctionSuccess | |
--- PASS: TestStartCLIFunctionSuccess (0.00s) | |
=== RUN TestStateCliAction | |
--- PASS: TestStateCliAction (0.00s) | |
=== RUN TestStateSuccessful | |
{ | |
"ociVersion": "1.0.1-dev", | |
"id": "1", | |
"status": "", | |
"bundle": "", | |
"annotations": { | |
"com.github.containers.virtcontainers.pkg.oci.container_type": "pod_container" | |
} | |
}--- PASS: TestStateSuccessful (0.00s) | |
=== RUN TestUpdateCLIAction | |
--- PASS: TestUpdateCLIAction (0.00s) | |
=== RUN TestUpdateCLIFailure | |
--- PASS: TestUpdateCLIFailure (0.00s) | |
=== RUN TestUpdateCLISuccessful | |
--- PASS: TestUpdateCLISuccessful (0.00s) | |
=== RUN TestFileExists | |
--- PASS: TestFileExists (0.00s) | |
=== RUN TestGetKernelVersion | |
--- PASS: TestGetKernelVersion (0.00s) | |
=== RUN TestGetDistroDetails | |
--- PASS: TestGetDistroDetails (0.00s) | |
=== RUN TestUtilsRunCommand | |
--- PASS: TestUtilsRunCommand (0.00s) | |
=== RUN TestUtilsRunCommandCaptureStdout | |
--- PASS: TestUtilsRunCommandCaptureStdout (0.00s) | |
=== RUN TestUtilsRunCommandIgnoreStderr | |
--- PASS: TestUtilsRunCommandIgnoreStderr (0.00s) | |
=== RUN TestUtilsRunCommandInvalidCmds | |
--- PASS: TestUtilsRunCommandInvalidCmds (0.00s) | |
=== RUN TestVersion | |
--- PASS: TestVersion (0.00s) | |
PASS | |
coverage: 86.4% of statements | |
ok github.com/kata-containers/runtime/cli 2.090s coverage: 86.4% of statements | |
INFO: Running 'go test' as current user on package 'github.com/kata-containers/runtime/cli/containerd-shim-kata-v2' with flags '-v -race -timeout 30s -outputdir "/tmp/tmp.WACcF5qO8x"' | |
? github.com/kata-containers/runtime/cli/containerd-shim-kata-v2 [no test files] | |
INFO: Running 'go test' as current user on package 'github.com/kata-containers/runtime/containerd-shim-v2' with flags '-v -race -timeout 30s -outputdir "/tmp/tmp.WACcF5qO8x"' | |
INFO: running as actual user 0 (effective 0), actual group 0 (effective 0) | |
INFO: switching to fake virtcontainers implementation for testing | |
INFO: creating test directory | |
INFO: test directory is /tmp/shimV2-244561566 | |
INFO: ensuring docker is running | |
INFO: ensuring required docker image (busybox) is available | |
INFO: docker image busybox already exists locally | |
INFO: creating OCI bundle in /tmp/shimV2-244561566/bundle for tests to use | |
=== RUN TestNewContainer | |
--- PASS: TestNewContainer (0.00s) | |
=== RUN TestGetExec | |
--- PASS: TestGetExec (0.00s) | |
=== RUN TestCreateSandboxSuccess | |
time="2019-01-23T02:49:03Z" level=info msg="shm-size detected: 67108864" source=virtcontainers subsystem=oci | |
--- PASS: TestCreateSandboxSuccess (0.01s) | |
=== RUN TestCreateSandboxFail | |
time="2019-01-23T02:49:03Z" level=info msg="shm-size detected: 67108864" source=virtcontainers subsystem=oci | |
--- PASS: TestCreateSandboxFail (0.01s) | |
=== RUN TestCreateSandboxConfigFail | |
time="2019-01-23T02:49:03Z" level=info msg="shm-size detected: 67108864" source=virtcontainers subsystem=oci | |
--- PASS: TestCreateSandboxConfigFail (0.01s) | |
=== RUN TestCreateContainerSuccess | |
--- PASS: TestCreateContainerSuccess (0.01s) | |
=== RUN TestCreateContainerFail | |
--- PASS: TestCreateContainerFail (0.01s) | |
=== RUN TestCreateContainerConfigFail | |
--- PASS: TestCreateContainerConfigFail (0.01s) | |
=== RUN TestDeleteContainerSuccessAndFail | |
--- PASS: TestDeleteContainerSuccessAndFail (0.01s) | |
=== RUN TestExecNoSpecFail | |
--- PASS: TestExecNoSpecFail (0.00s) | |
=== RUN TestPauseContainerSuccess | |
--- PASS: TestPauseContainerSuccess (0.00s) | |
=== RUN TestPauseContainerFail | |
--- PASS: TestPauseContainerFail (0.00s) | |
=== RUN TestResumeContainerSuccess | |
--- PASS: TestResumeContainerSuccess (0.00s) | |
=== RUN TestResumeContainerFail | |
--- PASS: TestResumeContainerFail (0.00s) | |
=== RUN TestStartStartSandboxSuccess | |
--- PASS: TestStartStartSandboxSuccess (0.00s) | |
=== RUN TestStartMissingAnnotation | |
--- PASS: TestStartMissingAnnotation (0.00s) | |
=== RUN TestStartStartContainerSucess | |
--- PASS: TestStartStartContainerSucess (0.00s) | |
PASS | |
coverage: 23.2% of statements | |
ok github.com/kata-containers/runtime/containerd-shim-v2 1.431s coverage: 23.2% of statements | |
INFO: Running 'go test' as current user on package 'github.com/kata-containers/runtime/netmon' with flags '-v -race -timeout 30s -outputdir "/tmp/tmp.WACcF5qO8x"' | |
=== RUN TestNewNetmon | |
--- PASS: TestNewNetmon (0.00s) | |
=== RUN TestNewNetmonErrorWrongFamilyType | |
--- PASS: TestNewNetmonErrorWrongFamilyType (0.00s) | |
=== RUN TestCleanup | |
--- PASS: TestCleanup (0.00s) | |
=== RUN TestLogger | |
--- PASS: TestLogger (0.00s) | |
=== RUN TestConvertInterface | |
--- PASS: TestConvertInterface (0.00s) | |
=== RUN TestConvertRoutes | |
--- PASS: TestConvertRoutes (0.00s) | |
=== RUN TestScanNetwork | |
--- PASS: TestScanNetwork (0.00s) | |
=== RUN TestStoreDataToSend | |
--- PASS: TestStoreDataToSend (0.00s) | |
=== RUN TestExecKataCmdSuccess | |
--- PASS: TestExecKataCmdSuccess (0.00s) | |
=== RUN TestExecKataCmdFailure | |
--- PASS: TestExecKataCmdFailure (0.00s) | |
=== RUN TestActionsCLI | |
--- PASS: TestActionsCLI (0.00s) | |
=== RUN TestHandleRTMNewAddr | |
--- PASS: TestHandleRTMNewAddr (0.00s) | |
=== RUN TestHandleRTMDelAddr | |
--- PASS: TestHandleRTMDelAddr (0.00s) | |
=== RUN TestHandleRTMNewLink | |
--- PASS: TestHandleRTMNewLink (0.00s) | |
=== RUN TestHandleRTMDelLink | |
--- PASS: TestHandleRTMDelLink (0.00s) | |
=== RUN TestHandleRTMNewRouteIfaceNotFound | |
--- PASS: TestHandleRTMNewRouteIfaceNotFound (0.00s) | |
=== RUN TestHandleLinkEvent | |
time="2019-01-23T02:49:04Z" level=warning msg="Unknown msg type 0" name=kata-netmon pid=7846 source=netmon | |
time="2019-01-23T02:49:04Z" level=error msg=NLMSG_ERROR name=kata-netmon pid=7846 source=netmon | |
--- PASS: TestHandleLinkEvent (0.00s) | |
=== RUN TestHandleRouteEvent | |
time="2019-01-23T02:49:04Z" level=warning msg="Unknown msg type 0" name=kata-netmon pid=7846 source=netmon | |
--- PASS: TestHandleRouteEvent (0.00s) | |
PASS | |
coverage: 53.3% of statements | |
ok github.com/kata-containers/runtime/netmon 1.017s coverage: 53.3% of statements | |
INFO: Running 'go test' as current user on package 'github.com/kata-containers/runtime/pkg/katautils' with flags '-v -race -timeout 30s -outputdir "/tmp/tmp.WACcF5qO8x"' | |
INFO: creating test directory | |
INFO: test directory is /tmp/kata-437683586 | |
INFO: creating OCI bundle in /tmp/kata-437683586/bundle for tests to use | |
=== RUN TestConfigLoadConfiguration | |
--- PASS: TestConfigLoadConfiguration (0.01s) | |
=== RUN TestConfigLoadConfigurationFailBrokenSymLink | |
--- PASS: TestConfigLoadConfigurationFailBrokenSymLink (0.00s) | |
=== RUN TestConfigLoadConfigurationFailSymLinkLoop | |
--- PASS: TestConfigLoadConfigurationFailSymLinkLoop (0.01s) | |
=== RUN TestConfigLoadConfigurationFailMissingHypervisor | |
--- PASS: TestConfigLoadConfigurationFailMissingHypervisor (0.00s) | |
=== RUN TestConfigLoadConfigurationFailMissingImage | |
--- PASS: TestConfigLoadConfigurationFailMissingImage (0.00s) | |
=== RUN TestConfigLoadConfigurationFailMissingKernel | |
--- PASS: TestConfigLoadConfigurationFailMissingKernel (0.00s) | |
=== RUN TestConfigLoadConfigurationFailMissingShim | |
--- PASS: TestConfigLoadConfigurationFailMissingShim (0.00s) | |
=== RUN TestConfigLoadConfigurationFailUnreadableConfig | |
--- SKIP: TestConfigLoadConfigurationFailUnreadableConfig (0.00s) | |
config_test.go:425: Test disabled as requires non-root user | |
=== RUN TestConfigLoadConfigurationFailTOMLConfigFileInvalidContents | |
--- SKIP: TestConfigLoadConfigurationFailTOMLConfigFileInvalidContents (0.00s) | |
config_test.go:448: Test disabled as requires non-root user | |
=== RUN TestConfigLoadConfigurationFailTOMLConfigFileDuplicatedData | |
--- SKIP: TestConfigLoadConfigurationFailTOMLConfigFileDuplicatedData (0.00s) | |
config_test.go:474: Test disabled as requires non-root user | |
=== RUN TestMinimalRuntimeConfig | |
--- PASS: TestMinimalRuntimeConfig (0.00s) | |
=== RUN TestMinimalRuntimeConfigWithVsock | |
--- PASS: TestMinimalRuntimeConfigWithVsock (0.00s) | |
=== RUN TestNewQemuHypervisorConfig | |
--- PASS: TestNewQemuHypervisorConfig (0.00s) | |
=== RUN TestNewQemuHypervisorConfigImageAndInitrd | |
--- PASS: TestNewQemuHypervisorConfigImageAndInitrd (0.00s) | |
=== RUN TestNewShimConfig | |
--- PASS: TestNewShimConfig (0.00s) | |
=== RUN TestHypervisorDefaults | |
--- PASS: TestHypervisorDefaults (0.00s) | |
=== RUN TestHypervisorDefaultsHypervisor | |
--- PASS: TestHypervisorDefaultsHypervisor (0.00s) | |
=== RUN TestHypervisorDefaultsKernel | |
--- PASS: TestHypervisorDefaultsKernel (0.00s) | |
=== RUN TestHypervisorDefaultsInitrd | |
--- PASS: TestHypervisorDefaultsInitrd (0.00s) | |
=== RUN TestHypervisorDefaultsImage | |
--- PASS: TestHypervisorDefaultsImage (0.00s) | |
=== RUN TestHypervisorDefaultsGuestHookPath | |
--- PASS: TestHypervisorDefaultsGuestHookPath (0.00s) | |
=== RUN TestProxyDefaults | |
--- PASS: TestProxyDefaults (0.00s) | |
=== RUN TestShimDefaults | |
--- PASS: TestShimDefaults (0.00s) | |
=== RUN TestGetDefaultConfigFilePaths | |
--- PASS: TestGetDefaultConfigFilePaths (0.00s) | |
=== RUN TestGetDefaultConfigFile | |
--- PASS: TestGetDefaultConfigFile (0.00s) | |
=== RUN TestDefaultBridges | |
--- PASS: TestDefaultBridges (0.00s) | |
=== RUN TestDefaultFirmware | |
--- PASS: TestDefaultFirmware (0.00s) | |
=== RUN TestDefaultMachineAccelerators | |
--- PASS: TestDefaultMachineAccelerators (0.00s) | |
=== RUN TestUpdateRuntimeConfiguration | |
--- PASS: TestUpdateRuntimeConfiguration (0.00s) | |
=== RUN TestUpdateRuntimeConfigurationVMConfig | |
--- PASS: TestUpdateRuntimeConfigurationVMConfig (0.00s) | |
=== RUN TestUpdateRuntimeConfigurationFactoryConfig | |
--- PASS: TestUpdateRuntimeConfigurationFactoryConfig (0.00s) | |
=== RUN TestUpdateRuntimeConfigurationInvalidKernelParams | |
--- PASS: TestUpdateRuntimeConfigurationInvalidKernelParams (0.00s) | |
=== RUN TestCheckHypervisorConfig | |
--- PASS: TestCheckHypervisorConfig (0.03s) | |
=== RUN TestCheckNetNsConfig | |
--- PASS: TestCheckNetNsConfig (0.00s) | |
=== RUN TestCheckFactoryConfig | |
--- PASS: TestCheckFactoryConfig (0.00s) | |
=== RUN TestCheckNetNsConfigShimTrace | |
--- PASS: TestCheckNetNsConfigShimTrace (0.00s) | |
=== RUN TestSetEphemeralStorageType | |
--- PASS: TestSetEphemeralStorageType (0.00s) | |
=== RUN TestSetKernelParams | |
--- PASS: TestSetKernelParams (0.00s) | |
=== RUN TestSetKernelParamsUserOptionTakesPriority | |
--- PASS: TestSetKernelParamsUserOptionTakesPriority (0.00s) | |
=== RUN TestCreateSandboxConfigFail | |
time="2019-01-23T02:49:07Z" level=info msg="shm-size detected: 67108864" source=virtcontainers subsystem=oci | |
--- PASS: TestCreateSandboxConfigFail (0.01s) | |
=== RUN TestCreateSandboxFail | |
time="2019-01-23T02:49:07Z" level=info msg="shm-size detected: 67108864" source=virtcontainers subsystem=oci | |
--- PASS: TestCreateSandboxFail (0.01s) | |
=== RUN TestCreateContainerContainerConfigFail | |
--- PASS: TestCreateContainerContainerConfigFail (0.01s) | |
=== RUN TestCreateContainerFail | |
--- PASS: TestCreateContainerFail (0.01s) | |
=== RUN TestCreateContainer | |
--- PASS: TestCreateContainer (0.01s) | |
=== RUN TestRunHook | |
--- FAIL: TestRunHook (0.00s) | |
Error Trace: hook_test.go:69 | |
Error: Received unexpected error: | |
fork/exec /usr/bin/virtcontainers/bin/test/hook: no such file or directory | |
Error Trace: hook_test.go:74 | |
Error: Received unexpected error: | |
fork/exec /usr/bin/virtcontainers/bin/test/hook: no such file or directory | |
=== RUN TestPreStartHooks | |
--- FAIL: TestPreStartHooks (0.00s) | |
Error Trace: hook_test.go:121 | |
Error: Received unexpected error: | |
fork/exec /usr/bin/virtcontainers/bin/test/hook: no such file or directory | |
=== RUN TestPostStartHooks | |
--- FAIL: TestPostStartHooks (0.00s) | |
Error Trace: hook_test.go:169 | |
Error: Received unexpected error: | |
fork/exec /usr/bin/virtcontainers/bin/test/hook: no such file or directory | |
=== RUN TestPostStopHooks | |
--- FAIL: TestPostStopHooks (0.00s) | |
Error Trace: hook_test.go:217 | |
Error: Received unexpected error: | |
fork/exec /usr/bin/virtcontainers/bin/test/hook: no such file or directory | |
=== RUN TestHandleSystemLog | |
--- PASS: TestHandleSystemLog (0.00s) | |
=== RUN TestNewSystemLogHook | |
--- PASS: TestNewSystemLogHook (0.00s) | |
=== RUN TestGetNetNsFromBindMount | |
--- PASS: TestGetNetNsFromBindMount (0.00s) | |
=== RUN TestHostNetworkingRequested | |
--- PASS: TestHostNetworkingRequested (0.03s) | |
=== RUN TestSetupNetworkNamespace | |
--- PASS: TestSetupNetworkNamespace (0.19s) | |
=== RUN TestFetchContainerIDMappingContainerIDEmptyFailure | |
--- PASS: TestFetchContainerIDMappingContainerIDEmptyFailure (0.00s) | |
=== RUN TestFetchContainerIDMappingEmptyMappingSuccess | |
--- PASS: TestFetchContainerIDMappingEmptyMappingSuccess (0.00s) | |
=== RUN TestFetchContainerIDMappingTooManyFilesFailure | |
--- PASS: TestFetchContainerIDMappingTooManyFilesFailure (0.00s) | |
=== RUN TestFetchContainerIDMappingSuccess | |
--- PASS: TestFetchContainerIDMappingSuccess (0.00s) | |
=== RUN TestAddContainerIDMappingContainerIDEmptyFailure | |
--- PASS: TestAddContainerIDMappingContainerIDEmptyFailure (0.00s) | |
=== RUN TestAddContainerIDMappingSandboxIDEmptyFailure | |
--- PASS: TestAddContainerIDMappingSandboxIDEmptyFailure (0.00s) | |
=== RUN TestAddContainerIDMappingSuccess | |
--- PASS: TestAddContainerIDMappingSuccess (0.00s) | |
=== RUN TestDelContainerIDMappingContainerIDEmptyFailure | |
--- PASS: TestDelContainerIDMappingContainerIDEmptyFailure (0.00s) | |
=== RUN TestDelContainerIDMappingSuccess | |
--- PASS: TestDelContainerIDMappingSuccess (0.00s) | |
=== RUN TestUtilsResolvePathEmptyPath | |
--- PASS: TestUtilsResolvePathEmptyPath (0.00s) | |
=== RUN TestUtilsResolvePathValidPath | |
--- PASS: TestUtilsResolvePathValidPath (0.00s) | |
=== RUN TestUtilsResolvePathENOENT | |
--- PASS: TestUtilsResolvePathENOENT (0.00s) | |
=== RUN TestFileSize | |
--- PASS: TestFileSize (0.00s) | |
=== RUN TestWriteFileErrWriteFail | |
--- PASS: TestWriteFileErrWriteFail (0.00s) | |
=== RUN TestWriteFileErrNoPath | |
--- PASS: TestWriteFileErrNoPath (0.00s) | |
=== RUN TestGetFileContents | |
--- PASS: TestGetFileContents (0.00s) | |
=== RUN TestIsEphemeralStorage | |
--- PASS: TestIsEphemeralStorage (0.00s) | |
FAIL | |
coverage: 77.4% of statements | |
FAIL github.com/kata-containers/runtime/pkg/katautils 0.726s | |
Makefile:526: recipe for target 'go-test' failed | |
make: *** [go-test] Error 1 | |
root@kata:~/go/src/github.com/kata-containers/runtime# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment