Skip to content

ci: Add CIS benchmark check #3889

ci: Add CIS benchmark check

ci: Add CIS benchmark check #3889

GitHub Actions / e2e test report failed May 14, 2025 in 0s

16 tests run, 6 passed, 9 skipped, 1 failed.

Annotations

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Docker Cilium HelmAddon topology-cilium-helm-addon Should create a workload cluster [provider:Docker, Serial, cni:Cilium, addonStrategy:HelmAddon]

CIS benchmark failed
Expected success, but got an error:
    <*exec.ExitError | 0xc0028e20c0>: 
    exit status 1
    {
        ProcessState: {
            pid: 44026,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 364939},
                Stime: {Sec: 0, Usec: 193078},
                Maxrss: 140404,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 11427,
                Majflt: 1064,
                Nswap: 0,
                Inblock: 255744,
                Oublock: 6128,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 4467,
                Nivcsw: 204,
            },
        },
        Stderr: nil,
    }
Raw output
[FAILED] CIS benchmark failed
Expected success, but got an error:
    <*exec.ExitError | 0xc0028e20c0>: 
    exit status 1
    {
        ProcessState: {
            pid: 44026,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 364939},
                Stime: {Sec: 0, Usec: 193078},
                Maxrss: 140404,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 11427,
                Majflt: 1064,
                Nswap: 0,
                Inblock: 255744,
                Oublock: 6128,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 4467,
                Nivcsw: 204,
            },
        },
        Stderr: nil,
    }
In [It] at: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/quick_start_test.go:330 @ 05/14/25 14:04:45.417