Skip to content

Tyr v1.0.0

Choose a tag to compare

@noahzmr noahzmr released this 18 Nov 13:49
· 48 commits to main since this release

The first stable release of Tyr: one static binary for Linux servers (amd64 and arm64) that shows the hardware, judges its health, stresses it and writes the results where they are needed.

  • Inventory and health of CPU, memory, storage, network, GPUs/NPUs, power and the BMC's event logs: local Linux interfaces first (sysfs, procfs, SMBIOS, ethtool and IPMI ioctls), tools where they add data, Redfish where Linux has no answer; every reading judged against the part's own limit.
  • Storage: SMART for ATA, SAS and NVMe (also the drives behind HPE Smart Array from the BMC), I/O errors with the kernel lines, md and hardware RAID; iSCSI / NVMe-oF sessions with a timeline of the boot, Longhorn volumes, replicas and node checks; encryption at rest (LUKS, self-encrypting drives, controller and ZFS encryption); filesystem check and repair (K, tyr fsck) and a read-only file browser (B).
  • TUI with a tab per module, detail pages, an alert reference and an explanation for every alert.
  • Stress tests: CPU (a Prime95-style torture test built in), memory, storage, network, an isolated test for offline cores; the acceptance test tyr accept with PASS / REMARKS / FAIL, and a live ISO that runs it at boot.
  • Reports in Markdown with Mermaid charts and history across runs; NetBox sync of devices, interfaces, inventory and tags; webhooks for test events.

Install: download tyr_1.0.0_linux_<arch>.tar.gz, check it against SHA256SUMS, copy tyr to /usr/local/bin and run sudo tyr. The JSON snapshot schema is 1.0.

Changes

Storage

  • Network volumes, ioerr_cnt without own queries, cached SMART (2575e21)
  • iSCSI / NVMe-oF sessions with a boot timeline; Longhorn nodes (239220a)
  • SATA wear, data written and counters from the Device Statistics log (0bf8e9b)
  • A disk's own specified maximum temperature as its limit (44eeb37)
  • Encryption state of disks, RAID, filesystems and swap (c9e960f)
  • Check and repair filesystems from the TUI (K) and tyr fsck (dc28930)

CPU and memory

  • FFT on the vector units with FMA, like Prime95 (7c3b233)

Network

  • Explain drops and losses per interface (6b7cbfb)
  • Native ethtool requests, the tool as fallback (25fc29d)
  • VPN interfaces with peers, service journal and kernel lines (05facf2)

System, power and BMC

  • BMC event logs and server power in the TUI (8596bfc)
  • Decode the kernel's table natively, dmidecode as fallback (f5214da)
  • Talk to the BMC through /dev/ipmi0, tools as fallback (2465141)
  • NVLink-C2C GPUs (DGX Spark GB10, Grace) without false PCIe alarms (31edeca)
  • Drives behind HPE Smart Array, device part numbers, firmware (a9f3551)
  • Operating system and kernel; the OS as the NetBox platform (11b4a1e)

Stress, acceptance and ISO

  • Run CPUs up to their own limit; AMD Tjmax instead of 90 °C (c56d5f1)
  • Memory test runs to the limit; swap-out of others is not a trip (5abd420)
  • Prime95-style torture engine (a9a75bd)
  • Acceptance test with one verdict, and a live ISO that runs it (b2c38cc)
  • Results partition on the stick itself, and say why copying fails (63422d7)
  • Live view on the terminal, plain lines without one, console.log always (e9fe8f3)
  • Find Go for a build started with sudo, and say what failed (cf9492f)
  • No false I/O-error FAIL from Tyr's own SMART queries (15b7aef)

TUI

  • Start stress tests from any tab, install missing engines (3b47789)
  • Copy to the desktop clipboard where OSC 52 does not work (46a8a0f)
  • Memory and power sparklines on the cards (511087b)
  • NetBox write and dry run live, with progress and the objects as they go (7a4def9)
  • Cleaner tables and tabs (77a9d5c)
  • Build the ISO with the current settings and write it to a USB stick (I) (ab89de8)
  • The System card shows the operating system and the kernel (5c17a74)
  • Read-only file browser (B) (64b6a1d)
  • Feedback in the file browser (bacf2a5)

Reports

  • Markdown reports, history from saved JSON, a glow-style viewer (4b1ef93)
  • Generate them from the TUI; component and per-core health (d76d07e)
  • Mermaid charts for stress results, gantt of the runs (d01dc99)
  • Copy to the clipboard from the TUI and tyr view (494353a)
  • Age and power state of the components (048043e)

NetBox

  • Write machines and test results to NetBox, tags from rules (50cf547)
  • Pick site, role, tenant, fields and tags from NetBox; paste (2775d5b)
  • Dry run of a new device, the plan with values, one name per maker (75aa646)
  • Machines without a serial number, found by their MAC addresses (c2638c2)
  • No USB disks or empty drives as inventory items (afc3a9b)

Webhooks

  • Webhook notifications from tests, configurable by file, environment and ISO (4754f8c)
  • Keep webhook URLs out of logs and errors (40b605b)

Documentation

  • Testudo-style README, developer guide, deep dives, diagrams (1edc295)
  • Bring every document up to date (c317e10)
  • External tools - what is needed, how to install, official docs (0bba501)
  • Torture FFT, residue table and FFT paths (0cdb938)
  • Bring the documentation up to date (bafb447)
  • Network storage and Longhorn across the documentation (802830f)
  • Encryption, filesystem check and repair, the file browser (62da16d)
  • Flags, keys, exit codes and tests of the storage additions (cef3447)
  • Installing from a release, and how releases are made (87438d4)

Build and CI

  • Workflow and hooks that keep tool attribution out of the repo (baaa45c)
  • Catch attribution lines that contain non-UTF-8 bytes (10062b8)
  • Staticcheck clean again (HTTP status constants, unused code) (229a8bb)
  • Tooling for semantic-version releases (make publish) (609bb2a)

Other changes

  • Init (5ee3167)
  • README and checksums for copying the binary to other hosts (6b7753c)
  • Explain alerts and show where they happen (737179f)
  • Analyse offline CPU cores and test them isolated (90ccee5)
  • Start the stress or offline-core test from a detail page with S (e822302)
  • Offline CPU pages: BMC processor events, socket, commands per CPU (ba1ec3d)
  • Find cores that make programs crash; controller-wide SCSI errors (4f03f99)
  • Power supply state, boot history and HPE fans (740dcc1)

The first release: 66 commits.