Skip to content

Commit f115a47

Browse files
authored
Restore cuttlefish fuzzing by ensuring platform initialization runs (#4956)
Due to skipped call to `update_task.run()` when the update task was not enabled. The `run_platform_init_scripts()` function, which is critical for booting up the Cuttlefish AVD device, was being bypassed. This resulted in fuzzing drops due to the device failing to start. Following change ensures run_platform_init_scripts()' is called even if update task in not enabled
1 parent 8b31e7e commit f115a47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/python/bot/startup/run_bot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ def task_loop():
124124
# so that utasks can't be updated on subsequent attempts.
125125
update_task.run()
126126
update_task.track_revision()
127+
else:
128+
logs.info("Update task not enabled. Running platform init scripts.")
129+
update_task.run_platform_init_scripts()
130+
127131
if environment.is_uworker():
128132
# Batch/Swarming tasks only run one at a time.
129133
sys.exit(utasks.uworker_bot_main())

0 commit comments

Comments
 (0)