=== 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-12T07:18:18.417576+00:00Z ===

2026-08-12 07:18:18,479 - INFO - Pushing ape.jar to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape.jar: 1 file pushed, 0 skipped. 38.9 MB/s (198739 bytes in 0.005s)
2026-08-12 07:18:18,493 - INFO - Pushing ape shell script to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape: 1 file pushed, 0 skipped. 0.1 MB/s (214 bytes in 0.003s)
2026-08-12 07:18:18,526 - INFO - Ape binaries deployed to device.
2026-08-12 07:18:18,533 - 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-12 07:18:18,716 - 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-12 07:18:18,716 - WARNING - Proceeding to run Ape even though package com.google.android.apps.restore may not be in foreground
2026-08-12 07:18:18,722 - 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-12 07:18:18,817 - INFO - Foreground changed to com.google.android.apps.nexuslauncher; bringing com.google.android.apps.restore back to foreground
2026-08-12 07:18:18,824 - 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-12 07:18:18,913 - 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-12 07:18:19,015 - 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-12 07:18:19,117 - 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-12 07:18:19,304 - 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-12 07:18:19,396 - 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-12 07:18:19,586 - 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-12 07:18:19,712 - INFO - Package com.google.android.apps.restore does not appear to be running (pidof returned 1). Attempting to start.
2026-08-12 07:18:19,718 - 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-12 07:18:19,909 - 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-12 07:18:20,003 - 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-12 07:18:20,196 - 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-12 07:18:20,290 - 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-12 07:18:20,481 - 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-12 07:18:20,593 - INFO - Wrote tool summary to /android/testing_service/app_testing_tools/out/ape_summary.json (total runs: 263)
