hermes-agent/tests/docker
ethernet 19ca99e863 perf(docker-tests): blocking exec with DEVNULL for wait_for_container_ready
Retry of the blocking docker exec approach, this time using
stdout=DEVNULL/stderr=DEVNULL instead of capture_output=True.

The previous attempt regressed on CI (+135s) with capture_output.
Hypothesis: the docker daemon stdio pipe management for long-lived
exec sessions added overhead under 8-way parallel test execution.
DEVNULL should be lighter — the daemon never has to buffer output
or manage pipe read ends.

Also uses user="root" (not "hermes") to avoid deadlocking on
PUID/PGID remap tests where the hermes user UID is being changed
during cont-init.

The probe runs an until/sleep loop inside the container, replacing
N separate docker exec polls with a single blocking exec. On CI
where docker exec costs ~0.25s overhead per call, this should save
(N-1) × 0.25s per container where N is the number of polls
(typically 3-7).
2026-07-15 12:35:18 -04:00
..
__init__.py
conftest.py perf(docker-tests): blocking exec with DEVNULL for wait_for_container_ready 2026-07-15 12:35:18 -04:00
profiling.py feat(ci): track time.sleep in docker test profiler 2026-07-14 16:22:05 -04:00
test_config_migration.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_container_restart.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_dashboard.py Revert "perf(docker-tests): halve poll intervals from 0.5s to 0.25s" 2026-07-14 18:35:45 -04:00
test_docker_exec_privilege_drop.py test(docker): wait for cont-init to finish before privilege-drop shim tests (#54026) 2026-06-28 17:06:26 +10:00
test_dump_build_sha.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_gateway_bootstrap_state.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_gateway_run_supervised.py Revert "perf(docker-tests): halve poll intervals from 0.5s to 0.25s" 2026-07-14 18:35:45 -04:00
test_home_override_scripts.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_immutable_install.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_immutable_install_permissions.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_license_file_present.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_log_dir_seed.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_main_invocation.py
test_profile_gateway.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_puid_pgid_remap.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_s6_profile_gateway_integration.py fix(s6): dot-prefix gateway staging dir so svscan ignores it mid-build (#54834) 2026-06-29 21:33:00 +10:00
test_smoke.py change(ci): migrate docker smoketests to real tests 2026-06-26 19:15:18 -07:00
test_stage2_browser_discovery.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_tini_compat_shim.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_toplevel_chown.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_tui_passthrough.py test(docker): make tty-passthrough probe robust to container boot-log noise (#38665) 2026-06-04 13:19:13 +10:00
test_tui_prebuilt_bundle.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_user_flag_guard.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_zombie_reaping.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00