Smoke test
deploy/smoke-test.sh uses the image as both server and client:
deploy/smoke-test.sh # target from the host: nvidia, mesa or cpudeploy/smoke-test.sh --target cpu --no-buildIt goes through these steps, printing PASS or FAIL for each:
- Build the image.
doctor: the target’s runtime is usable.- Write a synthetic recording.
- Serve it, hardened.
- Enroll a read-only client and a control client.
- Receive the signal.
- Check refusals: no identity, a sort from the read-only client, fetching the server’s key.
- Run a sort on the server.
- Fetch the result and check it is identical.
- Check the audit log.
- Stop.
The script stops at the first failure, keeping its working folder for a look, and always removes its container.