Skip to content

feat: Add preflight checks framework #4004

feat: Add preflight checks framework

feat: Add preflight checks framework #4004

GitHub Actions / e2e test report failed Jun 10, 2025 in 0s

40 tests run, 30 passed, 8 skipped, 2 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]

Unexpected error:
    <*fmt.wrapError | 0xc00365c480>: 
    failed to get subnet uuid for subnet vlan174: failed to find subnet uuid for subnet vlan174: Get "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to get subnet uuid for subnet vlan174: failed to find subnet uuid for subnet vlan174: Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*fmt.wrapError | 0xc00365c460>{
            msg: "failed to find subnet uuid for subnet vlan174: Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            err: <*url.Error | 0xc0018333e0>{
                Op: "Get",
                URL: "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27",
                Err: <*http.timeoutError | 0xc000c0b820>{
                    err: "GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                },
            },
        },
    }
occurred
Raw output
[FAILED] Unexpected error:
    <*fmt.wrapError | 0xc00365c480>: 
    failed to get subnet uuid for subnet vlan174: failed to find subnet uuid for subnet vlan174: Get "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to get subnet uuid for subnet vlan174: failed to find subnet uuid for subnet vlan174: Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*fmt.wrapError | 0xc00365c460>{
            msg: "failed to find subnet uuid for subnet vlan174: Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            err: <*url.Error | 0xc0018333e0>{
                Op: "Get",
                URL: "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27",
                Err: <*http.timeoutError | 0xc000c0b820>{
                    err: "GET https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets?%24filter=name+eq+%27vlan174%27++and+clusterReference+eq+%2700061f80-9b01-d6cb-4dec-7cc25586ee43%27\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                },
            },
        },
    }
occurred
In [BeforeEach] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/quick_start_test.go:106 @ 06/10/25 18:55:05.193

There were additional failures detected after the initial failure. These are visible in the timeline

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 ClusterResourceSet topology-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Unexpected error:
    <*fmt.wrapError | 0xc000c04700>: 
    failed to wait for task completion: failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to wait for task completion: failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*fmt.wrapError | 0xc000c046e0>{
            msg: "failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            err: <*fmt.wrapError | 0xc000c046c0>{
                msg: "failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                err: <*url.Error | 0xc0005f54d0>{
                    Op: "Get",
                    URL: "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179",
                    Err: <*http.timeoutError | 0xc000a6cc30>{
                        err: "GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                    },
                },
            },
        },
    }
occurred
Raw output
[FAILED] Unexpected error:
    <*fmt.wrapError | 0xc000c04700>: 
    failed to wait for task completion: failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to wait for task completion: failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*fmt.wrapError | 0xc000c046e0>{
            msg: "failed to wait for task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 to complete: failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            err: <*fmt.wrapError | 0xc000c046c0>{
                msg: "failed to get task ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179: Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                err: <*url.Error | 0xc0005f54d0>{
                    Op: "Get",
                    URL: "https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179",
                    Err: <*http.timeoutError | 0xc000a6cc30>{
                        err: "GET https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179 giving up after 1 attempt(s): Get \"https://pc.ci.nkp.sh:9440/api/prism/v4.0.b1/config/tasks/ZXJnb24=:aeb2669c-0b7d-4cd0-a49d-0f94ff318179\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
                    },
                },
            },
        },
    }
occurred
In [BeforeEach] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/quick_start_test.go:106 @ 06/10/25 18:55:05.564

There were additional failures detected after the initial failure. These are visible in the timeline