Conversation
Document manual E2E smoke for the FLPATH-3227 network provider epic, with layer ownership separation and utilities deploy wiring on host port 8090. Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
PR Summary by QodoAdd Kubernetes network provider deployment and QE smoke plan
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
Add K8S_NETWORK_SERVICE_PROVIDER_VERSION to deploy versioning, document the provider in README/CLAUDE/deploy prompt, expand E2E-07 with routing policy flow, and use CLUSTER_CLI instead of hard-coded oc in the test plan. Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Qodo review — addressed in 88244051. High —
|
| "spec": { | ||
| "service_type": "network", | ||
| "metadata": { "name": "e2e-clusterip-smoke" }, | ||
| "ports": [{ "name": "http", "protocol": "TCP", "port": 80, "target_port": 8080 }] |
There was a problem hiding this comment.
curious: we don't support HTTPS yet? at this point I'd expect all endpoints to have TLS supported. Is it a known gap or is it just a missed configuration setting?
| | 1 | POST | HTTP 201 | | ||
| | 2 | Poll `GET .../networks/{id}` until `status: READY` or timeout (e.g. 60s) | `status: READY` (ClusterIP should be immediate; polling avoids flake) | | ||
| | 3 | `$CLUSTER_CLI get svc e2e-clusterip-smoke -n <ns>` | `TYPE=ClusterIP`, DCM labels present | | ||
| | 4 | GET response | `kubernetes.type: ClusterIP` | |
There was a problem hiding this comment.
why not validate protocol and port as well?
|
|
||
| #### E2E-04: Create and get ClusterIP `@lab-default` | ||
|
|
||
| Minimal POST to `http://localhost:8090/api/v1alpha1/networks`: |
There was a problem hiding this comment.
you don't check that the port is available first to ensure no env pollution?
|
|
||
| ## FLPATH-4865 exit criteria | ||
|
|
||
| **Manual execution** until Ginkgo automation exists (see Future automation). |
There was a problem hiding this comment.
what's holding us back from investing in this automation today? It feels like a waste to define a test plan that explicitly requires manual execution.
|
Re: port availability (E2E-01) — @jordigilh We don't have automated port-free checks in utilities E2E or Closest precedent is the auth test plan prerequisite list (ports must be free before deploy); on Jenkins CI we use the 9080 remap workaround (FLPATH-4421) instead of a pre-check. I'll add an explicit prerequisite to E2E-01: ports 8080 and 8090 must be free before deploy (or document the 9080 override + |
What's holding you back from implementing the CI lane since you already have the tests here? It feels like a waste not to automate this when you have already the bulk of the work done. |
Document required free host ports (8080/8090), Jenkins 9080 CI remap, and a pre-deploy port check step to avoid false passes from env pollution. Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Re: HTTPS — @jordigilh HTTP is intentional for this smoke path. Local compose ( TLS for the control-plane API is tracked in the auth epic. Cert management for network services is a v1 non-goal in the enhancement. Added a one-liner in the port map so that's explicit in the test plan. |
|
Re: protocol/port validation — @jordigilh Fair point. Step 4 only checked Full port validation matrix stays in the SP repo; this is just smoke fidelity. |
1 similar comment
|
Re: protocol/port validation — @jordigilh Fair point. Step 4 only checked Full port validation matrix stays in the SP repo; this is just smoke fidelity. |
Document that compose smoke uses HTTP by design, and verify spec.ports round-trip on GET in E2E-04 per PR review feedback. Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Re: automation — @jordigilh Manual plan first — same approach as container (checklist now, Ginkgo spec later). This PR also adds the first utilities deploy path for the network SP. CRUD is implemented in k8s-network-service-provider#2 but not merged to E2E-01–03 could be automated in a follow-up; full suite after #2 merges. |
|
@jordigilh — the test plan documents the cases; there’s no Ginkgo implementation yet ( Same blockers as above: SP PR #2 not on |
So what are you manually testing then if main is failing outright?
Is there any jira issue to capture the e2e work that you are not implementing here? I fail to see the value of manual testing as a deliverable, to be honest. |
|
@jordigilh — fair pushback, clarifying: What manual testing covers today (no CRUD needed): E2E-01–03 — deploy + compose wiring, agent registration ( Automation: agreed it should land in utilities CI — planned as Why manual for FLPATH-4865: epic QE smoke sign-off while SP CRUD is still landing — same pattern we used for container before |
|
Is there a reason we are only testing ClusterIP and Loadbalancer resources?
This would cover all possible cases |
Target network_sp_api_test.go and run-e2e.sh labels instead of manual execution; document Phase A/B rollout gated on SP CRUD landing on main. Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
@jordigilh — agreed, automation only. Updated the test plan on the branch to reflect that — no manual execution as the deliverable. |
Extend the network SP test plan to cover all v1 service-type inference paths per review feedback (E2E-09 through E2E-11). Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
@gpb88 — fair point. Extended the plan with E2E-09 (NodePort), E2E-10 (LB + node_ports), and E2E-11 ( |
Document manual E2E smoke for the FLPATH-3227 network provider epic, with layer ownership separation and utilities deploy wiring on host port 8090.