Repository navigation
fix: handle SIGINT/SIGTERM/SIGHUP in --server and clean up on abort - #8321
Merged
Merged
Conversation
oferchen
force-pushed
the
fix/server-signal-cleanup
branch
from
November 3, 2026 22:26
52f09af to
1e14bb7
Compare
oferchen
force-pushed
the
fix/server-signal-cleanup
branch
from
November 10, 2026 08:09
1e14bb7 to
f48c3ea
Compare
upstream main.c:1919-1921 installs sig_int in every role. A server records the signal (rsync.c:864-868) and perform_io() acts on it at its next pass (io.c:849/1022 -> io.c:600-605 handle_kill_signal -> exit_cleanup(RERR_SIGNAL)), which keeps a --partial temp (cleanup.c:159-181), unlinks any other (cleanup.c:200-201) and sends MSG_ERROR_EXIT 20. - install the signal handlers and watcher for --server too - check for a pending signal before each multiplex frame read, so a single large file stops mid-file rather than at the next file - grade the check's error RERR_SIGNAL through a typed SignalShutdown (kind Other: an Interrupted kind is retried by the EINTR loops) - print only upstream's log_exit trailer from a signalled server, naming its role, even when a cause-bearing error is pending - linger 100 ms before exit on a nonzero server code, as cleanup.c:263-264 does - register every local temp, not only --partial ones, so the abort path of a second signal unlinks it (receiver.c:1251 cleanup_set) - a client read error takes the remote-shell child's worse status (cleanup.c:146-153), as the other local-failure arms already do - signal-rsh keeps the client's descriptors open in a holder process until it has been reparented, and runs no threads on Unix, so the 3.5.1 client's WNOHANG reap always finds its exit status
oferchen
force-pushed
the
fix/server-signal-cleanup
branch
from
November 10, 2026 12:24
f48c3ea to
0d2119c
Compare
12 of 13 tasks
oferchen
added a commit
that referenced
this pull request
Nov 12, 2026
## Summary - **Root cause of the core daemon-test flake:** core and transfer tests ran the oc-rsync daemon by executing the 126 MB debug binary on a probed free port. They then polled for readiness under a wall-clock bound and retried when the port was lost. On a loaded host a cold page-in kept the process in state D (`folio_wait_bit_common`) for 10-34 s before its first log line, so the 5 s readiness bound failed sessions that would have succeeded. - **One harness in test-support, with no clock in it:** - `forked_server::ForkedServer` forks a closure through `platform::session_fork`'s safe API, records how the run ended, and kills and reaps its process group on drop. It can capture the server's stderr through a pipe, using the new `platform::session_fork::redirect_stderr` (nix `dup2_stderr`). - `oc_daemon::OcDaemon` (feature `daemon`) binds `127.0.0.1:0`, and with `.quic()` a UDP `127.0.0.1:0` socket too, before the fork, then runs `daemon::run_daemon` on those sockets. A client connect queues in the backlog: no port probe, no readiness wait, no retry, and no exec. - `inetd_server::InetdServer` serves upstream binaries, which cannot take a pre-bound socket, in inetd mode: one process per accepted connection, with the socket as stdin/stdout. upstream: clientserver.c:1748 `is_inetd_socket()`. - **Every daemon test uses it:** - The daemon crate's own `DaemonHandle` is a thin adapter over `ForkedServer`. - Core's `TestDaemon`, all 27 transfer daemon tests and the five root-crate daemon tests use `OcDaemon` or `InetdServer`. - `DaemonProcess`, `spawn_daemon_on_free_port`, `daemon_listen_port` and their tests go with their last callers. - The QUIC parent-thread and certificate-matrix tests now wait on daemon log lines instead of polling a log file. - **Only production change:** `DaemonConfigBuilder::pre_bound_quic_socket`, the UDP twin of `pre_bound_listener`. Injected sockets replace the daemon's own QUIC bind, so no test races another process for a UDP port. ### Deleted tests (property pinned elsewhere) - `uts_nextest_daemon_gzip_zz::second_daemon_on_the_same_port_is_refused_no_co_bind`. With a pre-bound fixture listener it cannot fail. The daemon unit test `default_single_listener_refuses_a_second_bind_on_the_same_port` pins the same SO_REUSEADDR-only rule through the production `bind_listeners_per_family`. - `quic_daemon_address.rs`. Its property is the daemon's own `quic address` bind, which a pre-bound socket bypasses, and no race-free port exists for the daemon to bind itself (`quic port = 0` means 873). The unit tests in `server_runtime/tests.rs` pin `resolve_quic_bind_addresses` and `bind_quic_sockets_per_family` for explicit address lists. ### Other changes - `concurrent_fixtures_get_distinct_ports_and_do_not_cross_talk` forks every fixture on the main thread before any client thread exists. - `client_daemon_interop::test_client_incremental_transfer` backdates its first copy. A same-second rewrite of an equal-length file was skipped by the quick check; the slow old harness used to hide that. - Workspace builds now link `bstr` (via the daemon feature's engine/globset path) into every test target that depends on test-support. Its `impl AsRef<BStr> for [u8]` made `x.as_ref()` inference ambiguous at 10 sites in `rsync_io` and `checksums`; those bindings now name `&[u8]` / `&mut [u8]` explicitly. No behaviour change. ## Test plan - [x] `cargo nextest run -p core --all-features --retries 0`, 5 runs: 2938/2938 each. - [x] `cargo nextest run -p daemon --all-features --retries 0`, 5 runs: 2144/2144 each. - [x] The 27 migrated transfer binaries at `--retries 0`, 5 runs: 110/110 each. QUIC binaries alone: 35/35. - [x] Core run with the oc-rsync client binary's pages evicted (`posix_fadvise DONTNEED`) every second for the whole run: 2938/2938. A single cold client exec measured 3.59 s, against 0.01 s hot; the client is bounded only by its own `--timeout`. - [x] Upstream inetd path against a real upstream daemon (`/usr/bin/rsync` 3.5.1 standing in for the pinned versions): - client_daemon_interop: 21/25. The 4 failures are 2 absent pinned versions and 2 version-specific expectations. - daemon_client_interop + upstream_client_to_oc_daemon: 41/42. The 1 failure is a version-specific expectation. - [x] Mutation: when the daemon ignores the injected UDP socket and binds its own, the certificate matrix fails. - [x] After rebasing onto master: `cargo nextest run -p core -p daemon -p transfer -p test-support -p rsync_io -p checksums -p bin --all-features --retries 0`: 11768/11768. - [x] Gates: - `cargo fmt --all -- --check` and `check_rustfmt_all.py`. - `cargo clippy --workspace --all-targets --all-features --no-deps -- -D warnings`. - clippy all-features all-targets, and no-default-features `--tests`, for test-support, core, transfer, daemon and platform. - `cargo check --target x86_64-pc-windows-gnu --tests` for the same crates. - `unsafe_owner_deps.py`, `dead_code_census.py`, `xtask no-placeholders`. - rustdoc-links in both feature sets. - [ ] CI: fmt + clippy, nextest (stable), Windows, macOS, Linux musl. ### Findings, not fixed here (filed as tasks) - The uts_9 goodbye barriers are unguarded (now #8253). - `v61d_2_daemon_push_increcurse_perf_regression` fails for any non-root runner once upstream is installed: `gid = nobody` makes upstream call setgid (clientserver.c:844, 1100), contrary to the test's comment (separate PR). - Residual wall-clock waits outside the harness: the core kill tests' 20 s polled progress wait (filed separately), and `msg_no_send_unsendable_file`'s client deadline loop. ## Coordination - Follows #8247 (merged); based on master. - Related: unblocks removing the remaining nextest retries. ## Conventional commit prefix `test:` ## Pre-merge checklist - [x] Conventional commit prefix on PR title matches the change category. - [x] `cargo fmt --all` run locally. - [x] `CHANGELOG.md`: not updated, because only tests and test infrastructure change. The one production addition is a test-only daemon config hook. - [x] No references to internal tooling or non-human authoring aids; hyphens, not em-dashes. ## Folded in - #8259 (task 471): drop the last nextest retries and serial test groups. Merged into this branch so one CI run lands both. Five green passes each of the root integration_daemon binaries and engine execute_sparse|buffer_pool. ## Folded in - #8322 (tasks 298 and 481): clock-seam handshake test and event-driven kill-test waits; adds the dev-only notify dependency. ### Root daemon tests: reserved listeners, no readiness polls (task 538) The 21 root `tests/` files that spawned `oc-rsync --daemon` and polled `connect()` under a 30 s ready timeout now get a listener that is bound before the daemon runs. A connect therefore queues in the kernel backlog, and no test waits for readiness. **InetdServer** (`test_support::inetd_server`): the real binary serves each accepted socket in inetd mode (upstream clientserver.c:1748). It's used where the test needs the shipped binary's daemon behaviour, or serves upstream 3.5.1 too: - log file / log format: daemon_transfer_logging_per_file, daemon_log_file_escaping, daemon_log_host_rendering, server_diagnostics_reach_client - chroot, name converter, privilege: daemon_chroot_identity_resolution, daemon_name_converter_unknown_answer, daemon_module_under_private_parent (run as root through `wrapped_by(sudo -n ...)`) - confinement and path handling: daemon_concurrent_module_confinement, daemon_served_module_root_operator_paths, daemon_dest_root_symlinked_tail, daemon_operand_metacharacters - remove-source-files: daemon_honours_forwarded_remove_source_files, remove_source_files_failure_exit_23 - filters and hosts: daemon_filter_file_whitespace_is_pattern_text, daemon_hosts_allow_sentinel - oc and 3.5.1 sender legs: client_empty_flist_skips_recv_loop, missing_source_arg_exits_partial, daemon_sender_per_file_error_no_hang, flist_banner_before_names **OcDaemon** (`test_support::oc_daemon`), which forks the daemon library onto a reserved listener. It's used for the two tests about daemon startup itself: - daemon_operator_path_symlinks: a refused config exits and closes the listener, which the test detects with a greeting probe and then `join()` - log_file_created_with_upstream_mode, with umask pinned to 0 around the spawn Harness additions: `InetdServer::finish()` stops accepting and waits for every session to exit, so a session's log lines are on disk before the test reads them. This replaces the kill-then-read races and the log-file polls. Also new: `reserve_port()` / `start_reserved()`, `OcDaemonBuilder::reserved_port()` for a port that must be written into a config first, and `InetdCommand::{discarding_stderr, wrapped_by, env}`. Client-side wall-clock loops removed: client_empty_flist_skips_recv_loop, daemon_sender_per_file_error_no_hang, missing_source_arg_exits_partial and flist_banner_before_names now block on the client via `Command::output()`. The nextest per-test timeout is the only bound, so a hang under test fails as a TIMEOUT that names the test. client_empty_flist_skips_recv_loop and missing_source_arg_exits_partial are now `#![cfg(unix)]`: `oc-rsync --daemon` does not run on Windows. Assertions on daemon stderr and log files are byte-identical. daemon_transfer_logging_per_file now also asserts, after `finish()`, that the log contains the marker line it used to poll for. Mutation checks, one per family, each reverted afterwards: - logging: op name `"send"` -> `"sendX"` (log_format.rs): daemon_transfer_logging_per_file 5/29 FAIL - confinement: `insecure_links` default -> true (module_definition/finish.rs): daemon_concurrent_module_confinement 2/3 FAIL, strict_alone_is_confined and the concurrent case - remove-source-files: forwarded `--remove-source-files` dropped (client_args/long_form_args.rs): daemon_honours_forwarded_remove_source_files 1/1 FAIL Two tests that merged after this PR was written used the deleted `DaemonProcess`. They now use the harness: crates/test-support/tests/receiver_write_failure.rs (#8304) uses `OcDaemon` with `--once`, gated on the `daemon` feature; crates/transfer/tests/push_list_only_reaches_client.rs serves oc or 3.5.1 through `InetdServer`. Also, crates/daemon/src/tests/chunks/run_daemon_serves_slow_handshake.rs is now rustfmt-clean. It is include!d, so `cargo fmt --all` never reached it, but check_rustfmt_all did. Left in place: daemon_operator_path_symlinks still polls journald for up to 5 s for its syslog line. It reads an external system log; task 584 tracks it. ### Daemon listener address families, tested in process (task 612) The five `listener_address_family` tests started a daemon on a port reserved by binding then dropping a probe, then retried `connect`. Another process could take the port in between; #8321's macOS run hit exactly that. Upstream's testsuite has no daemon-level family test: its daemon tests use `RSYNC_CONNECT_PROG` and open no listener at all (testsuite/rsyncfns.py:833-865). So this PR drops those daemon-process tests and tests the family selection in process instead. No production code changes. - `crates/daemon/tests/listener_address_family.rs` is removed. - Five cells in `server_runtime/tests.rs` run the daemon's own path: `RuntimeOptions` parsing, then `resolve_bind_addresses`, then `bind_listeners_per_family` at port 0, with no daemon process and no readiness wait. The `OC_RSYNC_DAEMON_ADDRESS_FAMILY` override is passed as a value rather than through the environment. The IPv6 cells skip, with a reason, when `::1` cannot bind. - Mutation checks: making dual-stack resolve to IPv4 only fails `both_family_flags_bind_both_families`, and making the IPv4 override bind IPv6 fails `ipv4_override_binds_only_ipv4`. ### Last readiness polls in the root tests (task 538) - `tests/daemon_session_error_keeps_listener.rs`: the 15 s connect-retry loop and socket timeouts become a single connect against the pre-bound listener. The 500 ms sleep is removed with no new seam: sessions are forked children, so a session error cannot reach the accept loop, and the first client's read-to-EOF already waits for its session to end. - `tests/integration_daemon.rs` loses a dead 30 s `connect_with_retries`, a reserve-then-release `allocate_test_port` and two dead protocol helpers. `daemon_list_modules_via_cli` never started a daemon; it now serves two modules from an `OcDaemon` and asserts the exact `(name, comment)` rows of `--list-only rsync://.../`. - Mutation checks: dropping comments from the listing fails `daemon_list_modules_via_cli`; a daemon that binds and never accepts fails both tests in under a second, not at a timeout. Left as is: the journald poll in `daemon_operator_path_symlinks` (task 584), the public-server polls in `integration_rsync_protocol.rs`, and `tests/compress_interop_test.sh` (shell harness outside nextest).
oferchen
added a commit
that referenced
this pull request
Nov 13, 2026
…ath (#8344) ## Summary When rsync cannot create the destination root, 3.5.1 exits 11 (RERR_FILEIO) with `mkdir "<dir>" failed: <errno>` on every transfer path. oc exited 23 on a local copy and 3 on an rsh or daemon push. This PR fixes all three paths, which share one cause (tasks 585, 576 and 611). Upstream: main.c:808-821 `get_local_name()`. When `file_total > 1 || trailing_slash`, it calls `do_mkdir()`; with `--mkpath`, `make_path()` jumps to the same label. On failure it prints `rsyserr(FERROR, errno, "mkdir %s failed", full_fname(dest_path))` and exits `RERR_FILEIO`. This runs before `do_recv()` forks, so the line and the trailer name the unforked `Receiver` (rsync.c:987-995). ## Changes - **Local copy (585):** - The engine reports the failure as a new `DestinationMkdirFailed` kind (exit 11). - The client renders it as rsyserr's program line with the `[Receiver=` trailer. - **When a local copy creates the destination root up front (main.c:808):** one function, `file_total_exceeds_one` (new `sources/file_total.rs`), now decides it the way upstream's first file list counts: - Every operand counts, a repeated one twice (flist.c:3060). The plan keeps a per-operand repeat count, since it dedups operands. - Missing operands, filtered-out operands and directories skipped without `-r`/`-d` count nothing (flist.c:2937-2966). - A lone expanded directory adds its contents (flist.c:3096 `send_extra_file_list()`), judged by the same rules the walk applies there, its per-dir merge files included. A directory whose every child is excluded stays a single entry, so the destination becomes that directory and a mkdir failure is recv_generator's per-file error (exit 23). - This replaces two ad hoc predicates that read the raw directory. - Visible fixes beyond the mkdir failure: `-d src/ dst` and `a a dst` now create `dst/` like 3.5.1, and `-rL`/`-rk` of a symlink to a directory now lands at `dst/<link>/...` like 3.5.1 (oc copied the contents into `dst/` itself; the three engine tests that pinned that are corrected). - **rsh (576) and daemon (611) receivers:** - The cause is wrapped in `DestRootMkdirError`, which grades RERR_FILEIO. - The server writes its report through the fatal-report hook before `MSG_ERROR_EXIT`. `run_server_fds` and `run_server_stdio` both pass the hook now. - This half was in dfc048d01, which was omitted when #8304 landed, so it never reached master. This PR carries it. - **Daemon path rendering:** the daemon renders the root module-relative, as `"ro/new" (in m)`. The daemon skips change_dir#4 (main.c:1212), so full_fname uses the module form (util1.c:1528). ## Evidence The 3.5.1 oracle is the tarball build (`~/up351/rsync-3.5.1/rsync`). The fixture is a destination `ro/new`, where `ro` is 0555. | Path | Client vs server | 3.5.1 exit | oc exit | First line | |---|---|---|---|---| | local `-r src ro/new/` | - | 11 | 11 | `rsync: [Receiver] mkdir "…/ro/new" failed: Permission denied (13)` | | local `-r src/ ro/new` | - | 11 | 11 | same | | local `-r a b ro/new` | - | 11 | 11 | same | | rsh push | oc vs oc | 11 | 11 | same, server-side | | rsh push | 3.5.1 vs oc | 11 | 11 | same | | rsh push | oc vs 3.5.1 | 11 | 11 | same | | daemon push | oc vs oc | 11 | 11 | `mkdir "ro/new" (in m) failed` | | daemon push | 3.5.1 vs oc | 11 | 11 | same, plus a residual (below) | | daemon push | oc vs 3.5.1 | 11 | 11 | same | Local operand edges of the main.c:808 rule, destination `ro/new` under a 0555 `ro`, 3.5.1 exit vs oc exit (all match except the two pre-existing rows marked): | Operands | 3.5.1 | oc | |---|---|---| | `-r src`, `-r src/`, `-r src/ ro/new/`, `-R src`, `-R src/` | 11 | 11 | | `-r src/` with every child excluded; `-r src` likewise | 23 | 23 | | `-r empty/` | 23 | 23 | | `-d src/` | 11 | 11 | | `-d src` | 23 | 23 | | `a a` (same file twice) | 11 | 11 | | `a b` | 11 | 11 | | one file; one file into `ro/new/` | 23; 11 | 23; 11 | | `--mkpath src/ ro/x/new` | 11 | 11 | | `-rn src/` | 0 | 0 | | `a missing` (pre-existing, task 623) | 23 | 11 | | `-R src/a` (pre-existing, task 623) | 11 | 23 | The success-path trees match 3.5.1 for two files, `-d src/`, every child excluded (with and without the slash), a file given twice and one child excluded. The happy path is unchanged against 3.5.1 for `-ri`, `-rv`, `--stats`, `-rin` and `-di`. Tests: `tests/server_error_exit_code_reaches_client.rs` gains cells per path: `local_copy_dest_mkdir_failure_reports_file_io`, the existing rsh cell, `daemon_dest_mkdir_failure_reports_file_io`, and `local_copy_dest_root_mkdir_follows_file_total` (every child excluded: 23; `-d src/`: 11; a file given twice: 11). Each runs under both the oc client and the 3.5.1 client. Engine tests: - `permission_destination_mkdir_denied_exits_file_io` (new). - `execute_directory_source_deep_missing_dest_errors_without_mkpath` (now expects exit 11). - core `map_destination_mkdir_failed_reports_file_io_as_receiver`. Mutation, each mutant run against the targeted filter: - M1 (engine maps back to the generic io error) is killed by 3 tests: both engine tests and the local cell. - M4 (children judged by the raw directory, not the filter rules) is killed by `local_copy_dest_root_mkdir_follows_file_total` (every child excluded). - M5 (`-d` copy-contents not expanded) is killed by the same test (`-d src/`). - M6 (a repeated operand counted once) is killed by the same test (file given twice). - M3 (server mkdir arm disabled) is killed by 3 tests: the rsh cells and the daemon cell. Gates on the amended head, rebased on 75c4a1d (after #8321): - `tools/ci/check_rustfmt_all.py` OK. - clippy `-D warnings --all-targets --all-features` clean on engine, core, cli, transfer, embedding and daemon. - `cargo nextest -p engine` 4952/4952, plus the cli server, signal, error-exit and local-copy cells. ## Residual - Task 623, pre-existing: `a missing dst` exits 11 (3.5.1: 23, file_total 1); `-R src/a dst` refuses with oc's own text (3.5.1: 11, the implied `src` counts). - Pre-existing, outside this PR: under `-m`, a top-level operand excluded by `- *` is still walked by oc; 3.5.1 lists nothing. The new count mirrors oc's walk there, so behaviour is unchanged. A 3.5.1 client against an oc daemon prints one extra trailing line, `[sender] read error: Connection reset by peer (104)`, after the matching mkdir line and exit 11. This is task 232 (echo MSG_ERROR_EXIT and drain until the peer exits), not part of this PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An rsh
--servernow handles SIGINT, SIGTERM and SIGHUP as rsync 3.5.1 does. upstream main.c:1919-1921 installssig_intin every role. The server records the signal (rsync.c:864-868) andperform_io()acts on it at its next pass (io.c:849/1022 -> io.c:600-605handle_kill_signal->exit_cleanup(RERR_SIGNAL)). That pass keeps a--partialtemp (cleanup.c:159-181), unlinks any other (cleanup.c:200-201) and sendsMSG_ERROR_EXIT20.--server.SignalShutdownof kindOther, because anInterruptedkind is retried by the EINTR loops.log_exit()trailer, naming its role. It prints no cause line, even when a cause-bearing error such as--max-allocis pending.if (am_server && exit_code) msleep(100);). This mirrors upstream. It does not fix the race below; see "Stress results".--partialones, so the abort path of a second signal unlinks it (receiver.c:1251cleanup_set).Test harness: signal-rsh and the 3.5.1 client's WNOHANG reap
server_signal.rssignals the server at a fixed wire offset through thesignal-rshremote-shell trampoline. It runs each cell under both the oc client and the 3.5.1 client. The 3.5.1 client learns the server's code from the rsh child's exit status, read with a non-blockingwait_process(..., WNOHANG)once its connection closes (cleanup.c:146-153). If the child is not reapable yet, the client keeps its ownRERR_STREAMIO, so the cell sees 12 instead of 20.Cause, observed with
perf record -a(sched_process_exit/fork/free and wait4 enter/exit tracepoints) over a 48x16 stress run of the previous relay:group_dead=true).wait4(relay, WNOHANG)then returns 0, 1.32-2.34 ms after that last thread exits.pthread_joinreturns when the kernel clears the thread's tid futex inexit_mm(), before that thread'sexit_notify(). An intermediate relay that joined its thread before exiting still failed 1/192 (12x16) and 1/384 under the trace.Fix, in the test helper only: on Unix
signal-rshstarts no threads. The holder relays the client-to-server direction, and the main thread relays server-to-client, then waits for the server and exits. With one thread, the reparent the holder waits for and the waitable step happen in one locked section of the parent's exit. The holder's yield-spin onparent_id()only covers that step, so it always ends and its result does not depend on scheduling. No production code, nounsafeand no new platform API is involved.This race exists only on Unix, where the 3.5.1 client reaps the rsh child with WNOHANG. The cells are
cfg(unix). On Windowssignal-rshkeeps its in-process client-to-server thread.Stress results
Pull cell, 3.5.1 client, oc server, signal at s2c offset 1 MiB of a 32 MiB file. Cells run in parallel batches to load the host the way nextest does. "Failures" means the client exited 12 instead of 20.
0 failures in 1008 bounds the leftover rate below about 0.3% at 95% confidence. The mechanism above explains why the expected rate is 0, not just low.
Out of scope
sig_int'smsleep(400)(rsync.c:843-855) and the sender's extra pre-trailer write.Test plan
failure_report_tests::a_signal_reports_only_its_trailer_over_a_pending_cause. Its mutant, the signal branch routed throughwrite_fatal_cause, fails as it should.server_signalcells under the oc and 3.5.1 clients.--all-targets --all-featuresand--no-default-featuresfor cli, core, engine, test-support and transfer.