Skip to content

Commit

Permalink
Suppress GuestConfiguration.ConfigurationforLinux message about non-s…
Browse files Browse the repository at this point in the history
…upported OS (#3281)

Co-authored-by: narrieta@microsoft <narrieta>
  • Loading branch information
narrieta authored Dec 26, 2024
1 parent d536497 commit d1b647c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests_e2e/tests/lib/agent_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,19 @@ def get_errors(self) -> List[AgentLogRecord]:
{
'message': r"(?s)name=Microsoft.GuestConfiguration.ConfigurationforLinux.*op=Install.*Non-zero exit code: 126.*Exec format error",
},
#
# 2024-12-26T06:35:24.233438Z ERROR ExtHandler ExtHandler Event: name=Microsoft.GuestConfiguration.ConfigurationforLinux, op=Install, message=[ExtensionOperationError] Non-zero exit code: 51, /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.79/bin/guest-configuration-shim install
# [stdout]
# Linux distribution version is 4081.2.1.
#
#
# [stderr]
# [2024-12-26T06:35:22+0000]: Unexpected Linux distribution. Expected Linux distributions include only Ubuntu, Red Hat, SUSE, CentOS, Debian or Mariner.
# , duration=0
#
{
'message': r"(?s)name=Microsoft.GuestConfiguration.ConfigurationforLinux.*op=Install.*Unexpected Linux distribution",
},
]

def is_error(r: AgentLogRecord) -> bool:
Expand Down

0 comments on commit d1b647c

Please sign in to comment.