Use dynamic host ports in the E2E runner
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with src/console/ci/e2e/runner.rs and the qBittorrent E2E runner's existing dynamic-port handling; the issue names both as reference points. Add unit tests for TCP/UDP port discovery and address translation, then run the E2E tests, including two concurrent runs. Done means the checker uses discovered host addresses and docs/self-hosted-runner.md no longer lists fixed host ports as a concurrency limit.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Parent EPIC: #2392
Goal
Two e2e_tests_runner executions can run at the same time on one Docker host without colliding on host ports. The runner lets Docker choose free host ports and discovers them, instead of publishing fixed host ports.
Background
src/console/ci/e2e/runner.rs publishes fixed host ports 6969:6969/udp, 7070:7070/tcp, 1212:1212/tcp, and 1313:1313/tcp, parses the tracker's startup log for service addresses, and passes them to the tracker checker. This works only because host and container ports are identical; a second run on the same host cannot publish the ports. The runner already notes this in a code-review comment, and #2386 lists it as a reason for one runner instance per server.
Container names are already random, and the qBittorrent E2E runner already publishes host port 0 and reads the assigned port with docker compose port.
Tasks
- T1: Reproduce the conflict with two concurrent runs.
- T2: Add
docker portdiscovery (TCP and UDP) with unit tests. - T3: Translate parsed container addresses to host addresses, with unit tests.
- T4: Publish container ports only and run the checker on discovered host addresses.
- T5: Verify two concurrent runs pass; remove fixed host ports from the concurrency limits in
docs/self-hosted-runner.md.
Out of scope: the shared image tag (sibling subissue), the qBittorrent E2E runner, the shared Cargo target directory.
The full specification is added to docs/issues/open/ by a spec-only pull request.
- Lenguaje dominante
- Rust
- Estrellas
- 532
- Forks
- 56
- Merge medio
- 11 h 20 min
- PR fusionados (30 d)
- 282
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de torrust/torrust-tracker
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
torrust/torrust-tracker#3080 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
torrust/torrust-tracker#3069 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#3058 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
torrust/torrust-tracker#2978 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
torrust/torrust-tracker#2332 ·
Los mantenedores suelen responder en 1 día
Todos los issues de torrust/torrust-tracker
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Start here: how to contributeAbiertodifficulty: easy docs help wanted tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
userFRM/egui-charts#4386 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
eliasstravik/herdr-projects#1605 · 1 comentario ·