Thanks, Milosz. Adding the "-v" flag to the uuu command line resolved the bottleneck and timeout issues by enabling verbose output.
Pavan,
On Tue, Apr 14, 2026 at 11:09 AM pawanKumar <pawan4749@gmail.com> wrote:
>
> Dear LAVA Community,
> I am reaching out to report a regression (or significant change in behavior) regarding how the LAVA dispatcher handles high-frequency terminal output and escape sequences during flashing operations.
> Background:
> After upgrading from LAVA 2022.06 to a recent version LAVA 2026.02 , our flashing jobs—which utilize mfgtoolcli (NXP) to write images to i.MX6/8 devices—have begun failing consistently with a deploy-flasher timeout.
> The Issue:
> The flashing tool outputs a high-frequency progress bar using carriage returns (\r) and ANSI escape codes (e.g., \e[1F, \e[2K).
>
> Log Bloat: In the older version, these were handled gracefully. In the current version, every escape sequence is captured as a new log entry, resulting in logs exceeding 5MB for a single flash.
> Dispatcher Lag: The dispatcher appears to bottleneck while processing this flood of data. This "processing lag" causes the internal action timer to hit the default 500s limit, even if the physical flashing process succeeds locally on the worker.
> Timeout Overrides: We’ve observed that deploy-flasher often ignores the timeout values specified in the Job YAML, defaulting to 500 seconds unless explicitly overridden in the Device Dictionary.
>
> Error Examples:
>
Did you try adding "-v" to the uuu cmdline? This removes the progress
bar. In theory it's "more verbose", but it works better with LAVA
logging.
Here's my example with imx8mm:
https://lava.infra.foundries.io/scheduler/job/136833#L486
Best Regards,
Milosz