Repository navigation
Description
Parent: #970
Deliverable
A checked-in integration suite and completed evidence matrix proving #970 against the real service and gVPC datapath on the containerlab gvpc lab, plus per-transport capacity results for MASQUE measured on real edge nodes and recorded in the MASQUE capacity guide and the contract's benchmark section.
Dependencies
- Done: Prove MASQUE packet attachments on the Galactic Edge foundation #974, Enforce resource limits and qualify connector capacity #984, Let Edge providers attach to a VPC with no workload on their node #1288, and the foundation evidence from Implement authorized prefix routing #998, Deliver independent-provider conformance #1000 and Deliver foundation diagnostics #1001. Reuse that evidence at pinned revisions; closed state alone is not evidence.
- Open: CONNECT-IP: an HTTP/3 path that shrinks below 1280 bytes black-holes the tunnel #1247 (HTTP/3 path below 1280 bytes). Its rows need the fixing revision before final evidence is collected. Harness and fixture work does not wait for it. Capacity results taken before CONNECT-IP: an HTTP/3 path that shrinks below 1280 bytes black-holes the tunnel #1247 is fixed do not cover HTTP/3 paths that shrink below 1280 bytes, which the capacity matrix does not exercise.
Galactic Edge integration (#992)
Implement this milestone as a consumer of the Galactic Edge provider contract. #992 owns provider authorization, host attachment lifecycle, shared-state fencing and maintenance, independently enforced forwarding expiry, prefix conflict arbitration/publication, and gVPC traffic policy. MASQUE owns client authentication, connector /96 assignment and retention, session packet checks, transport behavior and its provider adapter. Use the foundation's versioned contract and existing provider helpers; do not introduce a second host-networking controller, lease store or BGP publisher. Any required foundation change must be tracked and qualified under #992 before this milestone claims integrated acceptance.
Work items
- Package scoped test configuration, fixtures and commands to run the implemented service on the containerlab gvpc lab with independent clients and real local/remote workloads.
- Combine transport lifecycle, /96 subdivision routing, overlapping-tenant isolation, policy, credential expiry/revocation, ownership replacement, API outages and MTU cases.
- Exercise HTTP/2 with UDP/443 blocked and the agreed reconnect/continuity behavior. Capture actual protocol and route observations.
- Integrate automatable tests into the appropriate repository checks; execute the privileged checks on the containerlab lab.
- Collect versioned results and link each epic acceptance criterion to its test and evidence. Production deployment, public APIs and client product changes are excluded.
- Run the capacity benchmark below on real edge nodes, and update the contract and capacity guide with the results.
Capacity benchmark
This covers the capacity and throughput measurements in #970 criterion 6, moved here from #984 (which closed on the loopback harness, the enforced limits and the 6.25 s slow-client bound) and #983 (the capacity harness criterion). It does not run on the containerlab lab: the full matrix takes most of a day on one shared host, and the throughput, latency and CPU it reports describe that host rather than an edge node.
Setup:
- The MASQUE service from
config/masque(provider and grant authority), with the provider on one edge node and the load client on another host that reaches it over the real edge path. - Real gVPC workloads behind the TUN device: one on the provider's node and one on a remote node.
- Two tenants whose connectors share inner address values.
- Record the commit, image digests, library and client versions, kernel, CPU model and link MTUs. Results bind to that set.
Matrix, per transport (HTTP/3 and HTTP/2):
- 1, 8 and 32 connectors per pod, and 128 per cell across the cell's provider pods.
- 1280-byte inner IPv6 packets for throughput and a separate 64-byte packet-rate run.
- 1% loss and 50 ms added RTT on the client path.
- 10 reconnects/s, stalled readers, and offered load at twice every admission and session limit.
- An untunneled baseline over the same path.
Warm up 2 minutes and measure 10 minutes, three runs each.
The contract's benchmark section still names the containerlab lab; the PR that records the results updates it.
Acceptance criteria
- Every row of the acceptance matrix and every MASQUE Connector for gVPC #970 criterion has an executed passing result with reproducible commands, pinned versions and measured bounds where applicable.
- Negative cases prove that denied traffic does not arrive at the workload or another connector; success is verified by packet exchange, not readiness alone.
- Privileged checks are not silently skipped or replaced by mocks.
- The fixture cleans up its own test resources, and documentation lets another engineer reproduce the feature verification without a production rollout.
Capacity acceptance
- The benchmark commands are documented so another engineer can rerun them.
- The run gates on admission limits, overload rejection, recovery within 30 s, expiry under load, tenant isolation and provider RSS of at most 1 GiB. Under admission floods, unrelated sessions keep at least 80% of their baseline goodput.
- Throughput, p50/p99 RTT and added RTT over the baseline, loss and CPU are reported per transport and checked against the contract's reference values.
- The capacity harness reads the provider's exposed connector and resource measurements, and the report gives queue peaks, attachment, EdgeRoute and map occupancy, and the authority, EdgeService and Lease write rates.
- Any target change is reviewed in the same PR. Skipped or failed scenarios are listed as such, not omitted.
Additional integration acceptance
- Pin the foundation core/schema/manifests and MASQUE provider artifacts independently. Demonstrate MASQUE against the documented contract with no protocol-specific core changes, manual host programming or provider host privileges.
- Map Define the internal provider contract #993's complete failure matrix to reused executed Deliver independent-provider conformance #1000 evidence and MASQUE-specific tests. Keep the independent provider's evidence distinct; a MASQUE test cannot replace foundation conformance.
- Require Implement authorized prefix routing #998 real-BGP/local/remote withdrawal evidence and Deliver foundation diagnostics #1001 exercised diagnostics before epic completion. Harness work can run in parallel; final evidence collection is not a circular implementation dependency.
- Include forged pod/service references, unsupported capabilities, same-instance and cross-node transport replacement, credential revocation while unrelated sessions renew, agent/provider stalls, node container restart, GC during preparation, grant changes and same-node NAT-egress delivery.
- Capture denied-packet absence, old/new-owner packet intervals, clock assumptions and local cutoff/withdrawal/remote convergence separately; fail on skipped required checks or cleanup errors.
- Link fixes or evidence-backed dispositions for every CONNECT-IP server lacks overload limits and tenant isolation checks #991 finding and each applicable Private service routes can fail silently after a roll or on IPv4 #986 finding. Acceptance-matrix rows A01–A16 are owned and closed by Edge pod attachments: unchecked caller inputs and weak isolation tests #989. This issue supplies the harness and recorded run for A09–A10 and links the other rows. Record artifact revisions containing galactic-edge cannot create the TUN device for PacketAccess attachments #1064/Edge admission accepts a contract version core does not implement #1066/Workloads cannot reach a Galactic Edge attachment on their own node #1067 fixes and rerun affected acceptance rather than relying on their closed status.
Scope follows #970: CONNECT-IP with HTTP/2 fallback; no public API development, plugin/portal integration, product-client development or production rollout. Changes to the limits themselves are out of scope unless the capacity run shows a target is wrong.
Functional acceptance runs on the containerlab gvpc lab; the capacity benchmark runs on real edge nodes. Hardware and target-platform qualification are out of scope (#1002 closed as not planned). See #1224.
The PR that adds the evidence closes this issue with Fixes datum-cloud/galactic#985; acceptance needs no post-merge deployment, release or production step.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
[-]MASQUE: add reproducible end-to-end feature acceptance tests[/-][+]Add reproducible end-to-end feature acceptance tests[/+]privateip commentedon Oct 27, 2026
This issue now also owns running #974's packet-access checks on the target platform, per that issue's owner.
#974's lab work runs on the containerlab lab through
task verify:masque-conformance. It covers rows M07 and M16 and #989's A05, A06, A08, A14 and A16, and ends with asserted cleanup. #974's last acceptance criterion needs the same checks executed on the target platform with pinned versions and recorded results. That needs a harness for a cluster of real nodes, which does not exist yet. #1002 and #1118 are closed.