openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Linux QA: set up Debian and Ubuntu VMs in VirtualBox, install OpenHuman, reproduce and debug Linux-specific issues

Open Al629176 opened this issue 4 months ago • 3 comments

Summary

Set up Debian and Ubuntu virtual machines using VirtualBox, install OpenHuman on each, and use them as a reproducible Linux test environment to surface, reproduce, and debug Linux-specific installation and runtime issues.

Problem

Linux-specific bugs are currently hard to reproduce and debug without a controlled, clean environment. Issues that only manifest on Linux (installation failures, runtime errors, dependency problems) cannot be reliably triaged without a standard setup that mirrors what end users run.

Tasks

1. VM setup

  • [ ] Create a Debian (latest stable) VM in VirtualBox with recommended specs (4 GB RAM, 40 GB disk, bridged or NAT networking)
  • [ ] Create an Ubuntu (latest LTS) VM in VirtualBox with the same specs
  • [ ] Both VMs have guest additions installed for clipboard sharing and shared folders
  • [ ] Snapshot taken of each clean OS install before OpenHuman is added

2. OpenHuman installation

  • [ ] Install latest OpenHuman release on both Debian and Ubuntu VMs
  • [ ] Document any install errors or missing dependencies encountered on each distro
  • [ ] Verify the app launches and reaches the main UI on both

3. Linux issue reproduction

  • [ ] Go through open Linux-tagged issues and attempt to reproduce each on both VMs
  • [ ] Log which issues reproduce on Debian only, Ubuntu only, or both
  • [ ] Capture logs, error messages, and steps to reproduce for each confirmed issue
  • [ ] Comment findings on each relevant GitHub issue

4. Debugging and fixes

  • [ ] Identify root causes for any Linux-specific installation or runtime failures found
  • [ ] Open new issues for any previously unreported Linux bugs discovered during testing
  • [ ] Where fixes are straightforward, implement and verify on the VMs

Acceptance criteria

  • [ ] Both Debian and Ubuntu VMs are set up, snapshotted, and documented (specs, OS version, VirtualBox version)
  • [ ] OpenHuman installs and launches cleanly on both
  • [ ] All currently open Linux-tagged issues have been attempted on both VMs with reproduction status noted
  • [ ] Any new Linux-specific bugs found are filed as separate issues with logs attached
  • [ ] Test findings written up and shared with the team

Related

  • Windows shell failure (bash/sh not available): #4692
  • spaCy missing click (Windows, may also affect Linux): #4688
  • CMD windows on every launch: #4814

Al629176 avatar Jul 14 '26 07:07 Al629176

Still open, and smaller than it reads — there are only 2 open os:linux issues to work through

This is a QA/ops task rather than a code change, so there is nothing in the tree to verify it against. What I can check is the workload in step 3, and it is much lighter than the issue implies:

$ gh issue list --repo tinyhumansai/openhuman --label "os:linux" --state open
#4719  [Linux/0.58.7] Voice input unusable (empty capture + PTT port popup)
#4247  Feature Request: XDG Base Directory support for host shell access

Two issues, and only one of them is reproducible on a VM. #4247 is a feature request (XDG Base Directory support for host shell access) — I've verified separately that it is unimplemented, so there is nothing to reproduce; it needs building, not testing. That leaves #4719 as the sole item for step 3.

So the acceptance criterion "all currently open Linux-tagged issues have been attempted on both VMs" is a single-issue job today.

Two suggestions

1. Don't rely on the os:linux label to define the scope. Two labelled issues across the whole backlog almost certainly under-counts real Linux problems — it more likely means the label isn't applied consistently. Two candidates that are Linux-relevant and not labelled:

  • #3871 ("cant install on docker") — a VPS Docker install that stalls and dies. The reporter never supplied specs or logs and the issue has been dormant since June, so it is unlikely to progress by asking again. A clean Debian/Ubuntu VM with a constrained RAM allocation is exactly the environment that would settle it: the leading hypothesis is an OOM kill during the Rust build, which a VM can confirm or eliminate in one run. That alone may justify this task.
  • #4719 — worth checking whether the PTT port popup reproduces on both distros or only one, since the capture path differs by audio stack.

Worth adding a step 0: sweep the backlog for unlabelled Linux reports and apply os:linux, so the scope this issue measures is real.

2. Snapshot before and after install. The task already specifies a clean-OS snapshot; a second snapshot immediately post-install is what makes "reproduce each open issue" cheap, since every attempt can reset to a known-good installed state rather than reinstalling. Minor, but it is the difference between this being reusable infrastructure and a one-off exercise.

On value

The underlying rationale holds — Linux-specific failures are hard to triage without a controlled environment, and the two VMs would be reusable well past this issue. But as scoped ("go through open Linux-tagged issues") the payoff today is one issue, which probably explains why it has sat since 2026-07-14 at P1 with no activity.

Re-scoping it around #3871 specifically would give it a concrete, checkable outcome — "determine why Docker install stalls on a low-RAM VPS" — and produce the VM infrastructure as a side effect. That is a more likely candidate for someone to pick up than an open-ended QA sweep.

Leaving open.

YellowSnnowmann avatar Sep 11 '26 09:09 YellowSnnowmann

Triage: needs opinion — “Linux QA: set up Debian and Ubuntu VMs in VirtualBox, install OpenHuman, reproduce and debug Linux-specific issues” needs a maintainer decision on product scope/priority or fresh reproduction evidence before its status can be settled. Please advise whether to pursue, narrow, or close it.

senamakel avatar Oct 09 '26 17:10 senamakel

Thanks for this. It's a QA setup task rather than a code change, so it needs a maintainer to decide whether to staff it.

For scale: few Linux-specific issues are open now (#4719 voice input and #5443 the Debian .deb report; #4247 is a feature request), and part of #4719 went away when desktop push-to-talk was retired in #8116. If we do set up the VMs, those are the ones to try first.

Maintainers: pursue, or close in favour of handling those issues directly?

M3gA-Mind avatar Nov 16 '26 16:11 M3gA-Mind