Skip to content

Add reproducible end-to-end feature acceptance tests #985

Open

Description

@privateip

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

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

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.

Activity

  1. changed the title [-]MASQUE: add reproducible end-to-end feature acceptance tests[/-] [+]Add reproducible end-to-end feature acceptance tests[/+] on Oct 22, 2026
  2. added theissue type on Oct 22, 2026
  3. privateip commented on Oct 27, 2026

    @privateip
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions