=== 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-11T16:04:17.380791+00:00Z ===

2026-08-11 16:04:17,437 - INFO - Pushing ape.jar to device…
/android/testing_service/app_testing_tools/tools/ape-bin/ape.jar: 1 file pushed, 0 skipped. 63.8 MB/s (198739 bytes in 0.003s)
2026-08-11 16:04:17,449 - 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-11 16:04:17,481 - INFO - Ape binaries deployed to device.
2026-08-11 16:04:17,486 - 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-11 16:04:17,655 - 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-11 16:04:17,655 - WARNING - Proceeding to run Ape even though package com.google.android.apps.restore may not be in foreground
2026-08-11 16:04:17,661 - 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-11 16:04:17,755 - INFO - Foreground changed to com.google.android.apps.nexuslauncher; bringing com.google.android.apps.restore back to foreground
2026-08-11 16:04:17,762 - 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-11 16:04:17,834 - 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-11 16:04:17,933 - 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-11 16:04:18,032 - 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-11 16:04:18,207 - 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-11 16:04:18,305 - 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-11 16:04:18,475 - 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-11 16:04:18,606 - INFO - Package com.google.android.apps.restore does not appear to be running (pidof returned 1). Attempting to start.
2026-08-11 16:04:18,613 - 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-11 16:04:18,778 - 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-11 16:04:18,877 - 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-11 16:04:19,043 - 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-11 16:04:19,143 - 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-11 16:04:19,311 - 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-11 16:04:19,426 - INFO - Wrote tool summary to /android/testing_service/app_testing_tools/out/ape_summary.json (total runs: 266)
