Skip to content

ci: Add CIS benchmark check #1308

ci: Add CIS benchmark check

ci: Add CIS benchmark check #1308

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

40 tests run, 30 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 Nutanix Cilium HelmAddon topology-cilium-helm-addon Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:HelmAddon]

CIS benchmark failed
Expected success, but got an error:
    <*exec.ExitError | 0xc000ad30c0>: 
    exit status 1
    {
        ProcessState: {
            pid: 63871,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 132184},
                Stime: {Sec: 0, Usec: 27434},
                Maxrss: 129732,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 8740,
                Majflt: 0,
                Nswap: 0,
                Inblock: 0,
                Oublock: 0,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 597,
                Nivcsw: 25,
            },
        },
        Stderr: nil,
    }
Raw output
[FAILED] CIS benchmark failed
Expected success, but got an error:
    <*exec.ExitError | 0xc000ad30c0>: 
    exit status 1
    {
        ProcessState: {
            pid: 63871,
            status: 256,
            rusage: {
                Utime: {Sec: 0, Usec: 132184},
                Stime: {Sec: 0, Usec: 27434},
                Maxrss: 129732,
                Ixrss: 0,
                Idrss: 0,
                Isrss: 0,
                Minflt: 8740,
                Majflt: 0,
                Nswap: 0,
                Inblock: 0,
                Oublock: 0,
                Msgsnd: 0,
                Msgrcv: 0,
                Nsignals: 0,
                Nvcsw: 597,
                Nivcsw: 25,
            },
        },
        Stderr: nil,
    }
In [It] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/quick_start_test.go:329 @ 05/14/25 13:25:43.576