-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Milestone
Description
RFC Reference: rfc16-geolocation-verification.md — Phase 1, item 4 (Deployment)
Tracking issue: #2893
Goal
Validate the full DZD → Probe → Target chain end-to-end in Dockernet.
Scope
- New test file following existing patterns in
e2e/device_telemetry_test.go(usestestcontainers-go,devnet.New(),require.Eventually()) - Spin up: 1 DZD device + 1 geoProbe server + 1 target listener in Docker
- Configure via CLI flags (no onchain setup needed):
- Telemetry agent:
--additional-child-probes=<probe-addr> - geoProbe:
--additional-parents=<dzd-pubkey>:<dzd-addr>,--additional-targets=<target-ip>
- Telemetry agent:
- Verify: DZD sends TWAMP + Offset to probe → probe caches offset, measures target, sends composite offset → target receives and verifies signature chain
- Assert: target logs show valid signature chain and plausible RTT values
- Add Dockerfile for
geoprobe-agentandgeoprobe-target(or build inline as existing tests do)
Files to change/create
e2e/geolocation_test.go— new E2E test filee2e/internal/devnet/— extend DeviceSpec or add ProbeSpec for geoProbe container support- Dockerfiles for new binaries (if needed beyond existing Go build patterns)
Estimated scope
Medium–Large (~400–600 lines)
Dependencies
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels