hypeman-remote-linux-tests
Skill373 starsChanged 22 days agoMITView on GitHub
Run Hypeman tests on a remote Linux host that supports the Linux hypervisors. Use when validating cloud-hypervisor, Firecracker, QEMU, embedded guest artifacts, or Linux-only integration behavior on a server over SSH.
In this repository3 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to run Hypeman tests on a remote Linux server in a way that is repeatable and low-friction for any developer.
- Very specific: line 13
Ensure the remote test shell includes /usr/sbin and /sbin on PATH.
- Distinctive: line 15
Run the smallest relevant test target first.
- Distinctive: line 16
Treat host-environment failures separately from product failures.
- Very specific: line 20
Prefer a short path such as ~/hm, ~/hypeman-test, or another short directory name.
- Distinctive: line 24
If a new test creates temporary directories for guest data, prefer a short root like:
- Distinctive: line 32
Before running Linux hypervisor tests, make sure the remote clone has the generated guest binaries and embedded VMM assets:
- Distinctive: line 50
If the main development is happening locally and the Linux host is only for execution, sync only the files you changed rather than …
- Very specific: line 58
After syncing, re-run the bootstrap command if the changes affect embedded binaries, generated assets, or files referenced by go:embed.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hypeman Remote Linux Tests
Use this skill to run Hypeman tests on a remote Linux server in a way that is repeatable and low-friction for any developer.
Quick Start
- Pick a short remote working directory under the remote user's home directory.
- Ensure the remote test shell includes
/usr/sbinand/sbinonPATH. - Bootstrap embedded artifacts and bundled binaries before running
go test. - Run the smallest relevant test target first.
- Treat host-environment failures separately from product failures.
Remote Workspace
Prefer a short path such as ~/hm, ~/hypeman-test, or another short directory name.
Cloud Hypervisor uses UNIX sockets with strict path-length limits. Long paths from default test temp directories or deeply nested clones can make the VMM fail before the actual test starts.
If a new test creates temporary directories for guest data, prefer a short root like:
mktemp -d /tmp/hmcmp-XXXXXXRemote Bootstrap
Before running Linux hypervisor tests, make sure the remote clone has the generated guest binaries and embedded VMM assets:
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
make ensure-ch-binaries ensure-firecracker-binaries ensure-caddy-binaries build-embeddedWhy:
go:embedpatterns in the repo require the bundled binaries to exist at build time.mkfs.ext4is commonly installed in/usr/sbinor/sbin, not always on the default non-login shellPATH.- Running
go testbefore this bootstrap often fails during package setup, not during test execution.
QEMU is usually provided by the host OS, so there is no matching bundled ensure-qemu-binaries target. If QEMU tests fail before boot, verify the system qemu-system-* binary separately.
Syncing Local Changes
If the main development is happening locally and the Linux host is only for execution, sync only the files you changed rather than recloning every time.
Typical pattern:
rsync -az lib/instances/... remote-host:~/hypeman-test/lib/instances/After syncing, re-run the bootstrap command if the changes affect embedded binaries, generated assets, or files referenced by go:embed.
Common Host Failures
Classify failures quickly:
- Missing embedded assets:
- symptom: package setup fails with
pattern ... no matching files found - fix: run
make ensure-ch-binaries ensure-firecracker-binaries ensure-caddy-binaries build-embedded
- symptom: package setup fails with
mkfs.ext4not found:- symptom: overlay or disk creation fails with
exec: "mkfs.ext4": executable file not found - fix: add
/usr/sbin:/sbintoPATH, then retry
- symptom: overlay or disk creation fails with
- Cloud Hypervisor socket path too long:
- symptom:
path must be shorter than SUN_LEN - fix: shorten the remote repo path and any temp/data directories used by the test
- symptom:
/tmpor shared test-lock issues:- symptom: test-specific lock or temp-file permission failures
- fix: prefer no-network test setup when the test does not require networking; avoid unnecessary shared lock files
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

