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 6a50769269 k8s: the store-credential unit starts at fork, off the boot and switch path
`swarm-bao-store-auth` was a retrying oneshot on multi-user.target. A
oneshot's start job stays pending through its restarts, so a boot or a switch
with the secret store sealed waited on it for up to 15 minutes, the same
shape as #6901's CA publisher.

It is now `Type=simple` with the shared retry kept: the start job is done at
fork and the unit keeps trying until the store answers. `RemainAfterExit`
leaves it `active (exited)` once the credential is out, and the 15-minute
start timeout goes, as a start job done at fork has no use for it. Nothing
orders after the unit: the gateway reads the file at its next reload and the
pods wait in ContainerCreating for the Secret.

`is-active` is now true while the script runs and `systemctl restart` returns
at fork, so the k8s-services and k8s-nats tests wait for `SubState=exited` where they relied
on either.

Closes #6937
2026-11-27 21:59:28 +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
lib k8s vm tests: create the agent netns before k3s starts a pod, and delete pods strictly again 2026-11-27 21:29:38 +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 full-setup and the host swarmctl reach the controller as a pod, not through a host socket 2026-11-27 21:29:38 +01:00
full-setup.py swarmctl, vm tests: wait for the store's active node after an unseal 2026-11-27 21:30:12 +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
k8s-bao-login.nix k8s vm tests: create the agent netns before k3s starts a pod, and delete pods strictly again 2026-11-27 21:29:38 +01:00
k8s-collector-switch.nix vm-tests: a running collector keeps its cursor when it switches to the static user 2026-11-27 21:29:36 +01:00
k8s-controller.nix k8s: deny ingress to every pod by default 2026-11-27 21:30:12 +01:00
k8s-join.nix k8s-join: wait through a pull from a peer that fails first, and print the registry state when it keeps failing 2026-11-27 21:29:38 +01:00
k8s-nats.nix k8s: the store-credential unit starts at fork, off the boot and switch path 2026-11-27 21:59:28 +01:00
k8s-node.nix let a second machine join the main node's k3s and run pods from images only the main node holds 2026-11-27 21:29:38 +01:00
k8s-services.nix k8s: the store-credential unit starts at fork, off the boot and switch path 2026-11-27 21:59:28 +01:00
k8s-swarm-images.nix the responders drop the unix-socket listener nothing uses since WP4/WP5 2026-11-27 21:30:12 +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 semi-spread: show the controller pod's log where the test printed the empty journal 2026-11-27 21:30:12 +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
tuwunel-fallocate-probe.nix hive-matrix: the fallocate probe works inside tuwunel's sandbox 2026-11-27 20:38:14 +01:00