a009dfc425
make smoke was the bisector for "is the bug in :quic or in the runner
environment?" while we were debugging the initial close-path / PTO /
padding issues. Now that the runner reliably runs the matrix end-to-end
(handshake + chacha20 green vs aioquic), smoke's only job — running
picoquic outside the runner — is unneeded, and the picoquic image
keeps changing its entrypoint / required args in ways that make smoke
finicky to maintain.
Removes:
- make smoke / smoke-down targets
- SMOKE_NET / SMOKE_PICOQUIC / SMOKE_CLIENT vars
- SMOKE_MODE handling in run_endpoint.sh (just always tolerates
/setup.sh failure now — same effect, less ceremony)
- Plan doc note about make smoke updated to reflect removal.
If we ever need a non-runner bisector again, it's two `docker run`
commands; not worth permanent maintenance.
https://claude.ai/code/session_01HcvfQq1ttPV9PkRoJb4nyT
30 lines
905 B
Bash
Executable File
30 lines
905 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# quic-interop-runner endpoint entry point.
|
|
#
|
|
# The base image (martenseemann/quic-network-simulator-endpoint) provides
|
|
# /setup.sh, which configures routing for the runner's ns-3 sim. Source it
|
|
# inside the runner; tolerate failure (e.g. missing NET_ADMIN cap) so the
|
|
# JVM client still launches if a caller invokes the image outside the
|
|
# runner — they get default container networking instead.
|
|
set -uo pipefail
|
|
|
|
# shellcheck disable=SC1091
|
|
source /setup.sh 2>/dev/null || echo "(setup.sh skipped — not under the runner sim)" >&2
|
|
|
|
set -e
|
|
|
|
case "${ROLE:-client}" in
|
|
client)
|
|
exec /opt/quic-interop/bin/quic-interop
|
|
;;
|
|
server)
|
|
# Phase 0: server role unimplemented. Exit 127 so the runner skips.
|
|
echo "server role not implemented" >&2
|
|
exit 127
|
|
;;
|
|
*)
|
|
echo "unknown ROLE=${ROLE}" >&2
|
|
exit 127
|
|
;;
|
|
esac
|