Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

cli go test failures #1508

@bergwolf

Description

@bergwolf

We don't really require nested nor unrestricted_guest to run. And there is no point validating host cpu properties in UT.

INFO[0002] kernel property found                         arch=amd64 container=1 description="Intel KVM" name=kvm_intel pid=15098 sandbox=99999999-9999-
9999-99999999999999999 source=runtime type=module
WARN[0002] kernel module parameter has unexpected value  arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=nested pid=
15098 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=N
INFO[0002] Kernel property value correct                 arch=amd64 container=1 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricte
d_guest pid=15098 sandbox=99999999-9999-9999-99999999999999999 source=runtime type=module value=Y
--- FAIL: TestCheckCheckKernelModulesNoNesting (0.00s)
        Error Trace:    kata-check_amd64_test.go:220
        Error:          Should NOT be empty, but was []
ERRO[0001] kernel module parameter has unexpected value  arch=amd64 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=16345 source=runtime type=module value=N
INFO[0001] Kernel property value correct                 arch=amd64 description="Intel KVM" expected=Y name=kvm_intel parameter=unrestricted_guest pid=16345 source=runtime type=module value=N
--- FAIL: TestCheckCheckKernelModulesNoUnrestrictedGuest (0.00s)
        Error Trace:    kata-check_amd64_test.go:314
        Error:          Should NOT be empty, but was []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions