Skip to content

VirtualBox smoke test: cover default graphics and launch the installer (#218) - #224

Merged
crhy merged 3 commits into
mainfrom
test/218-virtualbox-default-graphics
Sep 14, 2026
Merged

crhy merged 3 commits into
mainfrom
test/218-virtualbox-default-graphics

Conversation

@crhy

@crhy crhy commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Refs #218. The VirtualBox smoke test forced VBoxSVGA and never launched the installer, so it could not catch what users hit with VirtualBox's default VMSVGA adapter.

  • scripts/vm/virtualbox/smoke-iso.sh --graphics default|vboxsvga (or SPACED_VBOX_GRAPHICS); vboxsvga is today's behaviour. default passes no graphics flags and records the controller VirtualBox chose.
  • Distinct exit codes: 0 desktop and installer usable, 3 live session reached but no window manager (Compiz cannot start), 1/2 other or usage failures. On default, no-WM is confirmed three times to avoid false positives during slow Compiz startup.
  • The installer check runs on both profiles. It launches install-spaced-linux as the live user, waits up to 90 s for a Calamares process and a visible window, takes a screenshot, and closes it without installing.
  • make vbox-smoke (VBoxSVGA, BIOS+EFI) and make vbox-smoke-default (VirtualBox defaults, BIOS+EFI; exit 3 is the expected result until Trying SpacedLinux v29.26.2 as Virtual Machine. Install Spaced Linux will not launch #218 is fixed). The release checklist is documented in README.md and docs/9.26-TESTING.md. Not added to GitHub Actions, since hosted runners cannot run VirtualBox.
  • 11 static tests in tests/test_vbox_smoke.py plus check.sh assertions. shellcheck -S warning is clean. No VM was booted in this change.

Verified: check.sh passed; 103 unit tests OK. Reviewer fix: vbox-smoke-default treats exit 3 as expected so the EFI run is not skipped after BIOS.

Maintainer to run: make vbox-smoke (expect exit 0, screenshots under build/test-artifacts/) and make vbox-smoke-default (expect "NO WINDOW MANAGER" with controller VMSVGA today).

Implemented by Muse Spark 1.3 (opencode); reviewed by Claude.

🤖 Generated with Claude Code

https://claude.ai/code/session_0157UgH4vsxpmbozsNLjJ42m

rhy and others added 2 commits September 14, 2026 14:07
…launch (Refs #218)

smoke-iso.sh gains --graphics default|vboxsvga (SPACED_VBOX_GRAPHICS):
default leaves VirtualBox's own VMSVGA defaults in place and records the
chosen controller, while vboxsvga keeps today's forced settings. The
expected default-profile outcome (Compiz cannot start) is reported
distinctly as NO WINDOW MANAGER with exit 3, diagnosed via the
spaced-window-manager logger message, compiz process state, and wmctrl -m,
instead of timing out ambiguously. Both profiles now launch
/usr/local/bin/install-spaced-linux over SSH after the desktop is up, wait
up to 90s for a calamares process and window, screenshot it, and close it
without installing. Makefile gains vbox-smoke and vbox-smoke-default;
release docs and check.sh cover both. No CI change: hosted runners cannot
run VirtualBox.
The BIOS run's documented exit 3 (no window manager, #218) stopped make
before the EFI run. Treat 3 as the known result so both profiles run;
any other failure still fails the target.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157UgH4vsxpmbozsNLjJ42m
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploying spaced-linux with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7e9f063
Status: ✅  Deploy successful!
Preview URL: https://48801e7f.spaced-linux.pages.dev
Branch Preview URL: https://test-218-virtualbox-default.spaced-linux.pages.dev

View logs

@crhy
crhy merged commit bca0404 into main Sep 14, 2026
2 checks passed
@crhy
crhy deleted the test/218-virtualbox-default-graphics branch September 14, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant