Skip to content

Commit 946edde

Browse files
author
narrieta@microsoft
committed
Suppress GuestConfiguration.ConfigurationforLinux message about non-supported OS
1 parent d536497 commit 946edde

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests_e2e/tests/lib/agent_log.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,19 @@ def get_errors(self) -> List[AgentLogRecord]:
378378
{
379379
'message': r"(?s)name=Microsoft.GuestConfiguration.ConfigurationforLinux.*op=Install.*Non-zero exit code: 126.*Exec format error",
380380
},
381+
#
382+
# 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
383+
# [stdout]
384+
# Linux distribution version is 4081.2.1.
385+
#
386+
#
387+
# [stderr]
388+
# [2024-12-26T06:35:22+0000]: Unexpected Linux distribution. Expected Linux distributions include only Ubuntu, Red Hat, SUSE, CentOS, Debian or Mariner.
389+
# , duration=0
390+
#
391+
{
392+
'message': r"(?s)name=Microsoft.GuestConfiguration.ConfigurationforLinux.*op=Install.*Unexpected Linux distribution",
393+
},
381394
]
382395

383396
def is_error(r: AgentLogRecord) -> bool:

0 commit comments

Comments
 (0)