Ben Barclay
ecefb1e2a2
test(gateway): make 7 macOS-failing tests host-honest ( #107035 )
...
scripts/run_tests.sh tests/gateway/ on a clean macOS checkout fails 7 tests
that pass on the Linux CI lane. The macOS CI lane runs only -m macos_only,
so these had never executed on a Mac. Each failure was diagnosed
individually, not assumed to share a cause:
* test_systemd_notify::test_notify_supports_systemd_abstract_socket
binds a NUL-prefixed abstract AF_UNIX name, a Linux kernel feature.
-> @pytest.mark.linux_only (the abstract socket IS the subject).
* test_shutdown_forensics::test_spawns_subprocess_and_writes_output
spawn_async_diagnostic() wraps a Linux-only script (ps --sort,
/proc/loadavg, dmesg, pstree) in GNU `timeout`, which macOS lacks.
Popen raises, the producer returns None by design (fail-soft).
-> @pytest.mark.linux_only, replacing a bare skipif(win32).
* test_scale_to_zero::test_suspend_self_{posts_suspend,non_2xx}
bound the fake flaps socket under pytest tmp_path, which exceeds
sun_path (104 B on macOS/BSD, 108 on Linux). Production connects to the
fixed /.fly/api so the code is not length-exposed; only the fake needed
a short home. -> short_sock_dir fixture (gettempdir -> /tmp fallback,
skip if neither fits). Verified with a 130-char TMPDIR on Linux.
* test_buzz_adapter::test_live_media_redacts_long_path_before_bounding
built 160-char path components; a single component is capped at 255 B
on both hosts and the full path hit PATH_MAX (1024) on macOS. The
invariant (path redacted BEFORE the 900-char bound) needs the path to
exceed 900 chars, not 1000+. -> grow 80-char components until the path
passes _MAX_CLI_MESSAGE_CHARS, assert < 1024. Mutation-checked: moving
the redaction after the bound fails the test.
* test_wecom_callback::{test_build_event_extracts_text_message,
test_poll_loop_dispatches_handle_message}
NOT environmental: `_build_event` parses with defusedxml, which ships
only via the `wecom` extra (or transitively via `youtube` -> [all] in
CI). A dev venv without it gets ET=None. -> dependency skipif on
DEFUSEDXML_AVAILABLE (not an OS marker; the 4 other tests in the file
still run).
Verified: scripts/run_tests.sh on macOS: 226 passed, 4 skipped (2
linux_only, 2 defusedxml). python:3.11-slim container with [dev,wecom]:
-m "linux_only and not integration" selects and passes both marked tests;
all 5 files 229 passed.
2026-09-10 12:08:51 +10:00
..
2026-09-03 13:12:50 -07:00
2026-09-08 17:51:35 +10:00
2026-09-03 02:17:01 +05:30
2026-08-31 11:47:16 -07:00
2026-09-02 16:26:11 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 16:26:11 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 17:06:54 -07:00
2026-09-07 06:10:54 -07:00
2026-09-02 00:04:13 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 06:10:54 -07:00
2026-09-09 10:55:32 -07:00
2026-09-03 19:33:28 -07:00
2026-08-21 21:53:11 +05:30
2026-09-01 02:14:35 -07:00
2026-08-27 20:53:02 -07:00
2026-08-23 03:57:47 -07:00
2026-08-19 22:56:14 -07:00
2026-08-31 01:04:11 -07:00
2026-08-31 01:04:11 -07:00
2026-09-03 13:12:50 -07:00
2026-08-31 01:04:11 -07:00
2026-09-09 10:55:32 -07:00
2026-08-29 18:23:07 -07:00
2026-09-09 10:55:32 -07:00
2026-09-07 06:00:05 -07:00
2026-08-27 07:33:36 -07:00
2026-09-02 16:11:50 -07:00
2026-08-20 19:56:01 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 01:58:56 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 14:16:57 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 01:58:56 +05:30
2026-09-07 22:47:33 +05:30
2026-08-21 22:33:45 +05:30
2026-08-21 22:54:04 +05:30
2026-09-02 13:30:50 -07:00
2026-08-21 22:33:45 +05:30
2026-09-03 14:21:52 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 14:16:57 -07:00
2026-09-10 12:08:51 +10:00
2026-08-31 07:28:30 -07:00
2026-08-31 09:05:41 -07:00
2026-08-31 09:05:41 -07:00
2026-08-31 07:30:44 -07:00
2026-08-31 20:57:30 +05:30
2026-08-31 09:49:30 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 06:10:54 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-20 19:56:01 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 06:10:54 -07:00
2026-09-02 15:32:49 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 11:27:55 +05:30
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 16:26:11 -07:00
2026-08-31 09:57:13 -07:00
2026-09-07 22:47:33 +05:30
2026-08-27 12:42:38 +05:30
2026-09-02 16:26:11 -07:00
2026-08-31 12:21:01 -07:00
2026-09-07 06:10:54 -07:00
2026-09-07 22:47:33 +05:30
2026-08-26 09:59:17 -07:00
2026-08-22 16:45:00 -07:00
2026-08-22 18:05:26 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:38:36 -07:00
2026-08-27 20:39:11 +05:30
2026-09-03 14:18:25 -07:00
2026-09-03 13:12:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-08 17:51:35 +10:00
2026-09-07 04:46:20 -07:00
2026-09-02 13:30:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 13:30:50 -07:00
2026-09-02 00:56:52 -07:00
2026-09-07 06:00:05 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 07:06:29 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 02:17:01 +05:30
2026-09-07 22:47:33 +05:30
2026-08-22 14:55:04 +05:30
2026-09-02 14:06:32 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 17:45:53 -07:00
2026-09-03 17:00:26 -07:00
2026-08-16 01:55:51 -07:00
2026-08-31 06:28:25 -07:00
2026-09-02 14:06:32 -07:00
2026-08-27 07:33:36 -07:00
2026-09-09 12:16:56 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-20 15:31:21 +10:00
2026-09-07 22:47:33 +05:30
2026-09-06 21:38:34 +05:30
2026-09-02 05:32:31 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 15:38:08 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:12:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 14:11:18 -07:00
2026-09-02 16:11:50 -07:00
2026-09-07 22:47:33 +05:30
2026-08-31 10:54:58 -07:00
2026-09-02 06:47:30 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 06:47:30 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 09:32:38 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-29 20:57:55 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 04:13:02 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 10:55:57 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-18 15:04:45 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:12:50 -07:00
2026-09-02 05:55:36 -07:00
2026-09-02 05:55:36 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-08-31 01:04:11 -07:00
2026-08-31 01:04:11 -07:00
2026-09-03 13:49:57 -07:00
2026-09-01 10:52:42 -07:00
2026-08-31 01:04:11 -07:00
2026-09-02 13:30:50 -07:00
2026-08-30 20:39:58 -07:00
2026-08-30 22:19:06 -07:00
2026-09-03 13:46:50 -07:00
2026-09-03 14:18:25 -07:00
2026-08-31 09:57:13 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-20 15:31:21 +10:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 07:01:23 -07:00
2026-09-03 13:12:50 -07:00
2026-09-07 14:16:57 -07:00
2026-09-03 13:48:14 -07:00
2026-09-07 14:16:57 -07:00
2026-09-03 13:48:14 -07:00
2026-09-07 14:16:57 -07:00
2026-09-03 13:48:14 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-08-31 09:56:54 -07:00
2026-09-09 11:47:55 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:12:50 -07:00
2026-09-02 07:01:23 -07:00
2026-09-09 10:43:58 -07:00
2026-08-17 15:12:13 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-25 13:25:48 +05:30
2026-09-09 09:45:54 -07:00
2026-08-16 19:54:42 -07:00
2026-09-03 13:46:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 07:01:23 -07:00
2026-08-19 02:00:16 -07:00
2026-08-29 07:25:17 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:29:55 -07:00
2026-09-02 06:08:09 -07:00
2026-08-31 07:28:39 -07:00
2026-09-02 06:48:31 -07:00
2026-09-09 12:20:21 +05:30
2026-09-02 06:19:03 -07:00
2026-09-02 06:59:11 -07:00
2026-09-02 06:48:31 -07:00
2026-09-07 22:47:33 +05:30
2026-08-23 03:57:47 -07:00
2026-09-07 22:47:33 +05:30
2026-08-20 15:31:21 +10:00
2026-09-02 07:01:23 -07:00
2026-09-03 13:46:50 -07:00
2026-09-07 06:15:43 -07:00
2026-08-24 03:20:46 -07:00
2026-09-09 09:21:46 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-27 07:33:36 -07:00
2026-09-02 06:36:16 -07:00
2026-09-07 22:47:33 +05:30
2026-08-24 03:20:06 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 13:31:44 -07:00
2026-09-03 13:12:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 06:59:11 -07:00
2026-09-08 17:51:35 +10:00
2026-08-23 20:00:30 -07:00
2026-09-08 02:26:31 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-09 13:06:23 +05:30
2026-09-09 12:20:51 +05:30
2026-09-02 06:48:31 -07:00
2026-08-23 18:25:12 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-08-20 15:31:21 +10:00
2026-09-07 22:47:33 +05:30
2026-09-03 17:00:26 -07:00
2026-09-05 16:09:46 +05:30
2026-08-24 15:37:22 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 16:11:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-08 04:38:47 -07:00
2026-08-31 14:54:18 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 00:17:54 -07:00
2026-09-07 22:47:33 +05:30
2026-09-02 14:36:11 +10:00
2026-09-04 15:41:27 -03:00
2026-09-10 12:08:51 +10:00
2026-09-03 14:18:25 -07:00
2026-08-21 16:25:24 +05:30
2026-09-06 20:49:30 +05:30
2026-09-07 22:47:33 +05:30
2026-08-18 01:38:40 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:12:50 -07:00
2026-09-02 16:57:21 +05:30
2026-08-31 11:23:48 -07:00
2026-09-03 13:46:50 -07:00
2026-08-31 14:02:55 -07:00
2026-08-31 12:32:33 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 14:00:59 -07:00
2026-09-07 06:10:54 -07:00
2026-08-30 05:16:10 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 06:10:54 -07:00
2026-09-07 22:47:33 +05:30
2026-08-31 12:21:01 -07:00
2026-09-07 06:10:54 -07:00
2026-09-07 06:10:54 -07:00
2026-09-07 06:10:54 -07:00
2026-09-07 06:10:54 -07:00
2026-09-07 06:10:54 -07:00
2026-09-03 13:12:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 20:43:06 +05:30
2026-09-03 13:46:50 -07:00
2026-09-10 12:08:51 +10:00
2026-09-02 00:03:36 -07:00
2026-09-09 11:05:15 -07:00
2026-09-07 22:47:33 +05:30
2026-09-01 10:51:37 -07:00
2026-09-02 14:06:48 -07:00
2026-09-02 05:34:11 -07:00
2026-09-07 06:10:54 -07:00
2026-08-27 15:33:32 +10:00
2026-09-07 22:47:33 +05:30
2026-08-26 15:54:53 -07:00
2026-09-07 22:47:33 +05:30
2026-08-27 15:33:32 +10:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-27 15:33:32 +10:00
2026-08-20 15:31:21 +10:00
2026-08-26 15:54:53 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 06:36:16 -07:00
2026-09-02 06:36:16 -07:00
2026-08-20 15:31:21 +10:00
2026-09-07 22:47:33 +05:30
2026-09-01 10:51:37 -07:00
2026-08-16 20:32:09 -07:00
2026-09-09 11:14:36 -07:00
2026-09-07 06:10:54 -07:00
2026-09-03 13:46:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-09 09:55:52 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-20 15:31:21 +10:00
2026-08-20 15:31:21 +10:00
2026-08-27 07:33:36 -07:00
2026-08-27 07:33:36 -07:00
2026-09-02 16:24:25 -07:00
2026-08-20 15:31:21 +10:00
2026-09-09 10:59:52 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-03 13:12:50 -07:00
2026-09-07 22:47:33 +05:30
2026-09-10 12:08:51 +10:00
2026-09-03 13:04:17 -07:00
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 06:08:09 -07:00
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-08-31 12:28:49 -07:00
2026-08-31 12:28:49 -07:00
2026-08-21 16:25:24 +05:30
2026-09-01 08:24:25 -07:00
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-08-17 16:07:05 +05:30
2026-09-01 12:08:34 -07:00
2026-08-21 16:25:24 +05:30
2026-09-03 17:00:26 -07:00
2026-09-09 10:37:37 -07:00
2026-08-24 17:04:55 +05:30
2026-08-29 20:57:55 -07:00
2026-08-29 20:57:55 -07:00
2026-08-21 16:25:24 +05:30
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-08-31 12:28:49 -07:00
2026-08-31 12:28:49 -07:00
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-08-17 16:07:05 +05:30
2026-08-23 19:26:41 -07:00
2026-09-03 01:29:35 -07:00
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-21 16:25:24 +05:30
2026-09-03 03:47:38 +05:30
2026-08-25 12:07:36 +05:30
2026-08-21 16:25:24 +05:30
2026-08-21 16:25:24 +05:30
2026-08-21 16:25:24 +05:30
2026-08-29 20:57:55 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 05:59:24 -07:00
2026-09-02 05:59:24 -07:00
2026-08-21 16:25:24 +05:30
2026-09-02 14:06:32 -07:00
2026-08-21 16:25:24 +05:30
2026-08-21 16:25:24 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 15:41:11 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 00:53:06 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-23 17:45:47 -05:00
2026-09-03 13:12:50 -07:00
2026-09-03 13:12:50 -07:00
2026-09-02 05:33:13 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-22 17:30:35 +02:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-02 16:25:35 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-29 05:57:13 -07:00
2026-09-01 10:11:07 -07:00
2026-09-03 13:46:50 -07:00
2026-09-06 05:35:48 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-28 07:50:51 -07:00
2026-09-07 22:47:33 +05:30
2026-09-10 12:08:51 +10:00
2026-08-27 07:33:36 -07:00
2026-09-03 13:04:17 -07:00
2026-09-03 13:04:17 -07:00
2026-09-07 22:47:33 +05:30
2026-08-24 03:20:06 -07:00
2026-09-07 22:47:33 +05:30
2026-08-31 10:41:54 -07:00
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-09-07 22:47:33 +05:30
2026-08-24 03:20:06 -07:00