Skip to content

Commit 392c41d

Browse files
committed
ci: Ignore WALinuxAgent processes in Azure Piplines CI runner
1 parent 0af2ce8 commit 392c41d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.ci/ci_lib.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ def proc_is_docker(pid):
300300

301301

302302
def get_interesting_procs(container_name=None):
303+
"""
304+
Return a list of (pid, line) tuples for processes considered interesting.
305+
"""
303306
args = ['ps', 'ax', '-oppid=', '-opid=', '-ocomm=', '-ocommand=']
304307
if container_name is not None:
305308
args = ['docker', 'exec', container_name] + args
@@ -312,6 +315,9 @@ def get_interesting_procs(container_name=None):
312315
any(comm.startswith(s) for s in INTERESTING_COMMS) or
313316
'mitogen:' in rest
314317
) and
318+
(
319+
'WALinuxAgent' not in rest
320+
) and
315321
(
316322
container_name is not None or
317323
(not proc_is_docker(pid))

0 commit comments

Comments
 (0)