=== Command: /android/testing_service/app_testing_tools/tools/venv/bin/python3 /android/testing_service/app_testing_tools/run_ape.py -p com.google.android.apps.restore ===
=== Started: 2026-08-13T21:48:15.456125+00:00Z ===

2026-08-13 21:48:15,515 - INFO - Pushing ape.jar to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape.jar: 1 file pushed, 0 skipped. 66.2 MB/s (198739 bytes in 0.003s)
2026-08-13 21:48:15,527 - INFO - Pushing ape shell script to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape: 1 file pushed, 0 skipped. 0.2 MB/s (214 bytes in 0.001s)
2026-08-13 21:48:15,555 - INFO - Ape binaries deployed to device.
2026-08-13 21:48:15,561 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:15,728 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:15,728 - WARNING - Proceeding to run Ape even though package com.google.android.apps.restore may not be in foreground
2026-08-13 21:48:15,734 - INFO - Running Ape on package: com.google.android.apps.restore (strategy=sata, minutes=1). CMD: ['adb', '-s', 'emulator-5556', 'shell', 'CLASSPATH=/data/local/tmp/ape.jar', '/system/bin/app_process', '/data/local/tmp/', 'com.android.commands.monkey.Monkey', '-p', 'com.google.android.apps.restore', '--running-minutes', '1', '--ape', 'sata', '--ignore-crashes', '--ignore-timeouts', '--ignore-security-exceptions', '-s', '12345']
2026-08-13 21:48:15,824 - INFO - Foreground changed to com.google.android.apps.nexuslauncher; bringing com.google.android.apps.restore back to foreground
2026-08-13 21:48:15,831 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
2026-08-13 21:48:15,904 - INFO - [APE] ** No activities found to run, monkey aborted.
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:16,002 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:16,094 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:16,258 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:16,348 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:16,517 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:16,623 - INFO - Package com.google.android.apps.restore does not appear to be running (pidof returned 1). Attempting to start.
2026-08-13 21:48:16,630 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:16,799 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:16,885 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:17,055 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:17,142 - INFO - Starting package com.google.android.apps.restore on device (bringing to foreground)...
  bash arg: -p
  bash arg: com.google.android.apps.restore
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.google.android.apps.restore, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.google.android.apps.restore"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.google.android.apps.restore"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
2026-08-13 21:48:17,310 - WARNING - Failed to start package com.google.android.apps.restore via monkey: Command '['adb', '-s', 'emulator-5556', 'shell', 'monkey', '-p', 'com.google.android.apps.restore', '-c', 'android.intent.category.LAUNCHER', '1']' returned non-zero exit status 252.
2026-08-13 21:48:17,415 - INFO - Wrote tool summary to /android/testing_service/app_testing_tools/out/ape_summary.json (total runs: 263)
