cas-toolbox
Cluster Automation Scripts Toolbox — one stop shop for tool scripts used in cluster automation operations in high performance computing.
cas-toolbox is a meta-package: it ships no code of its own. It pins exact
releases of the nine tools below and installs all of their console commands in a
single step, so a fresh host gets the whole toolbox with one pip install.
Every bundled tool is a single self-contained .py file — copy one onto a
host and it runs, no packaging required. (multiSSH3's optional shell
autocomplete is the one exception: it needs mssh_complete.py next to
multiSSH3.py.)
Project metadata
| Current version | 2026.49.1 |
| Released | 2026-11-30 |
| Python | >= 3.6 |
| Platform | Linux (POSIX); macOS for multiCMD, multiSSH3, simple-iotest, statblk, tee-logger, TSVZ |
| License | GPL-3.0-or-later |
| Author | Yufei Pan (pan@zopyr.us) |
| Homepage | github.com/yufei-pan/cas-toolbox |
| PyPI | pypi.org/project/cas-toolbox |
| Build backend | setuptools (pyproject.toml) |
| Bundled tools | 9 |
Versioning and release cadence
Versions are YYYY.WW.hotfix — calendar year, ISO week number, and a hotfix
counter. For example 2026.40.1 is the first release cut in week 40 of 2026.
The bundle is deliberately semi-stable:
- Mondays are the normal re-cut. Last week's accumulated upstream changes are
rolled into one release: the
==pins of everything that moved are updated and the version bumps to the newYYYY.WW. - Mid-week releases are for emergency fixes only. Only the affected tool's
pin changes and the
hotfixsegment increments (2026.39.1→2026.39.2), leaving the week number alone. - Releasing an individual upstream tool is independent and can happen any day. Its pin bump normally rides along in the next Monday roll-up.
Upstream tools use their own x.y / x.y.z schemes; the pins in this package
record exactly which release is in the bundle.
Included tools
Versions listed are the ones pinned by the current release of cas-toolbox.
| Tool | Module | PyPI package | Pinned | Commands | What it does |
|---|---|---|---|---|---|
| hpcp | hpcp.py |
hpcp |
9.97 | hpcp |
Highly-parallel cp / imaging for HPC storage |
| multiCMD | multiCMD.py |
multicmd |
1.70 | mcmd, multicmd, multiCMD |
Run many subprocesses in parallel (base library) |
| multiSSH3 | multiSSH3.py |
multissh3 |
6.49 | mssh, mssh3, multissh, multissh3, multiSSH3, mssh-complete |
Parallel SSH across hosts, curses TUI |
| simple-iotest | iotest.py |
simple-iotest |
3.72.0 | iotest, simple-iotest |
Dead-simple filesystem I/O benchmark |
| statbtrfs | statbtrfs.py |
statbtrfs |
0.46 | statbtrfs |
Btrfs status / scrub orchestration |
| Tee_Logger | src/Tee_Logger.py |
tee-logger |
6.47 | (library only) | Logger that tees to dated files + stdout |
| TSVZ | TSVZ.py |
tsvz |
5.18 | tsvz, TSVZ |
Key-value store / in-memory DB backed by a TSV file |
| statblk | statblk.py |
statblk |
1.67 | statblk |
Block-device / partition info table |
| firewatcher | firewatcher.py |
firewatcher |
1.74 | firewatcher |
Journal/log incident capture with off-box context |
Internal dependency graph worth knowing when a pin moves:
hpcp,statbtrfsandstatblkcarry their own copy ofmultiCMDand use an installed one when it is at least as new, so themultiCMDpin is what they run in the toolbox: move it only beside versions of them tested with it.simple-iotestdepends ontee-logger.
Recent releases
| Version | Date | What changed |
|---|---|---|
2026.49.1 |
2026-11-30 | Weekly roll-up. Upgrading from 2026.48.1: run mssh --completion install again in zsh and bash as each account, and firewatcher --install-service again, flags included, where systemctl cat firewatcher shows setting flags after --config; statblk --check can exit 3 where it exited 0 (a check that judged nothing, or a container without the host's device nodes), and 0 where it exited 3 or 1 (spun-down SAS disks; disks a -D -v pattern now leaves out by name); statbtrfs can exit 2 where it exited 0; and at its first restart a firewatcher that follows the journal matches the --capture-time before its saved position again, so an incident open at the stop can be pushed twice. Scripts that read hpcp's pool lines or firewatcher's captures, and programs that import simple-iotest or statblk, have notes below. hpcp 9.96 → 9.97: a pool job's own lines (its notes, its warnings, Error copying ... and a crash's traceback) now print with the job's result, each on a line of its own (9.96 wrote them at once), as its error lines have since 9.96; a job keeps at most 10,000 lines, then one saying how many more it left out (the error list at the end keeps every error), and a refusal's note is printed once a run. A stop during a -dd partition's copy exits 130 (9.96: 181), and a stop just before the cleanup no longer skips it, which could leave an image's mounts and loop devices. multiCMD 1.69 → 1.70: progress bars only (mcmd is unchanged): a bar keeps its percent at narrower widths. multissh3 6.47 → 6.49 (mssh-complete 0.20 → 0.22), shell completion only: run mssh --completion install again in zsh and bash as each account (fish needs nothing). bash: a Ctrl-C at the prompt after the Ctrl-R menu or the line editor (bash 4.3 to 5.0), or during TAB's query (4.3 to 5.2), no longer leaves a line that Enter runs without its first letter (mssh h rm x ran as ssh h rm x), and on a host that sets TMOUT walking away from the menu or the editor logs out again (bash before 5.2). zsh: in a double-quoted command, a word the command splits itself (a CFLAGS= value, the string of sh -c) completes again where it holds an escaped blank. simple-iotest 3.71.0 → 3.72.0: on macOS with Python 3.8 or 3.9 (Apple's /usr/bin/python3 is 3.9) each pass starts on time, and the sync bandwidth and IOPS no longer count a wait; -pc 1 simultaneous exits 2 with an argument error before anything runs (3.71.0: a traceback, exit 1). For code that imports iotest: worker() takes its start time on shared_clock() (time.perf_counter() from Python 3.10, as before), and run_iotest() raises its ValueError for simultaneous with one process before any pass runs. statbtrfs 0.45 → 0.46: where each btrfs command runs through sudo (sudo allows btrfs but not statbtrfs), sudo asks for its password once, at the start, when statbtrfs runs in a terminal's foreground, also with input from a pipe or /dev/null, and a status or cancel command on a terminal runs as sudo -n: one that sudo still wants a password for fails at once with a note, where 0.45 hung until a Ctrl-C (and a password typed into the stopped sudo could show in clear). On a terminal (a background job started from one too), a sudo that signs in with no question and remembers nothing is refused (a known limitation: NOPASSWD for btrfs avoids it); cron, ssh and mssh runs are not affected. A btrfs device stats that printed no counter shows N/A with a note and exits 2 (1 when any filesystem has a problem), where 0.45 showed green 0s and exited 0. tee-logger 6.45 → 6.47: a compressed log no longer loses a batch to a Ctrl-C, or to a signal handler that calls sys.exit(), during its flush, nor, on Python 3.6 to 3.9, loses or repeats a record when a signal handler logs; and two threads no longer hang for ever at local midnight when one logs from inside another's log call. statblk 1.64 → 1.67: --check exits 3 (unknown) where 1.64 exited 0 when it judged nothing, with a line on stderr saying why (filters that leave no row, as -v with an empty pattern or a pattern naming a disk that is gone; a diskless node, where -P judges its mounts; -x leaving out both FSUSE% and SMART; only virtual devices), and in a container that sees the host's /sys but not its device nodes (Docker's default), where the host's disks now read UNKNOWN (statblk --check -x SMART, with -P for an overlay root, checks the container's own space). A spun-down SAS disk reads STANDBY, healthy, where 1.64 read UNKNOWN and exited 3. -D also matches the name the table shows (-D '^sda$'), so a -D -v pattern that matches a name without /dev/ (^s, ^nvme) now leaves those rows out, unjudged. Library: get_read_write_rate_throughput_iter() yields None for a direction whose counter went back (1.64: a negative rate). firewatcher 1.68 → 1.74: Security fix: 1.68 put the setting flags of an --install-service over an existing config, the ntfy URL among them, on the unit's ExecStart, which any local user can read (and a failed install left its config, so the next one did that). Now the flags go into the config (group and other access taken off when it holds a secret), ExecStart names only the config, a failed install undoes what it did and exits with the failure, and every install restarts a running service. Upgrading does not clean such a unit: if systemctl cat firewatcher shows flags after --config, run the same --install-service command again after the upgrade, flags included (a rerun without them drops what only the unit held), with a new --ntfy-url topic if it shows one. An install now stops with exit 2, before it writes anything, on a pattern source the service cannot load or an executable it cannot run (warnings under --no-enable), a value the config cannot take (a newline, or a comma in a pattern path) or a unit path that leads to something other than a file (a masked unit: systemctl unmask), and with exit 1 on settings it cannot write into the config (a read-only file system). Under a locale that is neither UTF-8 nor C, pattern files and non-ASCII config paths are read as UTF-8 (1.68: the locale's encoding): save such pattern files as UTF-8 (one that is not is skipped, with a message) and rename such paths; --install-service refuses a path or note typed there in the locale's own encoding (exit 2). A restart resumes at the saved journal entry, by its cursor: 1.68 could leave lines unmatched when the journal had lost the saved line, or after a reboot on systemd 252 and later. In captures, a journal line's offset is always +HH:MM (journalctl on CentOS 7, EL8 and Debian 12 wrote +0000), and journalctl's -- Boot <id> -- lines are gone. An output or fallback folder that is a symlink to another filesystem now works: 1.68 to 1.72 never compressed or aged out its months there unless the path ended in /, so after the upgrade its months older than --compress-after-months are compressed, and removed as --delete-after-months and --min-free-percent say. On Python 3.10 and later, the settings under a section header with a ] in text after it ([notify] # see [docs]) now apply, as on 3.6 to 3.9, so notifications set there can start at the restart. --print-unit prints the unit and refuses what the config cannot take (exit 2); the pattern, executable and unit-path checks run only in the install. Each tool's own release notes on GitHub have the details. |
2026.48.1 |
2026-11-23 | Weekly roll-up. Upgrading from 2026.47.1: in zsh, run mssh --completion install again as each account; a monitor of statblk --check can see 3 or 1 where it saw 0; at hpcp's countdown prompts a Ctrl-D is no answer, so the default applies when the countdown ends (at -dd the overwrite goes ahead: answer n and Enter, or press Ctrl-C); and hpcp -rme -rf removes the extra files without asking, so a cron or piped one that exited 147 now removes them (and with -d moves the sources). Scripts that read hpcp's output or statblk -J, and programs that import multiCMD, simple-iotest, statblk or TSVZ, have notes below. hpcp 9.92 → 9.96: Security fix: a -co rewrite that goes beside, where cp makes the new file by name (Linux without /proc, the BSDs, or a cp other than GNU cp), gave the old file's owner and mode to whatever a link another user put at that name led to, or to that user's own file renamed in there (in a root run, its owner, group and whole mode, set-ID bits included; otherwise only its group and mode, and only to a file the runner owns); hpcp now sets them through a descriptor and keeps the old copy (exit 190) when anything else is there. Upgrade if other users can write where root runs hpcp -co. Every removal now shows its progress, and so does a -pfl listing: the frames are on stdout, each starting with a carriage return, so a log holds them and grep Removed matches them. A pool job's error lines show when the job returns, and none of a job that never returns (a stop, a killed worker). -rme -rf removes the extra files without asking (-rme alone still asks). With a reader that closes the pipe early (hpcp ... | head -1), the run goes on to its end with its own exit status. -tfs checks every destination before making it, on macOS too: a missing one is judged by its nearest existing parent, and one whose type cannot be read is left out (227). With the toolbox's multiCMD 1.69: at hpcp's countdown prompts a Ctrl-D, alone or once after text, is no answer, so the default applies when the countdown ends: at -dd's All data on DEST will be lost (60 s, default y) the run goes ahead, where 2026.47.1 ended it with an error (alone) or waited for Enter (after text) (text with no Enter was no answer before either; Ctrl-C still aborts); sizes given to -L, -F, -dis and -ddr are exact (4.1G is 4,100,000,000 bytes, not 4,099,999,999). multiCMD 1.64 → 1.69: mcmd changes only at a terminal that reports no size, now taken as 80x24 (its summary table, a pty-mode command's window). Library: format_bytes() returns 0, with an "Invalid size format" line on stderr, for any string that is not wholly a size (1.64: None for an unknown unit, and '5Gb/s' read as 5 G), and turns a size string into exact bytes; input_with_timeout_and_countdown() returns None when its countdown ends if stdin has ended (Ctrl-D, /dev/null), where 1.64 raised (EOFError and others), or if text and one Ctrl-D were typed with no Enter, where 1.64 waited for the Enter; print_progress_bar() frames fit the terminal, the first frame at or past its total ends its line, and a control character in a prefix or suffix (an ANSI colour code's escape too) is drawn as ?. multissh3 6.46 → 6.47 (mssh-complete 0.19 → 0.20), zsh completion only (bash, ble.sh and fish are unchanged): run mssh --completion install again in zsh as each account. Among the fixes: a ~/ typed after dd's = stays for the remote shell (6.46 wrote this machine's home path), and a double-quoted command holding a backslash inside a quote of its own no longer runs into a memory error of zsh's own completion that could end zsh 5.9. simple-iotest 3.70.1 → 3.71.0: a write or read the OS refuses fails on its first error (3.70.1 retried it once). For code that imports iotest: format_bytes() only formats numbers (parse_size_arg() parses sizes) and simultaneous_role_worker() is replaced by worker(..., simultaneous_run_id=...). statbtrfs 0.44 → 0.45: after a Ctrl-C during -s, a scrub cancel that btrfs refused says so and points to btrfs scrub status (0.44 printed "Cancelled scrub" whatever btrfs answered). tsvz 5.17 → 5.18: a TSVZClient made before a fork() works in the child, which now connects anew (with no handler, opens an engine of its own) and leaves the parent's connection, engine and rows alone (in 5.17 a child served by a handler shared its parent's connection, so the parent's read of one key could get the child's row of another; with no handler its first write waited for ever). A Ctrl-C caught in release_file_obj()'s clean-up no longer leaves the store's write lock held, nor does one a TSVZedLite catches in a .tsvz write leave its file locked, while its path still names the file the Lite holds (one caught just as release_file_obj() begins, or as get_file_obj() takes the lock, can still leave the write lock held, rarely). The file formats are unchanged; a TSVZedLite .tsvz set costs about 4 to 6 µs more. statblk 1.61 → 1.64: --check exits 3 (unknown) where 1.61 exited 0 when a command it reads was stopped by --timeout, is missing or failed, and could hide what it checks (on macOS mount; with a pattern that is not -D, also lsblk or diskutil: write device patterns with -D), and for a mount whose statvfs fails (FSUSE% ERROR); a failing disk that a filter hid now exits 1. Each such command is named on stderr. A value statblk could not read is blank (null in -J) instead of dropping the row or reading as 0. On macOS every device is listed, mounted or not (an unmounted disk whose SMART cannot be read makes --check exit 3), diskutil and mount are found under cron's PATH, a pattern also matches LABEL and UUID, and READ and WRITE are blank. On Linux a hidden NVMe multipath path node (nvme3c3n1) is no longer a row. Library: get_drives_info() and parseMount() take unanswered=, find_smartctl() is find_command(name), SMARTCTL_FALLBACK_DIRS is SBIN_DIRS, and LSBLK_MISSING_NOTE is gone. firewatcher 1.67 → 1.68: --install-service checks the unit name and every value before it writes anything: a name systemd cannot load, or a value that is not UTF-8, exits 2 with nothing written. Each tool's own release notes on GitHub have the details. |
2026.47.1 |
2026-11-16 | Weekly roll-up. An upgrade from 2026.46.1 needs nothing. hpcp 9.84 → 9.92: Security fix: the name probe of 9.83 to 9.90 could be made to delete another directory's files; upgrade if another local user can write a directory you copy into. A move fsyncs each copy and every directory it writes before any source is removed (a move of many small files is slower on a slow disk), and -rm and -rf now start at least 16 workers by default (-j sets the count). A rewrite still goes in place; the new -wb/--write_beside writes it beside and renames it over, and -rbw/--read_before_write reads the source to its end first. A FIFO, socket, device node or link at a landing is replaced, not written through. Exit codes in new cases: 190 (a rewrite beside that failed, or a landing whose owner, mode, times or xattrs cannot be set), 191 (a pool worker died), 212 (a copy or directory that cannot be written to disk), 213 (two sources for one file, or a -d destination that now leads elsewhere), 241 (a -L, -F, -dis or -ddr value with a digit that is no size); -L .5G and -L ' 10M', which ran with no limit, now limit; a rerun with nothing to change on a read-only mount exits 0. A -dd cleanup no longer prints the output of its commands that ended 0. Library: sync_directories_serial and sync_directories_parallel are gone, the _batch ones return one record per shared destination directory, and pip installs no multiCMD with hpcp. A stopped run ends instead of hanging (130 for Ctrl-C). multiCMD 1.58 → 1.64: mcmd ... | head ends quietly by SIGPIPE (141) instead of a traceback and 120, and mcmd notices a reader that quit even while its commands print nothing, so a run that must outlive its reader needs its stdout in a file. Library: a new pass_fds=; output readers are no longer threading.Thread objects; a program that handles a stdout whose reader quit, or one that failed (a full disk), needs a look (multiCMD 1.63 and 1.64 notes). Fixed: a Ctrl-C as a command starts no longer leaves it running (3.6 to 3.10) or hangs later thread starts. tsvz 5.9 → 5.17: no file needs rewriting (5.10 to 5.14 changed the bytes some deletes and compactions write), and a delete's commit compacts again, so 2026.46.1's advice to call hardMapToFile() now and then is no longer needed. For programs: TSVZed.shutdownEvent is no longer a threading.Event; a .tsvz commitAppendToFile() is a round trip to the writer thread (about 13 µs more); in a forked child rewrite_on_exit and rewrite_interval read False and 0 (set rewrite_on_exit again in a child that should compact) and monitor_external_changes reads True. Fixed: a Ctrl-C no longer hangs the program at exit, loses .tsvz rows or leaves a lock held; a served client reconnects after a cut connection. statbtrfs 0.43 → 0.44 and statblk 1.60 → 1.61: with multiCMD 1.61 or later (the toolbox's 1.64, or their embedded copy, now 1.61), a Ctrl-C as a command starts no longer crashes Python 3.6 to 3.10 or hangs the next command; statblk on macOS gives diskutil and mount no limit at -t 0 and limits mount too otherwise. Each tool's own release notes on GitHub have the details. |
2026.46.1 |
2026-11-09 | Weekly roll-up. Upgrading with pip 9 (EL7, EL8): the mixed-case commands (multiCMD, multiSSH3, TSVZ) are now script files, so stock pip 9 can upgrade and uninstall the toolbox from this release on; coming from 2026.45.3 or earlier, see Installation. hpcp 9.80 → 9.84: Layout change: a path from a list lands at <dest>/<path as given>, keeping its tree. A same-name clash, a file against a directory, a landing on a source file and a device named by -d are refused (exit 213) instead of overwritten; a failed copy keeps the destination's old file; -co never reads a FIFO, socket or device node; hpcp no longer calls sync(2) on every filesystem; xxhash is not installed on Python 3.6, so pip3 install hpcp works on stock EL7 and EL8 with no compiler; unshare is needed for xfs geometry on EL7; two names a case-folding destination (vfat, exFAT, NTFS ignore_case, ext4/f2fs casefold) takes for one are a clash (213) instead of one file's content lost, asked of the filesystem itself; a named source that is not there is reported (207); a destination that cannot be made is left out (193) instead of a traceback; a move never removes a source that its landing does not hold (213), and -rme never removes a source; times are compared at the step the filesystem keeps (2 s on vfat, 10 ms on exFAT). Known: a move does not yet flush its copies to disk before it removes the sources (as in every earlier version); 9.85 does. multicmd 1.56 → 1.58: faster command starts on Python 3.6 to 3.10. multissh3 6.39 → 6.46: completion fixes in bash, ble.sh, zsh and fish: a local file name goes in quoted for the remote shell, a name holding whitespace is no longer offered for a remote command typed as words, an expansion you typed stays as typed, and this shell's own functions are no longer offered as remote commands. Change: when TAB's query misses MSSH_COMPLETE_TIMEOUT, a word that may be a remote command's or a password gets nothing, not a local file name. In zsh (run mssh --completion install again): a quote after a name's = stays, a command inside backticks completes as one inside $( ), history names are offered beside local ones in a word holding a /, and TAB no longer leaves MATCH, MBEGIN and MEND set. tsvz 5.0 → 5.9: Behaviour change: nothing rewrites a file unless the program asks: TSVZed no longer rewrites a file when it opens it, and move_to_end appends. Readers wait while another process rewrites the file (new lock layout); writes never cut a row, and rows wider than the column count are read whole; a scrub or clear writes over the file and keeps another process's rows; --x-header H makes line 1 the header for every tsvz operation; no Fatal Python error at exit beside a writer thread; "External changes detected" prints only with verbose=True; a delete takes out only the deleted keys' lines and moves no other row; every writer pads an appended row to one width; checkExternalChanges() no longer misses another process's append. Upgrade: a one-column file with superseded lines now keeps them until a rewrite you ask for, so a program that keeps one store open and deletes often should call hardMapToFile() now and then. statblk 1.58 → 1.60: -t 0 waits for lsblk with no limit. statbtrfs 0.38 → 0.43: EL7's btrfs-progs 4.9.1 scrub status is read, and a failed status read no longer counts as "no scrub running"; a btrfs the kernel forced read-only after an error is reported; -s on a read-only mount runs a read-only scrub; -d never hides a problem. Monitors: a plain run exits 2 until a scrub completes, so a scrub interrupted by a reboot alerts until it is resumed. tee-logger 6.44 → 6.45: a day's logs are deleted only once their archive is on disk. simple-iotest 3.70.0 → 3.70.1: license metadata only. firewatcher 1.66 → 1.67: the journal position and month archives are flushed to disk before they are renamed into place, and a saved position never covers capture lines not yet on disk, so a hard reset no longer costs the lead-up to it. Each tool's README has its upgrading notes. |
2026.45.3 |
2026-11-03 | Mid-week hotfix, so hosts can move to firewatcher 1.66 now. firewatcher 1.65 → 1.66: Security fix: LLM and ntfy requests no longer follow redirects. In 1.65 a 301, 302 or 303 turned the POST into a GET that carried every header but the content ones to whatever host the Location named: the Authorization header (the LLM api_key or the ntfy token) and, for ntfy, the push's title and priority. For ntfy nothing was published, yet the push was logged as sent (307 and 308 were already failures). If an LLM or ntfy URL of yours redirects, rotate its key or token, and for ntfy look for pushes 1.65 lost. Every request now refuses redirects, as the events POST already did: a 3xx is a failure, logged as HTTP <code> from <origin> (redirect, not followed) (the events POST's failure line gains that suffix), so set a redirecting URL (such as http:// to https://) to its final address. A user name or user:password in the LLM, ntfy or events URL (from the config, or the --llm-base-url or --ntfy-url flag) is still not sent, and now prints a startup warning naming the setting by its config key, never its value; the approved exception, a password that starts with digits and a / or with /, ? or #, gets no warning (firewatcher's docs/limitations.md). The sdist ships docs/limitations.md, and the README's links work on the PyPI page (they point at GitHub's master). A running firewatcher service keeps its old version until it is restarted. |
2026.45.2 |
2026-11-03 | Mid-week cut for a feature release, so hosts can move to firewatcher 1.65 now. firewatcher 1.64 → 1.65: new [notify] events_url and events_token (or FIREWATCHER_EVENTS_TOKEN): every finished capture is POSTed as JSON to that service, with an excerpt of the capture (at most 16384 characters once JSON-encoded) and the token as Authorization: Bearer. With events_url set, firewatcher's own LLM analysis is off whatever [llm] enabled says (and [llm] base_url and model are not checked): the service judges, and the event's push field is always_notify. A 2xx answer means the service has the capture, and nothing goes to ntfy. When the POST fails, only always_notify captures are pushed to ntfy, and only with [notify] enabled, so with always_notify blank (the default) none are; the others stay in the capture folder and the journal. Without events_url nothing changes there. Behavior change for URLs: an LLM URL (with [llm] enabled), an ntfy URL (with [notify] enabled) or an events URL whose server part is not a plain host name or a bracketed IPv6 address with an optional :port (0–65535) now stops firewatcher at startup, as do some URLs carrying a user:password (firewatcher's README has the exact rules); 1.64 checked only the scheme, spaces and control characters. A user:password in a URL is stripped before the request, except for a password that starts with digits and a / (or with /, ? or #): such a URL reads as a host, port and path as written, and the request goes to that host (firewatcher's docs/limitations.md). URLs are shown only as their server. The 2026.45.1 note on --requires-mounts-for is corrected: on systemd 229 and older (EL7), a path with %, " or \ is still read as a different path. A running firewatcher service keeps its old version until it is restarted. |
2026.45.1 |
2026-11-02 | tsvz 4.9 → 5.0 (major). The store formats are unchanged (a compressed .tsv is now rewritten in members of at most 1 MiB, which 3.39 reads). Breaking: a key, value, header, defaults line or marker the file's encoding cannot hold (UTF-8 for .tsvz, encoding= for a .tsv), such as the lone surrogate os.fsdecode gives for a non-UTF-8 file name, raises TSVZEncodeError (a ValueError) and writes nothing, where 4.9 stored ? (its tsvz stored U+FFFD for a non-UTF-8 argument, and its .tsvz file functions (appendTabularFile, clearTabularFile, scrubTabularFile) raised UnicodeEncodeError); to store ?, pass errors='replace' to the writing functions or to TSVZed, TSVZedLite and TSVZClient. TSVZed and TSVZedLite refuse such a row when it is set, and tsvz exits 1 with the message. A rewrite that meets such text (a row changed in place) leaves the file as it is: mapToFile() and hardMapToFile() raise, and the rewrites a TSVZed makes itself report it once; with a rewrite_interval they are tried again after it (at least a second), the wait doubling at each refusal in a row up to a minute (or rewrite_interval, when longer), and a rewrite at close() does not wait it out; at the default rewrite_interval=0 one is tried again on its own, on the same wait, only while the file is to be made again (it was removed, another process changed it, or a write to it failed), and a compressed .tsv another writer left damaged is made again at the first append after that wait; otherwise only one asked for is (mapToFile(), hardMapToFile(), rewrite(force=True), rewrite_on_exit). Under a non-UTF-8 encoding=, a key read as U+FFFD cannot be deleted or updated. A TSVZed writes a .tsv-family file from its own thread only, so a Ctrl-C raises in the caller but no longer cuts the write (in 4.9 a Ctrl-C while TSVZed() opened a compressed store could leave it with no readable row); at exit a write in progress is finished, and a second Ctrl-C abandons it. A closed TSVZed or TSVZedLite is freed (4.9 kept every one until exit). Another process's append to a .tsv file is read from where the store left off, so an order set by move_to_end and # keys survive it, and any reload changes memory in place, so another thread never finds a live key missing. A TSVZed's whole rewrite writes over the file and then cuts it, so a reader never meets it emptied (scrubTabularFile, clearTabularFile, tsvz scrub and tsvz clear of a .tsv still empty it first, as in 4.9). A file another process removed, or a compressed .tsv another writer left damaged, is made again from memory at the store's next write. An append to an existing empty .tsv writes the header first, and reading one gives an empty store; TSVZed on a compressed .tsv in a codec this Python lacks (zstd before 3.14, or bz2 or xz on a Python built without them) raises ImportError instead of reading the compressed bytes as text (TSVZ's README, L8 to L14). .tsvz stores see another process's append made right after their load, a commit or a clear (4.9 missed it until the next change) and raise a strict header mismatch at the first read. tsvz runs every operation through the engine tsvz serve uses, with the same output; a server of a .tsv (or other tab- or NUL-delimited) file is now found by tsvz commands, TSVZClient and tsvz stop (4.9's clients rejected its pointer file). On macOS, and wherever TSVZ locks with lockf, a read in another thread of the process can still drop a write's lock, as in 4.9 (deferred; TSVZ's docs/limitations.md lists it with 5.0's other limitations). Long-running programs that import TSVZ, and running tsvz serve handlers, keep 4.9 until they are restarted; 5.0's tsvz stop cannot stop a 4.9 handler of a .tsv (or other tab- or NUL-delimited) file (it rejects that handler's pointer file), so send that one SIGTERM (its pid is on the pid line of its pointer file, STORE.serve). multissh3 6.38 → 6.39 (mssh-complete 0.11 → 0.12), a simplification pass. Behavior change: ssh, scp, rsync and ssh-copy-id always get mssh's ConnectTimeout, ServerAliveInterval and ServerAliveCountMax (DEFAULT_SSH_*: 30, 15 and 4), after -ea's options, so an -o in -ea still wins but the same options in your ssh config (~/.ssh/config, /etc/ssh/ssh_config, -ea '-F FILE') no longer do, where 2026.43.1 let your ssh config win: set DEFAULT_SSH_CONNECT_TIMEOUT, DEFAULT_SSH_SERVER_ALIVE_INTERVAL or DEFAULT_SSH_SERVER_ALIVE_COUNT_MAX in mssh's config file instead, or 0 to leave that option to the ssh config (an interval of 0 leaves the count to it too). An -ea '-o ServerAliveInterval=60' now also gets ServerAliveCountMax=4: a silent host fails after 240 s, not 180 s. A host dropped before login (sshd's MaxStartups) is tried again whatever address ssh's lines name, so OpenSSH 8.0 (RHEL 8) and its scp are retried too; a remote command that prints nothing and whose own ssh to another host is turned away the same way is run again (up to 3 times). A Ctrl-C (or a -t shorter than ssh's 30 s connect timeout) during --copy_id -p while ssh is still connecting can leave an empty ~/.ssh/ssh-copy-id.* per host (rmdir them). Output lines end only at \n (a form feed or another Unicode line break no longer splits a long line), and in output headers, merged groups and Skipping hosts:, hosts that do not compact into one range are listed in natural order (db2,db10), not sorted as text. A message mssh cannot write to stderr is dropped (6.38 wrote it to stdout, so mssh ... 2>&1 | true under PYTHONUNBUFFERED=1 exited 1 without running anything). Output before a run into a closed pipe (mssh -h | true, a usage error, the prompts) ends mssh by SIGPIPE: a shell still reports 141, and a program that starts mssh with Python's subprocess now sees -13 (6.38: 141). --store_config_file, its .bak and --add_control_master_config write through one atomic writer: root writing a user's config keeps its owner, and with the default answer b the new config keeps the old one's group where it can. Another user's config that you may write only through an ACL (or group or world write) is no longer written when you answer o or it is reached through a symlink: mssh prints Error: Unable to write to the config file: ... and the config on stdout (6.38 wrote such a file in place when it was 0600 or tighter). Under -11 with --error_only, --script or -Q, the Skipping unavailable host line is no longer printed. A __multiSSH3_UNAVAILABLE_HOSTS line in an env file is no longer read. Autocomplete: the completion index is format 3, so the first TAB after the upgrade starts a rebuild (until it is ready, TAB offers options, the remote command's own completion and your shell history; mssh --completion install builds it at once). bash completes a remote command as bash-completion completes sudo CMD, and a completion spec's -X, -P and -S now apply only to the words compgen makes. In the Ctrl-R menu's history tab, rows written by 6.26 and older go in single-quoted, so the local shell expands no !, $ or backtick in them. zsh no longer adds local file names beside a remote command's words where python-argcomplete is installed. Run mssh --completion install again as each account to get the new glue, which the bash and zsh changes above need (older glue keeps working). Quoting the local file names a remote command's completion offers, planned for 6.39 in the 2026.44.1 notes, is deferred to 6.40. For scripts: mssh-complete eval moved to python3 tests/replay.py in a source checkout (it now says so and exits 2); the index rebuild and the host prober lock with flock, and their --lock is accepted and ignored. hpcp 9.79 → 9.80 (requires multicmd 1.56; without it, or with an older one, hpcp uses its built-in copy, the full 1.56): every <TOOL>_PATH that names no executable file is now named once at the start of every run (Warning: CP_PATH=... is not an executable file; using cp from PATH.), where 9.79 named one only when hpcp started that tool itself, so a bad CP_PATH (cp runs in the workers) was never named; a variable other software sets for its own use prints the line too, harmlessly. A removal (plain -rm, a move, -rme, a forced patch apply: -siff with -fa) holds one directory descriptor per level of the tree, and hpcp raises its soft open-files limit to the hard one at start, which the tools it runs inherit. A tree deeper than ulimit -Hn (524288 on systemd hosts, 4096 on EL7) stops with "Too many open files" errors and leaves its deep part; on macOS the soft limit (256) stays, so trees deeper than about 250 levels stop there, where 9.79 removed them. A forced apply now removes deeper trees than 9.79's, which stopped at the soft limit. -dd settles udev (at most 10 s) after its sgdisk runs and before every lsblk partition listing: in 9.79 a listing in the moment udev re-added the partition nodes could miss a partition or its type, so mkfs was skipped and the partition copied with dd (with -ddr, exit 234 or a filesystem not grown) or the destination failed (exit 180), and a disk patch (-dd -diff, -siff) could refuse with a spurious Disk layout mismatch on a partition's fs_type. The mke2fs feature probe asks once for all names and, only if that is rejected, once per name, 8 at a time (one unknown name of 31: 32 runs, where 9.79 halved the list in 11 runs, 9 at best). tee-logger 6.43 → 6.44: compressed logs (as iotest writes them) are written as one whole gzip member (xz or bz2 stream, zstd frame) per flush, so a gzip or zstd log stays readable after a run is killed and a restarted run, or a second process with the same programName, appends to the same day's file (6.43: unreadable past that point). The cost: gzip and zstd logs with frequent WARNING+ records, or flush_interval=0, are larger (one record in 100 at WARNING+: 2–5% larger; one in 10: 40–45%; flush_interval=0: three times the size); xz and bz2 logs are unchanged. A compressed batch that cannot be written (a full disk) is dropped and reported each time, and a partial write is cut back so later records stay readable. Breaking for library callers: teeLogger.GZipFileHandler, BZ2FileHandler, XZFileHandler and ZSTDFileHandler are gone (BinFileHandler stays), and binary_mode=False no longer affects compressed logs. Two 6.43 changes are taken back: flush_interval is taken with float() ('30' is 30 s, and NaN acts as inf: a write only on WARNING and above, once 1 MiB of records is waiting, and at close; None still raises TypeError), and console lines go through print() again, still one write per line, so a replaced builtins.print sees them. Compressed records waiting at a fork() are written before it (Python 3.7+), a child no longer writes its parent's waiting records again, and a multiprocessing worker that ends normally writes its last records (6.43 duplicated such records, corrupted gzip and zstd logs, and lost a worker's last ones); a child that leaves with os._exit or is killed, the workers a Pool's terminate() ends included, still loses its unwritten records. The tee* methods log to the file before they print, so prog | head -1 no longer loses the record from the file. A logging.FileHandler you attach to the logger named programName is no longer closed when another teeLogger of that name is made, and a day-folder named like a date that is not one (2020-13-45) is skipped with a message instead of aged by its mtime. statblk 1.56 → 1.58 (1.57 was never pinned; both require multicmd 1.56): on Linux, a disk whose earlier smartctl is still stuck (older than --timeout, from an earlier refresh, run, cron job or another tool) shows TIMEOUT at once and gets no new smartctl, so statblk -w and repeated runs leave at most one stuck smartctl per disk instead of one per refresh (a few for a disk hidden by -M or a -D filter), and the refresh no longer waits out --timeout for that disk; macOS and --timeout 0 are unchanged. The check sees only processes in statblk's own /proc: with hidepid as a non-root user (--sudo), or in a fresh container, it cannot see an earlier stuck smartctl, so run statblk as root on the host, or in hidepid's gid= group. Without lsblk, the lsblk not found note goes to stderr after the table (once per run, and under every table while -w redraws a terminal), only when there are rows and a column lsblk feeds (FSTYPE, UUID, MODEL, SERIAL), so a healthy --check stays silent; it now shows with --sudo too. A reader that closes the pipe early (statblk | head) ends the run with 141, not 1, which --check uses for a problem. --debug no longer prints the "smartctl not found" hint. Library callers: get_drives_info no longer prints the lsblk note, and cache_decorator, clear_caches and debug_msg are gone. statbtrfs 0.37 → 0.38 (requires multicmd 1.56): an unreadable filesystem prints only the note under the table (Could not fetch complete info for <mounts>. Skipping...); the three raw lines before it are gone. A reader that exits early (statbtrfs | head) ends the run quietly with 141 instead of a BrokenPipeError traceback and exit 1 ("problems found"), and a Ctrl-C outside -s and -w (while btrfs hangs on a dying device) exits 130 quietly instead of a traceback. -s and -w clear the screen with ESC[H ESC[J, so a long run no longer pushes a table into the scrollback of terminals (VTE-based ones) every -i seconds. Library callers: find_btrfs_mounts() takes no argument and execute_command(s) lose wait=. firewatcher 1.63 → 1.64: --install-service and --print-unit write each --requires-mounts-for path the way systemd reads it back: made absolute and normalized as text (., .., //, a trailing /; symlinks are not followed, as systemd follows none), in double quotes when it holds whitespace, a quote or a backslash, and with % doubled; a path with a newline or carriage return, or one that is not UTF-8, is refused before anything is installed. 1.63 wrote the path as given, so systemd split one with a space into two, expanded a % in it, and ignored a relative one or one with .., silently dropping the dependency. A unit already installed keeps its old line until --install-service writes it again. |
2026.44.2 |
2026-10-27 | Mid-week hotfix. firewatcher 1.60 → 1.63 (1.61 and 1.62 were merged on GitHub as PRs #1 and #2 but never published; the firewatcher 1.61 on PyPI is a superseded build, use 1.63). The LLM now sees the matched event: a capture larger than [llm] max_bytes is sent as its header, the lines before and after the match and the end of the capture, where 1.60 sent the first 2 KB and the last ~46 KB and cut the event out of most large captures. Prompts fence log data as untrusted, --always-notify patterns are pushed whatever the model says, and the ntfy topic URL is redacted from output and errors. New optional [llm] notes / --llm-notes: a short note about the host, sent to the model as trusted context with each capture. Behaviour changes: a pattern set with no usable pattern now stops the daemon instead of watching for nothing, and settings are range-checked at startup, so a config 1.60 accepted can stop the service (check journalctl -u firewatcher after the restart); journalctl runs with -o short-iso, so journal lines in captures carry ISO timestamps; the journal is read only where journald runs or its files exist, otherwise /var/log/syslog or /var/log/messages. Captures keep going when the output folder fails (--fallback-folder), SIGTERM finishes the open capture, --capture-time-max caps how long repeated matches extend one, --min-free-percent keeps captures from filling a disk, and --buffer-max-mb bounds the memory for the lines kept before a match. After a restart the journal resumes from a saved position (--position-file), up to --resume-max (default an hour) back, so journal lines logged while it was stopped are matched once. SIGHUP reloads the patterns; systemctl reload needs the unit's ExecReload=, which units written by --install-service from 1.62 on have. Units written by --install-service now escape % and $, quote ' and a bare ;, and write newlines as C escapes in ExecStart arguments; a unit already installed keeps its old ExecStart until it is written again. A running firewatcher service keeps its old version until it is restarted. |
2026.44.1 |
2026-10-26 | hpcp 9.78 → 9.79 (requires multicmd 1.55): Behavior change: every <TOOL>_PATH override is now the program hpcp starts, bare command names included (CP_PATH=gcp), also for the tools it runs through multiCMD (before, only mkfs and losetup used them), so a stray MOUNT_PATH or CP_PATH in the environment that names an executable file now runs as that tool; one that names no executable file is ignored, and the tool on PATH runs. "Running command:" lines show the tool's full path. The tools whose output hpcp parses (xfs_info, dumpe2fs, blkid, sgdisk, lsblk, df and others) run in the C locale, so on a translated system -dd no longer silently stops mirroring xfs and ext geometry. The mke2fs feature probe ignores mke2fs.conf (a stanza naming a feature this e2fsprogs lacks made hpcp drop every feature it meant to keep), asks once for all names and halves a rejected list: one mke2fs run when every name is known and about 9 for one unknown name of 31, where 9.78 ran one per name (31); with many unknown names (e2fsprogs 1.42.9) it takes more, 45 against 31. A multiCMD timeout is recognized wherever Timeout! sits in stderr (a tool's reply to SIGINT after it made it a return-code error). A tool that exits 124 or 137 with nothing on stderr no longer crashes hpcp. The 2026.43.1 note on /hpcp-ext-feature-probe is corrected: e2fsprogs 1.45.x–1.46.2 (EL8, Debian 11, Ubuntu 20.04) created it; 1.46.5 (Ubuntu 22.04) and 1.47 did not, and EL9 is untested. tee-logger 6.42 → 6.43: Breaking: where a compressed log file uses it, flush_interval must be a number: None or '30' raise TypeError and NaN raises ValueError when the logger is made (6.42 printed a logging error for every record below WARNING for the first two, and kept a CPU core busy for NaN). float('inf') no longer prints a traceback from the flusher thread. Each console line is one write(), so lines from several threads no longer interleave and a replaced builtins.print no longer changes them. A failed background flush is reported once instead of stopping the flusher for good (with xz and bz2 that stream's records are still lost); records logged during the midnight switch are no longer lost; a failed close of the old log, or a stderr that cannot be written, no longer makes a log call raise; a signal handler that logs while its own thread rolls the log over no longer deadlocks. It now ships the GPL-3.0 LICENSE in its sdist and wheel. multicmd 1.54 → 1.56, with statblk 1.55 → 1.56 and statbtrfs 0.36 → 0.37 embedding 1.55: quiet=True now also hides the lines about a command that could not be run (Command path not found, 127; Command cannot be executed, 126; -1), whose reasons stay in task.stderr, and the unused __running_threads_lock and _live_procs_lock are gone. A Ctrl-C, or a SIGTERM handler's sys.exit(), stops the commands a call waits for, skips the queued ones and records them as stopped (1.54's join_threads() left them running); at exit, a command still queued on multiCMD's threads fails (-1, "not started: the interpreter is exiting") instead of starting and outliving the program; a command not seen to exit 1 s after SIGKILL is no longer tracked, and its pid is named on stderr ("not seen to exit 1 s after SIGKILL"). 1.56 does this with simpler interrupt handling, about 700 lines lighter; its rare corners (for example, two Ctrl-Cs microseconds apart, a Ctrl-C inside Popen as a serial run starts a command) are listed in multiCMD's docs/limitations.md. New per-call environment: env= and extra_env= on run_command, run_commands and AsyncExecutor, and mcmd -e NAME=VALUE / -e NAME. A command that times out while it redraws a \r progress line keeps its Timeout! line. Without lsblk, statblk says so on stderr (lsblk not found (it comes with util-linux): …) and still prints the table; without btrfs-progs, statbtrfs says btrfs not found on PATH: … and exits 2 (not when each btrfs command has to run through sudo). multissh3 6.37 → 6.38 (mssh-complete 0.10 → 0.11), autocomplete only; run mssh --completion install again as each account to get the new glue (older glue keeps working, without the newer features). bash completes a remote command's words from its own completion spec as bash would (-C completers such as aws, terraform and vault, -W word lists, -G globs, actions, -X, -P/-S and the -o options), where 6.37 ran only a -F function and offered local file names for the rest. Under readline, with a spec that has -o nospace (git, scp, rsync), mssh's words from history keep their trailing space and git-style words that end in a space no longer get a second one. zsh and fish pass the shell's locale to the engine; where mssh-complete is not on PATH the engine starts from cached bytecode (a bare query: 57 ms → 16 ms on Python 3.13); with completion-ignore-case on, mssh WEB:a groups only names that can be offered. Local file names offered for a remote command (by its spec's actions or -G, or when bash has no spec for it) are not yet quoted by mssh (planned for 6.39). |
2026.43.1 |
2026-10-21 | multissh3 6.31 → 6.37. Breaking: mssh no longer takes an abbreviation of one of its options (--user for --username, -c for -ci); spell them in full. Hosts skipped as recently unreachable now fail the run (hosts excluded with -X do not), and targets that name no hosts are an error. The word after -ea and -ia is their value also when it starts with - (-ea -v); a bare ssh or ipmitool option that needs its own value there (-ea -p 2222, quotes forgotten), or an mssh password option, still stops mssh. Safety, and it needs a reinstall: in a shell with nocasematch on (or after a completion file turned it on), bash's completion read complete -f cmd as -F, and TAB ran the remote command locally (6.31–6.36). The shell glue is a copy installed per user account, so for every account on every host where mssh --completion install was run, run it again as that account: until then the old glue, and the bug, stay. With bash's completion-ignore-case on, completion now matches the word in any case, as the shell's locale lowers letters; bash's completion gives the shell its nocasematch back after a Ctrl-C, keeps its variables from the shell's own completion functions, and works with any IFS. ssh can no longer prompt behind the curses view or show a typed password; ConnectTimeout 30 s and keepalives are the default (your ssh config wins), so one hung host no longer stops a run. File copies: -ea's ssh options no longer reach rsync as files (a private key passed with -i was copied to the hosts). Passwords reach sshpass and ipmitool through their environment, not their command line; a -p password is not echoed, and the > mssh line and the history say -p - (MSSH_PASSWORD gives one; --store_config_file still writes it to the config file). --ipmi tries admin/admin only when no other login is configured. root@dbs with an alias whose members carry their own user no longer logs in as root@postgres@db1. The TUI no longer polls (1000 waiting hosts: 0.13 cores instead of 1.47), and output lines that hosts print alike are kept once (200 hosts × 20,000 identical lines with -P: 3.0 GB → 0.17 GB). A bare mssh with DEFAULT_HOSTS null no longer crashes (it means all hosts), and with $XDG_RUNTIME_DIR set, mssh reads its unreachable-host state where it writes it. hpcp 9.73 → 9.78: hpcp -rm / is refused (9.73 hung on it). Plain -rm and -rme remove by directory descriptor, so a directory swapped for a symlink in a tree others can write to no longer leads them outside it. Legacy -fl -rme with a bare relative destination (data, .) no longer builds its extras under / (9.73 removed /data/extra). -rme leaves a filesystem mounted below the destination alone with its files, as rsync -x does: bind mounts, btrfs subvolumes, and automounts and NFSv4 submounts mounted on entering a directory. Trees deeper than Python's recursion limit are listed, copied and removed. On Python 3.6, -rm -pfl -F, non-UTF-8 file names and -rme's automount checks work. -dd no longer leaves /hpcp-ext-feature-probe in /: e2fsprogs 1.45.x–1.46.2 (EL8, Debian 11, Ubuntu 20.04) created it when 9.61–9.77 probed mke2fs as root; 1.46.5 (Ubuntu 22.04) and 1.47 did not, and EL9 is untested. It is an empty root-owned file, safe to delete by hand. The probe reads mke2fs in the C locale: a translated mke2fs made every feature count as known. tsvz 4.7 → 4.9: a read is redone when another tool rewrites a part in place under it (a scrub), and a read still changing after three tries is incomplete: get and read exit 1 and the handler refuses pop and setdefault. Reads start at the last snapshot part (#_snapshot_#, spec §19.10). scrub refuses a store declaring a spec version newer than it implements and writes nothing; so does clear on a single-part store (on a multi-part one it still appends tombstones). A marker value ending in a newline (0<LF>) no longer crashes the read. simple-iotest 3.69.1 → 3.70.0: new --json summary, -bs/--block_size, --verify (a CRC-32 trailer checked on every read), meta mode (create, stat and unlink of empty files), --start_at for synchronized multi-host starts, and an opt-in per-operation timeline (-tl). Fixed: lost results on long -d paths, the report printed twice, and misleading cache-drop and sync figures; invalid sizes exit 2. multicmd 1.53 → 1.54, with statblk 1.54 → 1.55 and statbtrfs 0.35 → 0.36 embedding it: the terminal-size fallback reads the columns, not the rows, so statblk | less no longer squeezes the table to the terminal's height. These three, firewatcher 1.59 → 1.60, multissh3, tsvz and simple-iotest now ship the GPL-3.0 LICENSE in their sdist and wheel (tee-logger 6.42 does not yet). |
2026.42.2 |
2026-10-16 | Hotfix: hpcp 9.72 → 9.73. -rm with a destination (a move) no longer deletes sources it did not copy: it is skipped after any copy error (Remove skipped, 212), and otherwise removes only the files and links the copy listed, then empty directories, so files written during the move, FIFOs, sockets, device nodes and the files of a -do copy stay; a move onto itself (hpcp -rm /data/x -d /data/) is refused, and -rm -di NEW.img creates the image first (9.72 removed the sources and made no image). The move's removal goes by directory descriptors without following symlinks, so a source or directory swapped for a symlink during the copy is not removed from, and it needs about half of 9.72's metadata operations. -rme -di no longer empties the image it just filled; -rme keeps the copy of an excluded path (absolute or not, -e 'cache/' included) and a filesystem's lost+found; a -d glob no longer yields /. One unreadable file or directory no longer stops a copy (Listing error, 209; the rest is copied), and -diff refuses a partial listing instead of writing delete rows. Link tracking is opt-in (-lt; it had been inactive since May 2025). -dd mounts source partitions read-only unless they are mounted live, and xfs clones mount with nouuid. Pool workers get the run's settings (-co, -ncd, -hs, -ctl on macOS, Windows and Python 3.14+). |
2026.42.1 |
2026-10-13 | tsvz 3.39 → 4.7 (major): .tsvz / .csvz / .nsvz / .psvz files now follow tsvz-spec-v1, so a file 3.39 wrote under one of those names reads differently — rename it to .tsv (see TSVZ's Breaking changes from 3.39); .tsv / .csv get bug fixes only. 4.7 passes the whole spec conformance suite: carriage returns and zero bytes in values are written as <CR> and <NUL> (older versions read those as text, so stop older tsvz serve handlers before upgrading; a value 4.2/4.3 wrote with a raw zero byte now reads as damage), parts names codecs, and a part in a codec this Python lacks (zstd before 3.14) is refused. Damaged compressed members and zero-filled lines are recovered, skipped or stop the read as the store's #_on_corruption_# says (recover by default); appends never read the store; a key ending in whitespace can be read and deleted by name, so tsvz keys s | tsvz delete s - deletes every key; tables line up CJK text. multissh3 6.25 → 6.31: config and env files are only trusted when only you (or root) can change them and are no longer read from the current directory (a host name defined only there now says so), stdin is closed when no TUI runs, faster output reading and host lookups, ~/.ssh/config aliases and IPv6-only hosts, one Ctrl-C cancels the run, the summary table lines up CJK and colored output, and piped output (mssh ... | less) is sized by the terminal's width instead of its height. New opt-in shell autocomplete for bash, zsh and fish (mssh --completion install, new mssh-complete command): TAB completion of hosts, options and commands from history and every host source, grey suggestions, a Ctrl-R picker, and warnings before Enter about unknown or unreachable hosts and conflicting options, from a background prober that only uses DNS, ssh -G (which runs the ssh config's Match exec commands) and ping. multicmd 1.49 → 1.53: real exit status, -t no longer kills a command after 60 s by default (0 = never is the new default; pass -t 60 to keep the old behavior), commands from files or stdin, tables line up CJK text. statblk 1.42 → 1.54: --check health mode with exit codes, spun-down drives are not woken for SMART, CJK names and labels line up in the table. statbtrfs 0.30 → 0.35: -w/--watch, btrfs-progs 6.x missing devices, CJK paths line up in the table. simple-iotest 3.68.0 → 3.69.1: failed I/O ops are counted and make the exit code 1 (was always 0), files of 2 GiB and up are written and read in full, a run that won't fit on disk is refused before anything is written, new -u/--unique_files (dedup-proof test data) and -cl/--cleanup, -addr no longer needs curl, and read/index runs need half or none of the data memory. tee-logger 6.40 → 6.42: hang, crash-data-loss and log-cleanup fixes; the Log file: banner moves from stdout to stderr, compressed logs (as iotest writes them) use zstd instead of xz on Python 3.14+, and an unwritable log directory falls back to $TMPDIR/teeLogger-<uid>/. hpcp 9.64 → 9.72 (embeds multiCMD 1.52): disk-level patch images (-dd -diff makes and -siff applies a patch of whole GPT disks: changed files per filesystem, raw areas, identity values), a repair step and exact-case names on apply, exclusive opens and a disk lock while writing, labels / GPT names / exFAT serials copied exactly, -e matched inside each mounted filesystem, automounted ESPs and btrfs subvolume roots handled, forced removals that cannot leave the target, and a fix for -diff / with a blank line in its -x file (or -e /), which wrote a patch deleting every file: such patterns are now refused. firewatcher 1.58 → 1.59 (less CPU and memory per line). |
2026.40.1 |
2026-09-28 | simple-iotest 3.67.0 → 3.68.0: IOPS (call/sync) and op counts in every mode's report, including index; fixed worker count for repeated role keys (e.g. write s), which over-reported size and call bandwidth. |
2026.39.2 |
2026-09-23 | Mid-week hotfix. Restored requires-python >= 3.6 (2026.39.1 had raised it to 3.8 for TSVZ 4.0 while still pinning tsvz 3.39, so pip on 3.6 silently stayed on 2026.38.1). hpcp 9.62 → 9.64, multissh3 6.24 → 6.25, firewatcher 1.57 → 1.58. |
Full history is in the commit log.
Requirements
- Python >= 3.6
Nothing outside the standard library is required; the optional libraries below only add features or speed.
Optional Python libraries
Heavier libraries are imported defensively — every tool runs without them, just with reduced functionality or performance.
| Library | Used by | Effect when present |
|---|---|---|
curses |
multiSSH3 |
Interactive TUI instead of the plain text output |
numpy |
iotest |
Much faster random-number generation in the I/O benchmark |
xxhash |
hpcp |
Faster hashing; falls back to hashlib.blake2b |
resource |
multiSSH3, TSVZ |
Resource-usage reporting |
argcomplete |
TSVZ, statblk, statbtrfs |
Shell tab completion (pip install '<tool>[completion]') |
xxhash is declared by hpcp on Python 3.7 and later, and imported defensively,
so hpcp works without it. On Python 3.6 (EL7 and EL8) it is not installed, because
building it there needs a compiler; pip3 install xxhash adds it.
Installation
Use pip:
pip install cas-toolbox
On EL7 and EL8, run python3 -m pip install --user -U pip once before a --user install or
upgrade. The stock pip there (9.0.3 on Python 3.6, and the python38 and python39 pips) leaves
the old version's record behind on any pip3 install --user -U, for any package. A later
pip3 uninstall cas-toolbox then removes the commands but leaves the old version listed, and
pip3 install --user cas-toolbox answers "Requirement already satisfied" and brings nothing
back. If that has happened, run pip3 uninstall cas-toolbox again until pip says it is not
installed, then install again. A venv, a system-wide install, and an upgrade to a pinned
version (cas-toolbox==2026.46.1) are not affected. The cause is a Red Hat patch to pip.
Use pipx:
pipx install cas-toolbox
Use uv (as an isolated tool, with numpy for the iotest benchmark):
uv tool install --with numpy cas-toolbox
Use uv to add it as a dependency:
uv add cas-toolbox
Note on
numpy: it is only used byiotest's random-number generator and is not needed anywhere else in the toolbox.
To install one tool on its own, install its PyPI package directly instead of this meta-package.
Upgrading from cas-toolbox 2026.45.3 or earlier with pip 9, the pip of EL7 and EL8
(pip3 --version), stops with configparser.DuplicateOptionError: ... option 'multicmd' in section 'console_scripts' already exists, with or without --user; the name can also
be multissh3 or tsvz, and can change from run to run. pip3 uninstall cas-toolbox of
those releases stops the same way, always naming multicmd. The installed release keeps
working. Run pip3 install -U pip once (pip3 install --user -U pip for a user install),
then upgrade as usual.
With pip 10 or later, in a venv whose path has a space or is too long for the kernel's #!
line, multiCMD, multiSSH3 and TSVZ do not start (the error varies: "bad interpreter",
import: command not found): use multicmd, multissh3 and tsvz. With pip 9 no command
starts in such a venv, as in earlier releases. uv and system or --user installs are not
affected.
pip3 uninstall cas-toolbox removes all 17 commands and leaves the tools installed, because
the toolbox owns those files. pip3 install -U --force-reinstall --no-deps multiCMD, and the
same for each other tool, brings that tool's commands back.
Commands provided
| Command | Tool |
|---|---|
hpcp |
hpcp |
mcmd / multicmd / multiCMD |
multiCMD |
mssh / mssh3 / multissh / multissh3 / multiSSH3 |
multiSSH3 |
mssh-complete |
multiSSH3 (autocomplete engine behind mssh --completion) |
iotest / simple-iotest |
simple-iotest |
statbtrfs |
statbtrfs |
tsvz / TSVZ |
TSVZ |
statblk |
statblk |
firewatcher |
firewatcher |
Every command supports --help / -h and -V / --version, except
mssh-complete, the engine the shell glue runs (run it bare for its usage).
Verifying an install
hpcp -V && mcmd -V && mssh3 -V && iotest -V && statbtrfs -V \
&& TSVZ -V && statblk -V && firewatcher -V
cas-toolbox itself exposes no command — it is a dependency bundle only.
From a checkout that has the nine upstream repositories side by side,
getCASVersions.sh prints every tool's version at once:
./getCASVersions.sh
Development
This repository holds only the meta-package (pyproject.toml, uv.lock,
README.md, getCASVersions.sh). The upstream sources live in their own
repositories — see the links below.
uv sync --frozen # resolve the locked dependency set
uv build # build wheel + sdist into dist/
Pins are exact (==) on purpose: the bundle is meant to be reproducible.
Author
- Yufei Pan (pan@zopyr.us)
License
GPL-3.0-or-later
Links
Metadata
Release files for cas-toolbox 2026.49.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cas_toolbox-2026.49.1.tar.gz | 90.9 kB | Without provenance | Details for cas_toolbox-2026.49.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cas_toolbox-2026.49.1-py3-none-any.whl | Python 3 | none | any | Details for cas_toolbox-2026.49.1-py3-none-any.whl |
Total release size: 132.2 kB
Release files / cas_toolbox-2026.49.1.tar.gz
| Download URL | cas_toolbox-2026.49.1.tar.gz |
|---|---|
| Size | 90.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65ff858d8c6cb869cc20db82ad02a39609557c8b8d4be8afc2d4d8666be5e9e6
|
|
BLAKE2b-256 checksum How to use checksums |
639c3393dad7265682e332f66dee7bad9e66eaf25a3c89e3fce29ebdc61c3459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cas_toolbox-2026.49.1-py3-none-any.whl
| Download URL | cas_toolbox-2026.49.1-py3-none-any.whl |
|---|---|
| Size | 41.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5670b7c31c27a855b96f519ecfedf3c5ec9e1a2e9e32f1188e0aa2091592a246
|
|
BLAKE2b-256 checksum How to use checksums |
e6d5d0051436c322280d9ab7595c5cf8689d6775c63f44596a42c216d2092e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for cas-toolbox 2026.49.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.