From b08fe8017ea2e8ca21cdd687e73c7c9974f98308 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Wed, 2 Apr 2025 11:31:04 +0200 Subject: [PATCH] azure pipeline: skip step disabling conflicting apparmor profile aa-disable /etc/apparmor.d/usr.sbin.chronyd fails on Ubuntu 24.04 https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2079019 Skip the step for now Fix the top command (replace n 1 with -n 1) Signed-off-by: Florence Blanc-Renaud Reviewed-By: Rafael Guterres Jeffman --- ipatests/azure/templates/test-jobs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipatests/azure/templates/test-jobs.yml b/ipatests/azure/templates/test-jobs.yml index dba527474..1df009899 100644 --- a/ipatests/azure/templates/test-jobs.yml +++ b/ipatests/azure/templates/test-jobs.yml @@ -41,7 +41,7 @@ steps: printf "AppArmor status\n" sudo aa-status printf "Disable AppArmor conflicting profiles\n" - sudo aa-disable /etc/apparmor.d/usr.sbin.chronyd + sudo aa-disable /etc/apparmor.d/usr.sbin.chronyd ||: printf "Recheck AppArmor status\n" sudo aa-status displayName: Disable AppArmor conflicting profiles on Host @@ -74,7 +74,7 @@ steps: - script: | set -eu - sudo top -b -o +%MEM n 1 + sudo top -b -o +%MEM -n 1 displayName: Show Host's top - script: |