From 7cfe3d61e62926141a82d73ee9192b80c056d5b2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 26 Mar 2024 15:07:27 -0700 Subject: [PATCH] openqa/worker: block ffmpeg-free on aarch64 Encoding with ffmpeg rather than os-autoinst's built-in encoder gives us less broken videos, but on aarch64 it seems to cause problems, especially on stg's old, busted worker hosts - I think it's more CPU-intensive and they just can't handle the load. So, let's block it. Signed-off-by: Adam Williamson --- roles/openqa/worker/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/openqa/worker/tasks/main.yml b/roles/openqa/worker/tasks/main.yml index b94f5a6399..1dc8c4b030 100644 --- a/roles/openqa/worker/tasks/main.yml +++ b/roles/openqa/worker/tasks/main.yml @@ -117,6 +117,17 @@ - packages when: "ansible_architecture is defined and ansible_architecture == 'aarch64'" +# Encoding with ffmpeg gives us better videos, but it seems like it +# doesn't work well on aarch64, it overwhelms the CPU and makes tests +# often fail +- name: Block ffmpeg-free in dnf config (aarch64 only) + ini_file: + path: /etc/dnf/dnf.conf + section: main + option: excludepkgs + value: ffmpeg-free + when: "ansible_architecture is defined and ansible_architecture == 'aarch64'" + - name: Install rng-tools (if specified by openqa_rngd var) package: name=rng-tools state=present tags: