From: Zack Cerza Date: Fri, 14 Jul 2023 18:01:35 +0000 (-0600) Subject: TestFailureAnalyzer: Add tests for dropped items X-Git-Tag: 1.2.0~90^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4d5f75b7f28a873e175000d275286b99775fe8dd;p=teuthology.git TestFailureAnalyzer: Add tests for dropped items Signed-off-by: Zack Cerza --- 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:"