Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/vm-tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia df9cd8c7e6 archive: an empty prefix lists as no users, not as a failure
swarm-archive-users and hive-archive-backup read "No value found" on
stderr to tell a prefix that holds nothing from an error. With
`kv list -format=json`, bao answers such a prefix with status 2, `{}` on
stdout and nothing on stderr, so on a swarm whose archive has no users
yet the unit failed every 30 seconds forever, and every switch reported
it.

store_list, in the shared store helper, prints the names as a JSON array
and `[]` for a prefix that holds nothing: failed, empty stderr, stdout
`{}`. It is not decided on status 2 alone, which a refused token, a
sealed store and an unreachable store end with as well (their error is on
stderr). The two scripts use it. The script test runs it against a stub
that answers as bao does, with controls for a refusal, a sealed store and
a warning beside an empty answer, and the archive VM test's stub no
longer prints the table format's message for a JSON list. full-setup
waits for the users file to be rendered on a fresh swarm.

Closes #6840
2026-11-24 18:19:26 +01:00
..
android-dev-sample vm-tests: build a sample android app offline in the android-dev archetype 2026-11-22 13:25:29 +01:00
agent-android-dev.nix vm-tests: build a sample android app offline in the android-dev archetype 2026-11-22 13:25:29 +01:00
agent-ephemeral-rootfs.nix vm-tests: every test's globalTimeout stays under the one-hour job limit 2026-11-19 21:55:34 +01:00
agent-toplevels.nix vm-tests: factor the agent toplevels out of full-setup 2026-11-11 00:14:24 +01:00
full-setup.nix swarmctl bao init: save bao's raw output before parsing, and accept null key lists 2026-11-24 15:38:31 +01:00
full-setup.py archive: an empty prefix lists as no users, not as a failure 2026-11-24 18:19:26 +01:00
hive-egress-antispoof.nix hive-egress: the lease hook's lines reach the journal at info under egress-lease 2026-11-20 02:04:37 +01:00
hive-squid.nix egress: the forward chain refuses by default where the intercept is on 2026-11-22 19:47:38 +01:00
hyperhive-fixture-repo.nix nightly vm test: full single-host swarm setup up to the meta flake 2026-11-06 21:08:41 +01:00
priv-request.nix share one hive-priv request helper across the vm tests 2026-10-29 08:51:31 +01:00
ruff.toml vm-tests: full-setup script lives in full-setup.py, build-time values in env, ruff in ci 2026-11-11 22:35:54 +01:00
semi-spread.nix vm-tests: every test's globalTimeout stays under the one-hour job limit 2026-11-19 21:55:34 +01:00
swarm-archive.nix archive: an empty prefix lists as no users, not as a failure 2026-11-24 18:19:26 +01:00
swarm-builder-offline-fixtures.nix nightly vm test: full single-host swarm setup up to the meta flake 2026-11-06 21:08:41 +01:00
swarm-builder-offline.nix ci: type-check the semi-spread and swarm-builder-offline test scripts with stand-in values 2026-11-13 11:00:04 +01:00