Skip to content

[🐛 Bug ]: Exit code: 1 - Unexpected #569

@didotb

Description

@didotb

Operating System

Baremetal Debian 13 (Trixie)

Docker Image

budtmo/docker-android:emulator_11.0, budtmo/docker-android:emulator_12.0, budtmo/docker-android:emulator_13.0, budtmo/docker-android:emulator_14.0

Expected behaviour

android system is accessible from the noVNC web app.

Actual behaviour

after docker compose up -d && docker compose logs -f

  • supervisord starts
  • 8 services spawned (appium, device, log_web_shared, android_port_forward, d_screen, d_wm, vnc_server, vnc_web)
  • all 8 runs
  • appium, and log_web_shared exits with status code 0: Expected
  • vnc_web stays running with no status: accessible from the web page, but fails to connect to vnc_server.
  • everything else exits with status 1: Not expected

Troubleshooting:

  • kvm-ok

    INFO: /dev/kvm exists
    KVM acceleration can be used

    (Expectedly so since this baremetal host is also my PVE host, and all my LXC and Docker containers, and VMs are working perfectly fine.)

  • tried different specific release versions per android api level, to no avail.

  • tried different devices as well together with what I did above, still to no avail.

What I've thought but not tried, and why:

  • Downgrade Docker version: I can't downgrade since my other docker services are all tuned for the latest version already, and downgrading means some production apps under docker will stop working.
  • Saw some similar issues, but the only solution was in an update from years ago, and all of them were using Ubuntu, which in this case I can't
  • Use an Ubuntu VM under PVE: I don't really want to do this yet as I'm currently lacking enough disk space for another VM
  • Use an Ubuntu unprivileged LXC under PVE: I can do this and would be lighter storage-wise, but would want to get your opinion first if you'd even recommend such solution.

Logs

