Skip to content

Commit

Permalink
modify cloud-init error pattern (#3320)
Browse files Browse the repository at this point in the history
* modify cloud-init error pattern

* modify cloud-init error pattern

* modify cloud-init error pattern

* modify cloud-init error pattern
  • Loading branch information
rmhsawyer authored Jun 19, 2024
1 parent 0e37ed0 commit c97b143
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions microsoft/testsuites/core/azure_image_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ class AzureImageStandard(TestSuite):
# [WARNING]: Running ['tdnf', '-y', 'upgrade'] resulted in stderr output.
# cloud-init[958]: photon.py[ERROR]: Error while installing packages
_ERROR_WARNING_pattern: List[Pattern[str]] = [
re.compile(r"^(.*\[ERROR\]*)$", re.MULTILINE),
re.compile(r"^(.*ERROR:*)$", re.MULTILINE),
re.compile(r"^(.*\[WARNING\]*)$", re.MULTILINE),
re.compile(r"^(.*WARNING:*)$", re.MULTILINE),
re.compile(r"^(.*\[ERROR\]:.*)", re.MULTILINE),
re.compile(r"^(.*\[WARNING\]:.*)", re.MULTILINE),
]

# ignorable failure, error, warnings pattern which got confirmed
Expand Down

0 comments on commit c97b143

Please sign in to comment.