Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

debug: add KVM diagnostics to CI to root-cause instrumented-smoke emulator startup failure

Durganshu Mishrad39b0d575dd7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5410960..032485c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -63,6 +63,24 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
+ # Temporary: the first real run failed with "Unable to start Android emulator
+ # ... Error message from emulator process = []" (empty — the process died before
+ # producing any output). That's almost always missing /dev/kvm access, but the
+ # workflow already follows the standard documented recipe for granting it, so
+ # this prints hard evidence instead of guessing at another blind fix.
+ - name: KVM diagnostics
+ run: |
+ echo "--- /dev/kvm ---"
+ ls -la /dev/kvm || echo "MISSING /dev/kvm"
+ echo "--- current user groups ---"
+ groups
+ echo "--- CPU virtualization flags (vmx/svm) ---"
+ grep -Em1 'vmx|svm' /proc/cpuinfo || echo "NO vmx/svm flag present in /proc/cpuinfo"
+ echo "--- disk space ---"
+ df -h /
+ echo "--- memory ---"
+ free -h
+
- uses: actions/setup-java@v4
with:
distribution: temurin
@@ -99,6 +117,24 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
+ # Temporary: the first real run failed with "Unable to start Android emulator
+ # ... Error message from emulator process = []" (empty — the process died before
+ # producing any output). That's almost always missing /dev/kvm access, but the
+ # workflow already follows the standard documented recipe for granting it, so
+ # this prints hard evidence instead of guessing at another blind fix.
+ - name: KVM diagnostics
+ run: |
+ echo "--- /dev/kvm ---"
+ ls -la /dev/kvm || echo "MISSING /dev/kvm"
+ echo "--- current user groups ---"
+ groups
+ echo "--- CPU virtualization flags (vmx/svm) ---"
+ grep -Em1 'vmx|svm' /proc/cpuinfo || echo "NO vmx/svm flag present in /proc/cpuinfo"
+ echo "--- disk space ---"
+ df -h /
+ echo "--- memory ---"
+ free -h
+
- uses: actions/setup-java@v4
with:
distribution: temurin