android-container  | 2026-02-04 05:15:48,470 INFO supervisord started with pid 10
android-container  | 2026-02-04 05:15:48,574 INFO supervisord started with pid 9
android-container  | 2026-02-04 05:15:48,576 INFO supervisord started with pid 8
android-container  | 2026-02-04 05:15:49,490 INFO spawned: 'appium' with pid 11
android-container  | 2026-02-04 05:15:49,491 INFO spawned: 'device' with pid 12
android-container  | 2026-02-04 05:15:49,493 INFO spawned: 'log_web_shared' with pid 13
android-container  | 2026-02-04 05:15:49,576 INFO spawned: 'android_port_forward' with pid 14
android-container  | 2026-02-04 05:15:49,577 INFO spawned: 'd_screen' with pid 15
android-container  | 2026-02-04 05:15:49,579 INFO spawned: 'd_wm' with pid 16
android-container  | 2026-02-04 05:15:49,580 INFO spawned: 'vnc_server' with pid 17
android-container  | 2026-02-04 05:15:49,582 INFO spawned: 'vnc_web' with pid 18
android-container  | 2026-02-04 05:15:50,494 INFO success: appium entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,494 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,494 INFO success: log_web_shared entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,577 INFO success: android_port_forward entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,584 INFO success: d_screen entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,584 INFO success: d_wm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,584 INFO success: vnc_server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:50,584 INFO success: vnc_web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
android-container  | 2026-02-04 05:15:52,429 INFO exited: appium (exit status 0; expected)
android-container  | 2026-02-04 05:15:52,429 INFO exited: log_web_shared (exit status 0; expected)
android-container  | 2026-02-04 05:15:52,430 INFO spawned: 'log_web_shared' with pid 28
android-container  | 2026-02-04 05:15:52,888 WARN exited: log_web_shared (exit status 0; not expected)
android-container  | 2026-02-04 05:15:53,115 WARN exited: android_port_forward (exit status 1; not expected)
android-container  | 2026-02-04 05:15:53,889 INFO spawned: 'log_web_shared' with pid 43
android-container  | 2026-02-04 05:15:53,943 WARN exited: d_screen (exit status 1; not expected)
android-container  | 2026-02-04 05:15:53,958 INFO spawned: 'd_screen' with pid 44
android-container  | 2026-02-04 05:15:53,958 WARN exited: vnc_server (exit status 1; not expected)
android-container  | 2026-02-04 05:15:53,967 INFO spawned: 'vnc_server' with pid 45
android-container  | 2026-02-04 05:15:54,076 WARN exited: log_web_shared (exit status 0; not expected)
android-container  | 2026-02-04 05:15:54,117 INFO spawned: 'android_port_forward' with pid 46
android-container  | 2026-02-04 05:15:54,160 WARN exited: vnc_server (exit status 1; not expected)
android-container  | 2026-02-04 05:15:54,166 WARN exited: d_screen (exit status 1; not expected)
android-container  | 2026-02-04 05:15:54,278 WARN exited: android_port_forward (exit status 1; not expected)
android-container  | 2026-02-04 05:15:55,280 INFO spawned: 'android_port_forward' with pid 97
android-container  | 2026-02-04 05:15:55,422 WARN exited: android_port_forward (exit status 1; not expected)
android-container  | 2026-02-04 05:15:55,881 INFO spawned: 'd_screen' with pid 110
android-container  | 2026-02-04 05:15:55,882 INFO spawned: 'vnc_server' with pid 111
android-container  | 2026-02-04 05:15:56,054 WARN exited: d_screen (exit status 1; not expected)
android-container  | 2026-02-04 05:15:56,057 WARN exited: vnc_server (exit status 1; not expected)
android-container  | 2026-02-04 05:15:56,578 INFO spawned: 'log_web_shared' with pid 146
android-container  | 2026-02-04 05:15:56,590 WARN exited: d_wm (exit status 1; not expected)
android-container  | 2026-02-04 05:15:56,715 WARN exited: log_web_shared (exit status 0; not expected)
android-container  | 2026-02-04 05:15:57,426 INFO spawned: 'android_port_forward' with pid 147
android-container  | 2026-02-04 05:15:57,569 WARN exited: android_port_forward (exit status 1; not expected)
android-container  | 2026-02-04 05:15:57,592 INFO spawned: 'd_wm' with pid 151
android-container  | 2026-02-04 05:15:57,748 WARN exited: d_wm (exit status 1; not expected)
android-container  | 2026-02-04 05:15:58,749 INFO spawned: 'd_screen' with pid 154
android-container  | 2026-02-04 05:15:58,751 INFO spawned: 'd_wm' with pid 155
android-container  | 2026-02-04 05:15:58,752 INFO spawned: 'vnc_server' with pid 156
android-container  | 2026-02-04 05:15:58,964 WARN exited: d_screen (exit status 1; not expected)
android-container  | 2026-02-04 05:15:58,964 WARN exited: vnc_server (exit status 1; not expected)
android-container  | 2026-02-04 05:15:58,967 WARN exited: d_wm (exit status 1; not expected)
android-container  | 2026-02-04 05:16:00,572 INFO spawned: 'android_port_forward' with pid 163
android-container  | 2026-02-04 05:16:00,606 INFO spawned: 'log_web_shared' with pid 164
android-container  | 2026-02-04 05:16:00,754 WARN exited: android_port_forward (exit status 1; not expected)
android-container  | 2026-02-04 05:16:00,778 WARN exited: log_web_shared (exit status 0; not expected)
android-container  | 2026-02-04 05:16:00,842 INFO gave up: log_web_shared entered FATAL state, too many start retries too quickly
android-container  | 2026-02-04 05:16:00,970 INFO spawned: 'd_wm' with pid 168
android-container  | 2026-02-04 05:16:01,200 WARN exited: d_wm (exit status 1; not expected)
android-container  | 2026-02-04 05:16:01,755 INFO gave up: android_port_forward entered FATAL state, too many start retries too quickly
android-container  | 2026-02-04 05:16:02,203 INFO spawned: 'd_screen' with pid 191
android-container  | 2026-02-04 05:16:02,205 INFO spawned: 'vnc_server' with pid 192
android-container  | 2026-02-04 05:16:02,436 WARN exited: d_screen (exit status 1; not expected)
android-container  | 2026-02-04 05:16:02,438 INFO gave up: d_screen entered FATAL state, too many start retries too quickly
android-container  | 2026-02-04 05:16:02,438 WARN exited: vnc_server (exit status 1; not expected)
android-container  | 2026-02-04 05:16:03,438 INFO gave up: vnc_server entered FATAL state, too many start retries too quickly
android-container  | 2026-02-04 05:16:04,440 INFO spawned: 'd_wm' with pid 203
android-container  | 2026-02-04 05:16:04,590 WARN exited: d_wm (exit status 1; not expected)
android-container  | 2026-02-04 05:16:05,592 INFO gave up: d_wm entered FATAL state, too many start retries too quickly
android-container  | 2026-02-04 05:18:02,190 WARN exited: device (exit status 1; not expected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions