From 4d5f75b7f28a873e175000d275286b99775fe8dd Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 14 Jul 2023 12:01:35 -0600 Subject: [PATCH] TestFailureAnalyzer: Add tests for dropped items Signed-off-by: Zack Cerza --- teuthology/test/task/test_ansible.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/teuthology/test/task/test_ansible.py b/teuthology/test/task/test_ansible.py index a4a086700e..9f378b4804 100644 --- a/teuthology/test/task/test_ansible.py +++ b/teuthology/test/task/test_ansible.py @@ -26,6 +26,14 @@ class TestFailureAnalyzer: @mark.parametrize( 'line,result', [ + [ + "W: --force-yes is deprecated, use one of the options starting with --allow instead.", + "", + ], + [ + "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?", + "", + ], [ "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-bin_2.4.41-4ubuntu3.14_amd64.deb Unable to connect to archive.ubuntu.com:http:", "Unable to connect to archive.ubuntu.com:http:" -- 2.39.5