=== 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:49:45.447514+00:00Z ===

2026-08-13 21:49:45,513 - INFO - Pushing ape.jar to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape.jar: 1 file pushed, 0 skipped. 80.5 MB/s (198739 bytes in 0.002s)
2026-08-13 21:49:45,523 - 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.002s)
2026-08-13 21:49:45,550 - INFO - Ape binaries deployed to device.
2026-08-13 21:49:45,557 - 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:49:45,729 - 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:49:45,729 - WARNING - Proceeding to run Ape even though package com.google.android.apps.restore may not be in foreground
2026-08-13 21:49:45,736 - 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:49:45,824 - INFO - Foreground changed to com.google.android.apps.nexuslauncher; bringing com.google.android.apps.restore back to foreground
2026-08-13 21:49:45,830 - 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:49:45,914 - 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:49:46,006 - 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:49:46,096 - 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:49:46,265 - 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:49:46,359 - 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:49:46,528 - 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:49:46,646 - INFO - Package com.google.android.apps.restore does not appear to be running (pidof returned 1). Attempting to start.
2026-08-13 21:49:46,652 - 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:49:46,818 - 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:49:46,907 - 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:49:47,074 - 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:49:47,164 - 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:49:47,336 - 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:49:47,438 - INFO - Wrote tool summary to /android/testing_service/app_testing_tools/out/ape_summary.json (total runs: 268)
